On Sat, Sep 22, 2001 at 10:26:30AM -0700, karthik wrote: > > > For any kernel modules use gcc option -O2 > > > nk > > > > ... which does not make a difference wrt unresolved symbols. > > (it might however show some warnings undetected withou oprimisations) > > It does make a difference w.r.t some kernel inline functions ... > I u dont use -O2 optimisation the inline functions are linked during insmod and > there u will get unresolved symbol error,because they arent defined as extern. No, they are not extern. But they are defined static in every object using them. They are resolved at link-time. I wonder if the unresolved symbols mentioned were all inline functions. ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb@ucw.cz> - 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/