• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 379
  • Last Modified:

Unresolved symbol create_proc_entry

Hello all,
When I try to "insmod" on a char device driver, it gives me the following errors.

"unresolved symbol create_proc_entry"
"unresolved symbol remove_proc_entry"

I am using Linux 2.4 Kernel on an ARM processor.

Can someone give me some suggestions on how to solve the problem?

Thanks.
0
sctccomm
Asked:
sctccomm
  • 2
2 Solutions
 
manish_regmiCommented:
hi,
To use any function in kernel module it has to be exported by the kernel or other module.
It might mean that the proc filesystem module is not loaded in kernel.

is your proc interface working properly?
try with ls /proc


if you get items like 1, 1234 cpuinfo etc, then it is working.

then try running my program, i wrote in this thread.
http://www.experts-exchange.com/Programming/Programming_Platforms/Linux_Programming/Q_20992817.html

regards
Manish Regmi
0
 
manish_regmiCommented:
this article might me a little help.
http://www.geocities.com/ravikiran_uvs/articles/proc.html

regards
Manish Regmi
0
 
Duncan RoeSoftware DeveloperCommented:
Do you have a reason for not using modprobe instead of insmod? Generally, modprobe resolves problems like yours. insmod is the bottom-level command in the chain, usually only used by scripts nowadays.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now