LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-02-2007, 12:06 AM   #1
kiran@ccpu
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Rep: Reputation: 0
Question 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.
 
Old 11-02-2007, 08:27 AM   #2
SeRGeiSarov
Member
 
Registered: Jan 2007
Location: Russia, Nizhniy Novgorod Region, Sarov town
Distribution: Mandriva 2007, Fedore Core 6
Posts: 52

Rep: Reputation: 15
Useful link http://i.cs.hku.hk/~chyu/linux/modules.html
 
Old 11-04-2007, 11:34 PM   #3
kiran@ccpu
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Thumbs up

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.
 
Old 11-05-2007, 08:35 AM   #4
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
programming error
mismatched library version
compiled module on different version of kernel
 
Old 11-05-2007, 11:19 PM   #5
kiran@ccpu
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Cool 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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to generate a mouse click events from a kernel module yugandhar Linux - Kernel 1 09-13-2006 07:58 AM
how to generate .so abd_bela Programming 1 01-31-2006 04:12 AM
Generate kernel RPM andy18 Linux - General 1 07-08-2004 04:14 AM
How can I find/generate a kernel .config file? David Reid Linux - Newbie 5 08-08-2002 05:30 AM
How to set rage 128 pro to generate composite sync on kernel mode. higer Linux - Hardware 0 04-13-2002 04:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration