[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Kernel hacker mysteries



OK, here's a tough one.  

Device driver module for kernel 2.2.12 compiles and runs fine.
Zip up source, take it to 2.2.13 machine, *recompile*, 
module refuses to load with unrecognized symbol errors on 
things like "jiffies" (which bloody well better be exported
from the main kernel).  

What's going on here?  

Compile line is just

gcc -Wall -O3 -c module.c

Now, the compiler on the 2.2.13 machine is the pentium-optimized 
compiler that comes with Mandrake, but it compiled the rest of 
the kernel just fine, just not my code.  

Any more details needed?

-- Glenn