RE: proc_fs.o: unresolved symbol proc_register

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

 



> -----Original Message-----
> From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-
> bounce@xxxxxxxxxxxx] On Behalf Of kishore
> Sent: Wednesday, December 28, 2005 12:33 PM
> To: kernelnewbies@xxxxxxxxxxxx
> Subject: proc_fs.o: unresolved symbol proc_register
> 
> hi all,
> 
>     when i tried to insmod proc_fs.o i met a problem as
> proc_fs.o : unresolved symbol proc_register
> proc_fs.o : unresolved symbol proc_unregister
> 
> I appreciate ur help in resolving this issue.
> 
> One more thing is, i travelled thru "/lib/modules/`uname -r`/include"
for
> the lines
> proc_register and proc_unregister; but i didn't succeeed in it.
> If possible provide me the file name in which the above are available.
> 
> regards,
> kishore,packetware.
> 

Dear Kishore,

I thought that you missed the 'build' word in the make file. Please
include like 

INCDIR=/lib/modules/`uname -r`/build/include

Please modify your makefile with line mentioned above and test it. 

The registration for the proc entries is done using the following.
create_proc_read_entry and remove_proc_entry APIs.

Regards,
Srinivas G
 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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