[Ilugc] Modules for 2.6 Kernel..

  • From: sivaramsk@xxxxxxxxxxxxx (Sivaram Kannan)
  • Date: Tue Aug 1 10:32:07 2006


Hi,

I have a problem with compiling a module for 2.6 kernel. I did a simple 
hello world module, compiled it and did an insmod, it is giving me an 
error "No Module Object found" in dmesg.
previously i have compiled and installed a separate kernel (2.6.13.2) 
for this. I compiled the module with the following options

-g -Wall -D__KERNEL__ -DMODULE -I/lib/modules/2.6.13.2/build/include -c .

i understand that this is an version dependency, but unable to find a 
way to solve it.
am i missing something in the compilation or anywhere. could someone 
help me out?

-- 

with luv & regards,
siva.
Development Engineer,
Midas Communications Technologies,
Chennai - 41.

"Any intelligent fool can make things bigger, more complex, and more violent. 
It takes a touch of genius and a lot of courage to move in the opposite 
direction"
 -- Albert Einstein

Visit My Blog at : sivaramsk.blogspot.com

Other related posts: