begin: Erik Mouw <J.A.K.Mouw@its.tudelft.nl> quote > On Mon, Nov 19, 2001 at 01:01:27AM -0800, Peter Jay Salzman wrote: > > i'm getting the message: > > > > % gcc -c -O3 -D__KERNEL__ -DMODULE grumpy.c -nostdinc -I/usr/src/linux/include > > In file included from grumpy.c:5: > > /usr/src/linux/include/linux/kernel.h:10: stdarg.h: No such file or directory > > > > sure enough, in /usr/src/linux/include/linux/kernel.h there's: > > > > #include <stdarg.h> > > > > which is funny, because stdarg.h isn't in the kernel sources; it's on my > > system because libc6-dev put it there. > > Heh, I just got this problem at hand. It turns out that stdarg.h is a > compiler include file. On my system (Debian testing) it lives in > /usr/lib/gcc-lib/i386-linux/2.95.4/include/stdarg.h . Because you told > the compiler to blow away the standard include path (-nostdinc flag), > it won't find it anymore. the reason i used -nostdinc is because /usr/include/linux on debian woody is 2.4.12, and i'm running 2.4.13. i didn't want to start deleting files owned by libc6-dev and replacing them with files from /usr/src/linux/include. prolly adding -I /usr/lib/gcc-lib/i386-linux/2.95.4/include would do the trick. i'll give it a try. thanks! pete -- "You may not use the Software in connection with any site that disparages Microsoft, MSN, MSNBC, Expedia, or their products or services ..." -- Clause from license for FrontPage 2002 -- 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/