Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

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,479
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.
 

cfant

Full Member level 3
Joined
Apr 4, 2001
Messages
188
Helped
25
Reputation
50
Reaction score
6
Trophy points
1,298
Location
California, USA
Activity points
1,151
printk is a kernel function and should be resolved after you do insmod. Can you post the way you build the module?
 

mohit

Newbie level 6
Joined
Jan 9, 2006
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,373
Yes it look like a problem in the build
 

ajit_khokar

Newbie level 4
Joined
Dec 7, 2005
Messages
7
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,352
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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top