can that be right? i was able to compile both the devfs and non-devfs versions of grumpy with -O3. the only difference between the two is that -O3 implies -finline-functions, and -O2 doesn't. would that really break compiling? pete begin: Etay Meiri <cl1@netvision.net.il> quote > On Mon, Nov 19, 2001 at 01:01:27AM -0800, Peter Jay Salzman wrote: > > hi all, > > > > 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 > > > Hi Peter, > > Just a small comment: AFAIK, you can _only_ compile the kernel and modules with -O2 > optimization. > > -Etay Meiri -- "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/