2.1.16, compilation error in hdlcdrv.c

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


Trying to compile a kernel with every legal option turned on.
Compilation
errors in hdlcdrv.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 -DEXPORT_SYMTAB -c hdlcdrv.c
hdlcdrv.c: In function `hdlcdrv_transmitter_Rd6f0fdd8':
hdlcdrv.c:362: structure has no member named `bitrate'
hdlcdrv.c: In function `start_tx':
hdlcdrv.c:427: structure has no member named `bitrate'
hdlcdrv.c: In function `hdlcdrv_ioctl':
hdlcdrv.c:628: warning: passing arg 3 makes pointer from integer
without a cast
hdlcdrv.c:628: too few arguments to function
hdlcdrv.c:637: warning: passing arg 3 makes pointer from integer
without a cast
hdlcdrv.c:637: too few arguments to function
hdlcdrv.c:687: structure has no member named `bitrate'
make[2]: *** [hdlcdrv.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.1.16/drivers/net'