编译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参数也没有用。
[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
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28