2.1.16, compilation error in scc.c

Keith Owens (kaos@ocs.com.au)
Sun, 22 Dec 1996 16:14:24 +1100


Trying to compile a kernel with every legal option turned on.
Compilation errors in scc.c.

gcc -D__KERNEL__ -I/usr/src/linux-2.1.16/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
-DMODULE -DMODVERSIONS -include /usr/src/linux-2.1.16/include/linux/modv
ersions.h -c -o scc.o scc.c
scc.c: In function `scc_notify':
scc.c:358: structure has no member named `free'
scc.c: In function `scc_rxint':
scc.c:563: structure has no member named `free'
scc.c: In function `scc_net_init':
scc.c:1582: warning: assignment from incompatible pointer type
scc.c: At top level:
scc.c:2021: conflicting types for `scc_net_rebuild_header'
scc.c:205: previous declaration of `scc_net_rebuild_header'
make[2]: *** [scc.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.1.16/drivers/net'
make[1]: *** [modules] Error 2