|
楼主 |
发表于 2006-10-9 17:11:33
|
显示全部楼层
安装arm-linux-gcc后,make依旧失败:
如下:
[root@dklinux uClinux-dist]# make
make -C tools/ucfront
make[1]: Entering directory `/root/uClinux-dist/tools/ucfront'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/uClinux-dist/tools/ucfront'
ln -sf /root/uClinux-dist/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /root/uClinux-dist/tools/ucfront/ucfront tools/ucfront-g++
ln -sf /root/uClinux-dist/tools/ucfront/ucfront-ld tools/ucfront-ld
make -C tools/sg-cksum
make[1]: Entering directory `/root/uClinux-dist/tools/sg-cksum'
make[1]: `cksum' is up to date.
make[1]: Leaving directory `/root/uClinux-dist/tools/sg-cksum'
ln -sf /root/uClinux-dist/tools/sg-cksum/cksum tools/cksum
make ARCH=armnommu CROSS_COMPILE=arm-linux- ARCH=armnommu CROSS_COMPILE=arm-linux- -j1 -C linux-2.4.x || exit 1
make[1]: Entering directory `/root/uClinux-dist/linux-2.4.x'
. scripts/mkversion > .tmpversion
arm-linux-gcc -D__KERNEL__ -I/root/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -DUTS_MACHINE='"armnommu"' -DKBUILD_BASENAME=version -c -o init/version.o init/version.c
make[2]: Entering directory `/root/uClinux-dist/linux-2.4.x/arch/armnommu/tools'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/uClinux-dist/linux-2.4.x/arch/armnommu/tools'
make CFLAGS="-D__KERNEL__ -I/root/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float " -C kernel
make[2]: Entering directory `/root/uClinux-dist/linux-2.4.x/kernel'
make all_targets
make[3]: Entering directory `/root/uClinux-dist/linux-2.4.x/kernel'
arm-linux-gcc -D__KERNEL__ -I/root/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=sched -fno-omit-frame-pointer -c -o sched.o sched.c
In file included from /root/uClinux-dist/linux-2.4.x/include/linux/wait.h:13,
from /root/uClinux-dist/linux-2.4.x/include/linux/fs.h:12,
from /root/uClinux-dist/linux-2.4.x/include/linux/capability.h:17,
from /root/uClinux-dist/linux-2.4.x/include/linux/binfmts.h:4,
from /root/uClinux-dist/linux-2.4.x/include/linux/sched.h:9,
from /root/uClinux-dist/linux-2.4.x/include/linux/mm.h:4,
from sched.c:23:
/root/uClinux-dist/linux-2.4.x/include/linux/kernel.h:10:20: stdarg.h:没有那个文件或目录 In file included from /root/uClinux-dist/linux-2.4.x/include/linux/wait.h:13,
from /root/uClinux-dist/linux-2.4.x/include/linux/fs.h:12,
from /root/uClinux-dist/linux-2.4.x/include/linux/capability.h:17,
from /root/uClinux-dist/linux-2.4.x/include/linux/binfmts.h:4,
from /root/uClinux-dist/linux-2.4.x/include/linux/sched.h:9,
from /root/uClinux-dist/linux-2.4.x/include/linux/mm.h:4,
from sched.c:23:
/root/uClinux-dist/linux-2.4.x/include/linux/kernel.h:76: error: parse error before "va_list"
/root/uClinux-dist/linux-2.4.x/include/linux/kernel.h:77: warning: function declaration isn't a prototype
/root/uClinux-dist/linux-2.4.x/include/linux/kernel.h:80: error: parse error before "va_list"
/root/uClinux-dist/linux-2.4.x/include/linux/kernel.h:81: warning: function declaration isn't a prototype
/root/uClinux-dist/linux-2.4.x/include/linux/kernel.h:85: error: parse error before "va_list"
/root/uClinux-dist/linux-2.4.x/include/linux/kernel.h:86: warning: function declaration isn't a prototype
make[3]: *** [sched.o] Error 1
make[3]: Leaving directory `/root/uClinux-dist/linux-2.4.x/kernel'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/root/uClinux-dist/linux-2.4.x/kernel'
make[1]: *** [_dir_kernel] Error 2
make[1]: Leaving directory `/root/uClinux-dist/linux-2.4.x'
make: *** [linux] Error 1
各位大虾,救救俺吧!!!!!!!!!! |
|