From: S. E. <ser...@se...> - 2009-01-26 04:25:09
|
Philip A. Prindeville wrote: > I've updated a couple of hours ago, and building from scratch I see: > > ... > make[1]: Entering directory `/home/philipp/0.6/build_i586/linux-2.6.20.21-astlinux' > CHK include/linux/version.h > CHK include/linux/utsrelease.h > HOSTCC scripts/genksyms/genksyms.o > SHIPPED scripts/genksyms/lex.c > SHIPPED scripts/genksyms/parse.h > SHIPPED scripts/genksyms/keywords.c > CC arch/i386/kernel/asm-offsets.s > SHIPPED scripts/genksyms/parse.c > HOSTCC scripts/genksyms/lex.o > scripts/genksyms/lex.c:1230: warning: ‘input’ defined but not used > HOSTCC scripts/genksyms/parse.o > HOSTLD scripts/genksyms/genksyms > GEN include/asm-i386/asm-offsets.h > CC scripts/mod/empty.o > HOSTCC scripts/mod/mk_elfconfig > HOSTCC scripts/kallsyms > MKELF scripts/mod/elfconfig.h > HOSTCC scripts/mod/file2alias.o > HOSTCC scripts/mod/modpost.o > HOSTCC scripts/mod/sumversion.o > scripts/mod/sumversion.c: In function ‘get_src_version’: > scripts/mod/sumversion.c:384: error: ‘PATH_MAX’ undeclared (first use in this function) > scripts/mod/sumversion.c:384: error: (Each undeclared identifier is reported only once > scripts/mod/sumversion.c:384: error: for each function it appears in.) > scripts/mod/sumversion.c:384: warning: unused variable ‘filelist’ > make[3]: *** [scripts/mod/sumversion.o] Error 1 > make[2]: *** [scripts/mod] Error 2 > make[2]: *** Waiting for unfinished jobs.... > make[1]: *** [scripts] Error 2 > make[1]: Leaving directory `/home/philipp/0.6/build_i586/linux-2.6.20.21-astlinux' > make: *** [/home/philipp/0.6/build_i586/linux-2.6.20.21-astlinux/arch/i386/boot/bzImage] Error 2 > > > This is on an FC9-x86_64 platform. > > Anyone else seeing this? > > -Philip > Philip, Yes I have seen this same issue while building the 0.6 branch. I *temporarily* fixed it by *manually* adding "#include <limits.h>" to the headers section of the scripts/mod/sumversion.c linux source file. This should probably get turned into a patch. -Steve |