Problem compiling SMC 9194

Richard Gooch (rgooch@atnf.CSIRO.AU)
Mon, 3 Feb 1997 14:53:47 +1100


Hi, all. I got the following error while trying to compile the SMC
9194 module:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -c -o smc9194.o smc9194.c
smc9194.c:178: field `stats' has incomplete type
smc9194.c: In function `smc_initcard':
smc9194.c:1118: warning: assignment from incompatible pointer type
smc9194.c: In function `smc_query_statistics':
smc9194.c:1650: warning: control reaches end of non-void function
make[2]: *** [smc9194.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.1.15/drivers/net'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.15/drivers'
make: *** [modules] Error 2

Regards,

Richard....