On Thu, Jan 03, John Levon wrote: > On Mon, Dec 31, 2001 at 01:36:29AM -0500, Michael Fischer wrote: > > > Please consider adding -D__KERNEL__ to that gcc invocation. > > Thanks ! We also needed -DMODULE True, unless you are slavishly following Rubini, as I was and #define'd it in the text of the program :-) Michael -- Michael Fischer Happiness is a config option. michael@visv.net Recompile and be happy. -- 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/