2.1.20 kernel problems...

jim@jim.panax.com
Fri, 10 Jan 1997 13:10:48 +0000


Hi,

Somehow i've gotten myself in a corner with the new 2.1.20 kernel
source and can't seem to compile it. I have a couple questions:

1. What are the *.ver files in the include/modules directory? I
don't seem to have them for 2.1.20. What creates them and where to i
find them. I copied the *.ver files (reluctantly) from the 2.0.18 source and
got a bit further....but several modules are not compiling properly.

2. Also insmod 2.1.13 won't compile either. is there a patch?

Any ideas appreciated...btw snippet of kernel make below...showing
the errors coming from one of the modules...ppp.

tia,
Jim

make[3]: Entering directory `/usr/src/linux-2.1.20/drivers/net'
gcc -D__KERNEL__ -I/usr/src/linux-2.1.20/include -Wall -Wstrict-prototypes -O2 -
fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jum
ps=2 -malign-functions=2 -DCPU=586 -DMODVERSIONS -DEXPORT_SYMTAB -c ppp.c
In file included from /usr/src/linux-2.1.20/include/linux/netdevice.h:74,
from ppp.c:82:
/usr/src/linux-2.1.20/include/linux/skbuff.h:182: warning: `dev_kfree_skb' redef
ined
/usr/src/linux-2.1.20/include/linux/modules/netsyms.ver:51: warning: this is the
location of the previous definition
ppp.c: In function `ppp_init_dev':
ppp.c:390: warning: unused variable `indx'
ppp.c: At top level:
ppp.c:3357: warning: `ppp_register_compressor_Re6f00869' defined but not used
ppp.c:3384: warning: `ppp_unregister_compressor_R2bafffe3' defined but not used
gcc -D__KERNEL__ -I/usr/src/linux-2.1.20/include -Wall -Wstrict-prototypes -O2 -
fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jum
ps=2 -malign-functions=2 -DCPU=586 -DMODVERSIONS -DEXPORT_SYMTAB -c slhc.c
In file included from /usr/src/linux-2.1.20/include/linux/netdevice.h:74,
from slhc.c:68:
/usr/src/linux-2.1.20/include/linux/skbuff.h:182: warning: `dev_kfree_skb' redef
ined
/usr/src/linux-2.1.20/include/linux/modules/netsyms.ver:51: warning: this is the
location of the previous definition
rm -f net.a
ar rcs net.a ppp.o slhc.o auto_irq.o Space.o net_init.o loopback.o slip.o
make[3]: Leaving directory `/usr/src/linux-2.1.20/drivers/net'
<<SNIP>>