On Fri, Nov 09, 2001 at 01:24:33AM -0800, Amit Kulkarni wrote: > Hello everybody, > > I have written a device driver which references > certain kernel symbols.unfortunately those symbols are > not being exported. > i added a line EXPORT_SYMBOL(relevant_symbol); > at the end of each file where the symbols were defined > > Still the symbols have not found their way to > /proc/ksyms > add the EXPORT_SYMBOL macros to kernel/ksyms.c and not at your own source files. Now recompile the kernel and it should work. BTW: bear in mind that symbols are exported/un-exported on purpose. There is usually a better way to do something than by exporting an unexported symbol. > -- ************************************************ "When in doubt, use brute force." Ken Thompson Etay Meiri cl1@netvision.net.il ************************************************ -- 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/