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

Re: EXPORT_SYMBOL issue



On Tue, Mar 05, 2002 at 02:16:49PM -0600, Amit Kucheria wrote:

> I have some code (X) that gets compiled into the kernel and a module (Y).
> Now X defines some function pointers that i need to access in Y.

OK.

> So I exported the pointers using EXPORT_SYMBOL and by compiling file X 
> using OX_OBJ. This should allow it to export symbols.
        ^^^^^^

hmm, rather old kernel ?

> But somehow, module Y is still not able to find the symbols. 

Does it appear in /proc/ksyms ? If so, then you're building your module
wrongly.

john

-- 
I am a complete moron for forgetting about endianness. May I be
forever marked as such.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/