用crosstool编译交叉工具链的问题

编译安装或者制作Deb包
回复
leonzhong117
帖子: 1
注册时间: 2010-07-15 20:06
送出感谢: 0
接收感谢: 0

用crosstool编译交叉工具链的问题

#1

帖子 leonzhong117 » 2010-07-15 20:19

用crosstool工具按demo-arm.sh脚本编译交叉工具链(gcc-4.1.0-glibc-2.3.2),出现错误,如下:

In file included from version.c:33:
/home/leon/cross/crosstool-0.43/build/arm-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.2/build-glibc/csu/version-info.h:1:1: missing terminating " character
/home/leon/cross/crosstool-0.43/build/arm-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.2/build-glibc/csu/version-info.h:2:1: missing terminating " character
/home/leon/cross/crosstool-0.43/build/arm-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.2/build-glibc/csu/version-info.h:3:1: missing terminating " character
/home/leon/cross/crosstool-0.43/build/arm-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.2/build-glibc/csu/version-info.h:4:1: missing terminating " character
make[2]: *** [/home/leon/cross/crosstool-0.43/build/arm-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.2/build-glibc/csu/version.o] 错误 1
make[2]:正在离开目录 `/home/leon/cross/crosstool-0.43/build/arm-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.2/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] 错误 2
make[1]:正在离开目录 `/home/leon/cross/crosstool-0.43/build/arm-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.2/glibc-2.3.2'
make: *** [all] 错误 2

好像是缺少引号,请高手帮我看看为什么会出现这个问题,应该怎么解决,谢谢
(我的ubuntu 是8.10)
zhan展
帖子: 1
注册时间: 2012-02-25 15:27
送出感谢: 0
接收感谢: 0

Re: 用crosstool编译交叉工具链的问题

#2

帖子 zhan展 » 2012-02-25 15:31

同求同求啊,我的是ubuntu10.10

In file included from version.c:33:
/home/wz/embedded/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.2/build-glibc/csu/version-info.h:1:1: missing terminating " character
/home/wz/embedded/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.2/build-glibc/csu/version-info.h:2:1: missing terminating " character
/home/wz/embedded/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.2/build-glibc/csu/version-info.h:3:1: missing terminating " character
/home/wz/embedded/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.2/build-glibc/csu/version-info.h:4:1: missing terminating " character
make[2]: *** [/home/wz/embedded/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.2/build-glibc/csu/version.o] Error 1
make[2]: Leaving directory `/home/wz/embedded/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.2/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/wz/embedded/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.2/glibc-2.3.2'
make: *** [all] Error 2

之前装的时候没有遇到这问题啊,奇怪啊!
回复

回到 “编译或打包”