On Tue, 5 Mar 2002, John Levon 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 ? yeah...its a 2.2.18 kernel...i picked up the Makefiles of some of the SCSI drivers to hack. > > 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. Nope it does NOT appear in /proc/ksyms. What are the includes necessary for EXPORT_SYMBOL? Is MODVERSIONS necessary? -- The statement below is true. The statement above is false. ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^ Amit Kucheria EECS Grad. Research Assistant University of Kansas @ Lawrence (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774 ____________________________________________________ -- 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/