Re: 2.5.52 compile error

eric lin (fsshl@centurytel.net)
Wed, 18 Dec 2002 00:46:43 -0700


>
> Just remove io_daemon.o from the fs/intermezzo/Makefile .
>
Thanks your point out, it pass this problem at compile time, then it
still terminate by another error

gcc -Wp,-MD,drivers/block/.ps2esdi.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686 -Iarch/i386/mach-generic
-fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE
-DKBUILD_BASENAME=ps2esdi -DKBUILD_MODNAME=ps2esdi -c -o
drivers/block/ps2esdi.o drivers/block/ps2esdi.c
drivers/block/ps2esdi.c:185: redefinition of `__initfn'
drivers/block/ps2esdi.c:171: `__initfn' previously defined here
drivers/block/ps2esdi.c: In function `__initfn':
drivers/block/ps2esdi.c:189: warning: initialization from incompatible
pointer type
drivers/block/ps2esdi.c:192: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:192: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:193: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:196: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:197: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:199: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c: In function `__exitfn':
drivers/block/ps2esdi.c:207: warning: implicit declaration of function
`mca_mark_as_unused'
drivers/block/ps2esdi.c:215: `i' undeclared (first use in this function)
drivers/block/ps2esdi.c:215: (Each undeclared identifier is reported
only once
drivers/block/ps2esdi.c:215: for each function it appears in.)
drivers/block/ps2esdi.c: In function `ps2esdi_geninit':
drivers/block/ps2esdi.c:298: warning: implicit declaration of function
`mca_find_adapter'
drivers/block/ps2esdi.c:298: `MCA_NOTFOUND' undeclared (first use in
this function)
drivers/block/ps2esdi.c:309: warning: implicit declaration of function
`mca_set_adapter_name'
drivers/block/ps2esdi.c:315: warning: implicit declaration of function
`mca_mark_as_used'
drivers/block/ps2esdi.c:316: warning: passing arg 2 of
`mca_set_adapter_procfn' from incompatible pointer type
drivers/block/ps2esdi.c:333: warning: implicit declaration of function
`mca_read_stored_pos'
drivers/block/ps2esdi.c: In function `do_ps2esdi_request':
drivers/block/ps2esdi.c:508: warning: long long unsigned int format,
different type arg (arg 3)
{standard input}: Assembler messages:
{standard input}:216: Error: symbol `__initfn' is already defined
make[2]: *** [drivers/block/ps2esdi.o] Error 1
make[1]: *** [drivers/block] Error 2
make: *** [drivers] Error 2

highly appreciate any advancer's advice

-- 
Sincere Eric
www.linuxspice.com
linux pc for sale

- 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/