Perhaps it may be mentionned before, but i get the folowing errors while
make modules:
make[2]: Entering directory `/usr/src/linux-2.1.101/drivers/net/hamradio'
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 -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c -o
baycom_ser_fdx.o baycom_ser_fdx.c
baycom_ser_fdx.c:77: linux/bitops.h: No such file or directory
Changed:
baycom_ser_fdx.c:77
#include <linux/bitops.h>
to
#include <asm/bitops.h>
And baycom_ser_fdx.c compiles well.
after fixing the next error:
baycom_epp.c:49: linux/bitops.h: No such file or directory
I still get:
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 -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c -o baycom_epp.o
baycom_epp.c
baycom_epp.c: In function `transmit':
baycom_epp.c:696: warning: implicit declaration of function
`parport_epp_write_data'
baycom_epp.c: In function `receive':
baycom_epp.c:815: warning: implicit declaration of function
`parport_epp_read_data'
baycom_epp.c: In function `epp_bh':
baycom_epp.c:883: warning: implicit declaration of function
`parport_epp_read_addr'
baycom_epp.c:888: warning: implicit declaration of function
`parport_epp_write_addr'
baycom_epp.c:941: warning: implicit declaration of function
`parport_epp_check_timeout'
Not fixed this, but i get also a similar error in sm.c:
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 -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c -o sm.o sm.c
In file included from sm.c:64:
sm.h:35: linux/bitops.h: No such file or directory
changing sm.h:35:
#include <linux/bitops.h>
to
#include <asm/bitops.h>
fixes this again, but a few warnings remain.
Hoping this wil be fixed in the 2.1.106 kernel :)
Arjan Filius
Email: yozll@ens-rabat.ac.ma
--------------------------------------------------------------
Argh! All right, so how am I supposed to work with Linux when
everything's already been done?! Can't these people leave some
broken MSDOS like parts so there's problems left to solve!?....