<DIV>Folks,</DIV>
<DIV>I don't know if it is the right list or not (ps direct me to the right list to post the question).</DIV>
<DIV> </DIV>
<DIV>I compiled some modles on 2.4. I rewrote the Makefiles to fit 2.6 Kbuild requirements.</DIV>
<DIV> </DIV>
<DIV>I had to do a composite Object.</DIV>
<DIV>obj-m := switchMod.o</DIV>
<DIV> </DIV>
<DIV>switchMod :=  switch1.o switch2.o</DIV>
<DIV>There are some statics declared in switch1.c that are being referenced in switch2.c (via extern decleartion).</DIV>
<DIV> </DIV>
<DIV>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).</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV>I am trying fedora Core 2.</DIV>
<DIV>--fred.</DIV>
<DIV> </DIV><p>
                <hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/10/*http://promotions.yahoo.com/new_mail/static/efficiency.html">New and Improved Yahoo! Mail</a> - Send 10MB messages!