Linux kernel module programming error

Status
Not open for further replies.

Techietone

Junior Member level 3
Joined
Sep 8, 2005
Messages
29
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,477
Hi guys!
I'm trying out simple Linux kernel module programming (on kernel 2.4.18-14)
on using " insmod " I'm getting following error:
"printk unresolved symbol"

Is this error bcoz of faulty version configurations? Plz suggest me solution to this problem.
 

printk is a kernel function and should be resolved after you do insmod. Can you post the way you build the module?
 

Yes it look like a problem in the build
 

check the kernel version you have build the module for,You need to compile the driver for 2.4.18 kernel.
You can not use a
driver which is compiled against a particular kernel version with
another different kernel.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…