LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to generate *.ko for 2.6 kernel (https://www.linuxquestions.org/questions/linux-software-2/how-to-generate-%2A-ko-for-2-6-kernel-596515/)

kiran@ccpu 11-02-2007 12:06 AM

How to generate *.ko for 2.6 kernel
 
Hai

I am able to generate *.o as a final file ,but in 2.6 kernel it is not supported and my source id spanned across different file and my makefile name is vo.mak and what i need to do that it will give me *.ko
as final output.If anybody is having the knowledge please let me know.

SeRGeiSarov 11-02-2007 08:27 AM

Useful link http://i.cs.hku.hk/~chyu/linux/modules.html

kiran@ccpu 11-04-2007 11:34 PM

Thanks that link was useful to us,but when i create *.ko and tried to insert it is giving error as invalid symbol what might be the problem.

jiml8 11-05-2007 08:35 AM

programming error
mismatched library version
compiled module on different version of kernel

kiran@ccpu 11-05-2007 11:19 PM

Warning I am getting when compiled
 
These are all the warnings i got during compilation.what might be the problem

*** Warning: "__muldf3" [/root/test/vo_acc.ko] undefined!
*** Warning: "__divdf3" [/root/test/vo_acc.ko] undefined!
*** Warning: "__adddf3" [/root/test/vo_acc.ko] undefined!
*** Warning: "__fixunsdfsi" [/root/test/vo_acc.ko] undefined!
*** Warning: "__floatsidf" [/root/test/vo_acc.ko] undefined!


All times are GMT -5. The time now is 09:11 PM.