[CentOS] Compiling kernel 2.6.12.2 with gcc-3.4.3-22.1

Jose Alburquerque jaalburquerque at cox.net
Wed Jul 6 15:05:10 UTC 2005


One final question on this:

When I rebuild the source rpm (or even when I tried to compile the stock 
kernel for that matter), I get:

In file included from ./include/asm/system.h:5,
                 from ./include/asm/processor.h:18,
                 from ./include/asm/thread_info.h:17,
                 from ./include/linux/thread_info.h:21,
                 from ./include/linux/spinlock.h:12,
                 from ./include/linux/capability.h:45,
                 from ./include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
./include/linux/kernel.h:10:20: stdarg.h: No such file or directory

which seems to tell me that the compilation process does not find the 
stdarg.h file on my system.  By running "locate stdarg.h" I get the 
following:

[jose at sweety ~]$ locate stdarg.h
/usr/lib/gcc/i386-redhat-linux/3.4.3/include/stdarg.h
/usr/lib/syslinux/com32/include/stdarg.h
/usr/share/man/man0p/stdarg.h.0p.gz

Is there something wrong with my configuration?  I'm sorry for the many 
questions.  If no answer, It's no problem.  My system works ok as it is 
and I don't *have* to have a new kernel.



More information about the CentOS mailing list