2.6.0-test2 build failed

From: gms8994@dp.cx
Date: Tue Aug 05 2003 - 11:39:34 EST


I'm attempting to build 2.6.0-test2 ona debian testing machine. Everything
compiles fine until it gets to drivers/block/ps2esdi.c, at which point it begins
complaining about "redefinition of `init_module'". I'm using make-kpkg to build
it, Version: $Revision: 1.81 $. Any help would be greatly appreciated.

The error is listed below, and my .config is attached.

drivers/block/ps2esdi.c:182: redefinition of `init_module'
drivers/block/ps2esdi.c:168: `init_module' previously defined here
drivers/block/ps2esdi.c: In function `init_module':
drivers/block/ps2esdi.c:186: warning: initialization from incompatible pointer
type
drivers/block/ps2esdi.c:189: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:189: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:190: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:193: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:194: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:196: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c: In function `cleanup_module':
drivers/block/ps2esdi.c:204: warning: implicit declaration of function
`mca_mark_as_unused'
drivers/block/ps2esdi.c:212: `i' undeclared (first use in this function)
drivers/block/ps2esdi.c:212: (Each undeclared identifier is reported only once
drivers/block/ps2esdi.c:212: for each function it appears in.)
drivers/block/ps2esdi.c: In function `ps2esdi_geninit':
drivers/block/ps2esdi.c:295: warning: implicit declaration of function
`mca_find_adapter'
drivers/block/ps2esdi.c:295: `MCA_NOTFOUND' undeclared (first use in this
function)
drivers/block/ps2esdi.c:306: warning: implicit declaration of function
`mca_set_adapter_name'
drivers/block/ps2esdi.c:312: warning: implicit declaration of function
`mca_mark_as_used'
drivers/block/ps2esdi.c:313: warning: passing arg 2 of `mca_set_adapter_procfn'
from incompatible pointer type
drivers/block/ps2esdi.c:330: warning: implicit declaration of function
`mca_read_stored_pos'
drivers/block/ps2esdi.c: In function `do_ps2esdi_request':
drivers/block/ps2esdi.c:502: warning: long long unsigned int format, different
type arg (arg 3)
{standard input}: Assembler messages:
{standard input}:278: Error: symbol `init_module' is already defined
make[3]: *** [drivers/block/ps2esdi.o] Error 1
make[2]: *** [drivers/block] Error 2
make[1]: *** [drivers] Error 2
make: *** [stamp-build] Error 2

-- 

Glen Solsberry Please note that all messages are signed by my GPG key (0xBF0C1C33). If you received a message from me that wasn't signed, it probably wasn't from me.

IRC at irc.aknarra.net:6667 #lobby http://www.dp.cx Hang in there, retirement is only thirty years away!



- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:29 EST