Re: kernel.h question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
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/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux