The first question in buildrom is solved,thanks for ward.But i encount a new question during the make processing.The following is the wrong message: ---------------------------------------------------- make[1]:Leaving directory "/bios/buildrom/buildrom-devel/work/nrv2b/svn" Unpacking filo... patching filo... /bios/buildrom/buildrom-devel/doquilt.sh:line 39:quilt:command not found make:***[/bios/buildrom-devel/work/filo/stamps/.patched] 错误127
------------------------------------------------------
Ithink the fault is caused by lake of command "quilt". I download the quilt-0.46.tar.gz and install it.Then, I make it ,the following messages appear.
-------------------------------------------------------
Unpacking filo... Patching filo... Applying patch make.patch Now at patch make.patch make[1]: Entering directory `/bios/buildrom/buildrom-devel/work/filo/svn' rm -f include/arch ln -s ../i386/include include/arch test -f Config && mv Config Config.bak || true cat defconfig i386/defconfig >>Config *** Default Config file is created *** *** Now you examine this file and edit it as you like *** make[1]: Leaving directory `/bios/buildrom/buildrom-devel/work/filo/svn' Building filo... make[1]: Entering directory `/bios/buildrom/buildrom-devel/work/filo/svn' Makefile:63: 警告:覆盖关于目标“clean”的命令 makerules:46: 警告:忽略关于目标“clean”的旧命令 echo '#define PROGRAM_NAME "FILO"' > main/version.h echo '#define PROGRAM_VERSION "0.5 (root@localhost) Wed May 21 03:25:00 CST 2008"' >> main/version.h make -C main make[2]: Entering directory `/bios/buildrom/buildrom-devel/work/filo/svn/main' /bin/echo -e '/* GENERATED FILE, DO NOT EDIT */\n' >../config.h sed -e 's/#.*//' -e '/=/!d' -e 's/([^[:space:]]*)[[:space:]]*=[[:space:]]*(.*).*/#define \1 \2/' -e 's/^#define ([^ ]*) 0$/#undef \1/' ../Config
../config.h
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: 错误:stddef.h:没有那个文件或目录 In file included from filo.c:1: ../include/lib.h:36: 错误:expected ‘)’ before ‘size’ ../include/lib.h:38: 错误:expected ‘)’ before ‘nmemb’ ../include/lib.h:39: 错误:expected declaration specifiers or ‘...’ before ‘size_t’ ../include/lib.h:42: 错误:expected ‘)’ before ‘size’ ../include/lib.h:46: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strnlen’ ../include/lib.h:47: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strlen’ ../include/lib.h:49: 错误:expected declaration specifiers or ‘...’ before ‘size_t’ ../include/lib.h:50: 错误:expected declaration specifiers or ‘...’ before ‘size_t’ ../include/lib.h:51: 错误:expected declaration specifiers or ‘...’ before ‘size_t’ ../include/lib.h:52: 错误:expected declaration specifiers or ‘...’ before ‘size_t’ 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 [root@localhost buildrom-devel]#
-----------------------------------------------------
the "make distclean"is used before the make.How can i clear this fault.
thanks, chenghu qing