I set the menuconfig for AMD and FILO for coreboot-V2,when I make it,the wrong message is following : -------------------------------------- gcc -m32 -nostdinc -Os -isystem /bios/buildrom/buildrom-devel/staging/include -isystem /include -fno-stack-protector -Wall -Os -fomit-frame-pointer -fno-common -ffreestanding -fno-strict-aliasing -Wno-pointer-sign -Wno-unused -nostdinc -imacros ../config.h -I../include -I安装:/usr/local/gcc-4.2.2/lib/gcc/i386-redhat-linux/4.2.2/include -MD -c filo.c -o filo.o 在包含自 filo.c:1 的文件中: ../include/lib.h:4:20: error:stddef.h:file is not found. In file included from filo.c:1:
filo.c: 在函数‘init’中: filo.c:36: 警告:隐式声明函数‘delay’ make[2]: *** [filo.o] 错误 1 make[2]: Leaving directory `/bios/buildrom/buildrom-devel/work/filo/svn/main' make[1]: *** [main/builtin.o] 错误 2 make[1]: Leaving directory `/bios/buildrom/buildrom-devel/work/filo/svn' make: *** [/bios/buildrom/buildrom-devel/work/filo/svn/filo.elf] 错误 2
---------------------------------------
In the message, the "stddef.h" is not in the "/bios/buildrom/buildrom-devel/work/filo/svn/include".But,the work folder is created by "make".So,it seems that the "stddef.h" was not created.
How can i fix this bug?
thanks.
chenghu qin
On Wed, May 21, 2008 at 07:03:56PM +0800, qchwu wrote:
In the message, the "stddef.h" is not in the "/bios/buildrom/buildrom-devel/work/filo/svn/include".But,the work folder is created by "make".So,it seems that the "stddef.h" was not created.
How can i fix this bug?
stddef.h is in the linux-libc-dev package on my (debian-based) system, it is not created by buildrom. You're likely missing a library.
Thanks, Ward.