2.5.69-mm5: sb1000.c: undefined reference to `alloc_netdev'

Adrian Bunk (bunk@fs.tum.de)
Wed, 14 May 2003 16:47:28 +0200


It seems the following compile error comes from Linus' tree:

<-- snip -->

...
gcc -Wp,-MD,drivers/net/.sb1000.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=k6 -Iinclude/asm-i386/mach-default -nostdinc
-iwithprefix include -DKBUILD_BASENAME=sb1000 -DKBUILD_MODNAME=sb1000 -c -o
drivers/net/sb1000.o drivers/net/sb1000.c
drivers/net/sb1000.c: In function `sb1000_probe_one':
drivers/net/sb1000.c:191: warning: implicit declaration of function
`alloc_netdev'
drivers/net/sb1000.c:191: warning: assignment makes pointer from integer
without a cast
drivers/net/sb1000.c:154: warning: `dev' might be used uninitialized in
this function
...
... --end-group -o .tmp_vmlinux1
drivers/built-in.o(.text+0x22e7b5): In function `sb1000_probe_one':
: undefined reference to `alloc_netdev'
...
make: *** [.tmp_vmlinux1] Error 1

<-- snip -->

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

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