Re: unresolved symbol error...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 19, 2002 at 02:16:19PM +0800, Siddharth Choudhuri wrote:
> I'm using create_proc_read_entry() function to create an entry in /proc. (It
> is defined in linux/proc_fs.h).
> 
> insmod gives "unresolved symbol create_proc_read_entry" error!
> 
> compile line: gcc -O2 -c modulename.c
> 
> Any ideas where I am going wrong ?
Its prototype is static inline struct proc_dir_entry *create_proc_read_entry(...
so I guess you its scope is just this file and you cannot use from outside.

I think you must use create_proc_entry()

Ciao ciao
Paolo
-- 
$>cd /pub
$>more beer

(0>
//\  Perego Paolo <p_perego@modiano.com> - www.sikurezza.org/angel
V_/_ 'It's seems the hardest life I've never known'
I'm Linux drow 2.4.17-4GB - SuSE Linux 7.3 (i386) powered.

Attachment: pgp00048.pgp
Description: PGP signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux