LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Trouble making/inserting custom kernel module (https://www.linuxquestions.org/questions/linux-kernel-70/trouble-making-inserting-custom-kernel-module-814643/)

melodyincognito 06-17-2010 01:48 AM

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

melodyincognito 06-17-2010 01:50 AM

and I am using kernel 2.6...

melodyincognito 06-18-2010 01:55 AM

anyone ?
 
any idea anyone ? ?

bsat 06-18-2010 06:43 AM

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 .


All times are GMT -5. The time now is 12:21 AM.