LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-17-2010, 01:48 AM   #1
melodyincognito
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Rep: Reputation: 0
Trouble making/inserting custom kernel module


Hello guys,
I have created a new kernel module, but when I do make get the following warnings:
make -C /lib/modules/2.6.25/build M=/root/salmanBackup/root/communicationTransfer/module modules
make[1]: Entering directory `/usr/src/linux-2.6.25'
Building modules, stage 2.
MODPOST 1 modules
WARNING: "__fixdfsi" [/root/salmanBackup/root/communicationTransfer/module/communi.ko] undefined!
WARNING: "__subdf3" [/root/salmanBackup/root/communicationTransfer/module/communi.ko] undefined!
WARNING: "__adddf3" [/root/salmanBackup/root/communicationTransfer/module/communi.ko] undefined!
WARNING: "__gtdf2" [/root/salmanBackup/root/communicationTransfer/module/communi.ko] undefined!
WARNING: "__divdf3" [/root/salmanBackup/root/communicationTransfer/module/communi.ko] undefined!
WARNING: "__floatsidf" [/root/salmanBackup/root/communicationTransfer/module/communi.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-2.6.25'en

and when I try to insert using insmod I get:
insmod: error inserting 'communi.ko': -1 Unknown symbol in module

Anyone any idea of whats going on here ? :S
 
Old 06-17-2010, 01:50 AM   #2
melodyincognito
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Original Poster
Rep: Reputation: 0
and I am using kernel 2.6...
 
Old 06-18-2010, 01:55 AM   #3
melodyincognito
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Original Poster
Rep: Reputation: 0
anyone ?

any idea anyone ? ?
 
Old 06-18-2010, 06:43 AM   #4
bsat
Member
 
Registered: Feb 2009
Posts: 347

Rep: Reputation: 72
please do not put the same question in multiple threads, and don't bump your question with a few minutes people will answer only when they get time to look at the question.
I am not sure what the problem is, but looks like you are missing some header file. Google for those symbols and try to figure out which file defines them and include them .
 
  


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
issues in inserting kernel module sathishkumarr Linux - Kernel 2 05-10-2007 09:57 AM
kernel panics after inserting the module. raklo Linux - Kernel 4 02-19-2007 12:01 AM
Inserting module in the kernel nitinbaldi Linux - Kernel 2 02-17-2007 10:33 PM
info on inserting a new module to existing kernel aus9 Linux - Kernel 1 09-18-2006 01:33 AM
Problem inserting a new module to kernel hetzme Programming 2 07-18-2005 06:21 AM

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

All times are GMT -5. The time now is 12:03 PM.

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