Hello Also, don't you also get his error if you haven't done a make oldconfig or make menuconfig (with exit and save)? I thought these steps made the autconfig header file from the .config. I agree the header file wouldn't be found if the include path wasn't there, but I'm just thinking about the next step as well. JD Erik Mouw <J.A.K.Mouw@its.tudelft.nl>@nl.linux.org on 02/27/2002 03:59:30 PM Sent by: kernelnewbies-bounce@nl.linux.org To: Narasimhamurthy Giridhar <giridhar@cs.clemson.edu> cc: kernelnewbies@nl.linux.org, debian-users@lists.debian.org Subject: Re: Module compilation error 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/ -- 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/