Folks,
I don't know if it is the right list or not (ps direct me to the right list to post the question).
I compiled some modles on 2.4. I rewrote the Makefiles to fit 2.6 Kbuild requirements.
I had to do a composite Object.
obj-m := switchMod.o
switchMod := switch1.o switch2.o
There are some statics declared in switch1.c that are being referenced in switch2.c (via extern decleartion).
When switchMod.Ko is built, it complains about undefined symbols (teh statics in switch1.o). I made the stats as globals and it fixed the problem (segmentation fault though).
So question is why did things work on 2.4 got broken in 2.6 kernel? What additional info does module writers need to take care for 2.6 kernel.
I am trying fedora Core 2.
--fred.
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!