+ -
当前位置:首页 → 问答吧 → 编译UCLINUX的问题

编译UCLINUX的问题

时间:2006-04-21

来源:互联网

我初学UCLINUX,怎么也没有办法编译成功,在此请教各位:

[zyq@localhost uClinux-dist]$ make
make -C tools/ucfront
make[1]: Entering directory `/home/zyq/arm/uClinux-dist/tools/ucfront'
make[1]: `ucfront' is up to date.
make[1]: Leaving directory `/home/zyq/arm/uClinux-dist/tools/ucfront'
ln -sf /home/zyq/arm/uClinux-dist/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /home/zyq/arm/uClinux-dist/tools/ucfront/ucfront tools/ucfront-g++
make ARCH=arm CROSS_COMPILE=arm-elf- -C linux-2.6.x  || exit 1
make[1]: Entering directory `/home/zyq/arm/uClinux-dist/linux-2.6.x'
  CHK     include/linux/version.h
make[2]: `include/asm-arm/mach-types.h' is up to date.
  CC      arch/arm/kernel/asm-offsets.s
In file included from include/linux/stddef.h:4,
                 from include/linux/posix_types.h:4,
                 from include/linux/types.h:15,
                 from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from arch/arm/kernel/asm-offsets.c:13:
include/linux/compiler.h:46: #error Sorry, your compiler is too old/not recogniz
ed.
make[2]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/home/zyq/arm/uClinux-dist/linux-2.6.x'
make: *** [linux] Error 1


请教是什么错误呢?怎么解决呢?

另外,我打扑丁好象总是有问题,用-p参数也没有用。      

作者: cry   发布时间: 2006-04-21