I'm having trouble getting the Linux kernel module to compile correctly.
No errors or warnings are shown during the compilation, but when I try to
install the module 'freemware.o', I get the following messages:
retribution:/home/jules/work/moscow/freemware/kernel# insmod freemware.o
__mon_cs undefined
__nexus_start undefined
__nexus_end undefined
Loading failed! The module symbols (from linux-2.0.34) don't match your
linux-2.
0.34
If I look at the contents of the module with 'nm', these three symbols are
all defined in it, but each is followed immediately by a second line, eg:
00002314 t __mon_cs
U __mon_cs
This is true of no other symbols in the module. I am compiling a CVS version
downloaded at approx 11 this morning (GMT). I experienced similar problems
with the 19991212 version downloaded from the web page a few days ago, but
in this case more symbols were undefined.
I am using GNU ld 2.8.2, GCC 2.7.2, as 980303.
Any ideas?