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

Re: Hooks in dev.c





  Did you export the symbols? Modules can access only those fuctions that 
are exported and not all global symbols.

  raghu

On Mon, 10 Feb 2003, milind wrote:

> Hello,
> 	I am working with kernel 2.4.18. I added couple of hooks in terms of 
> function pointers initialized to zero in dev.c.
> I compiled the kernel (which is working fine) and then wrote a module to 
> initialize these function pointers. But the init_module is returning 
> "cannot resolve the symbols".( I run make modules and make modules_install 
> while kernel compilation)
> Can someone help?
> 
> Milind
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 

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