On Wed, Feb 27, 2002 at 12:29:57PM -0500, Narasimhamurthy Giridhar wrote: > I was trying to compile a module by doing: > > gcc -D__KERNEL__ -DMODULE -O -Wall -c file.c -o file.o Add -I /path/to/kernel/source/include . See also the FAQ on http://www.kernelnewbies.org/faq/ . Oh, and *don't* cross post between lists. I've set the Mail-Followup-To header to the kernelnewbies list, because this is a clear kernel related question. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl WWW: http://www-ict.its.tudelft.nl/~erik/ -- 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/