Re: LKMPG example program not working !!

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

 



On Fri, Jun 28, 2002 at 07:53:32AM -0700, Seth Arnold wrote:
> On Thu, Jun 27, 2002 at 03:41:14PM -0700, Karthik M wrote:
> > #insmod procfs.o 
> > procfs.o: unresolved symbol proc_register
> > procfs.o: unresolved symbol proc_unregister
> Yeah, this looks familiar. Search around for these symbols in the source
> code[1], perhaps you need to #include a new header. More likely, the
> symbols are renamed. If you don't find them, look in the proc headers,
> maybe you can find functions that work similarly enuogh. :)

Additional headers won't help. And they were not renamed (At least I
hope it compiled with -Wall and no warnings - the warnings would explain
it otherwise). They merely are not exported. There should be some other
function that should call these and is exported. You have to use that.

Note: exported means, that there is EXPORT*(function) declaration for
that function somewhere

Note: If it does not compile without warnings under -Wall option, than
the warning probably explains this.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
--
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