Chinaunix

标题: crosstool-ng 建交叉编译器 出现的ERROR [打印本页]

作者: shuiyu123    时间: 2011-08-10 17:54
标题: crosstool-ng 建交叉编译器 出现的ERROR
在ubuntu 10.04 LTS 下用crosstool-ng 建交叉编译器出现以下的问题!
大侠出招解救一下!
谢谢!!
[CFG  ]    checking for C compiler default output file name...
[ERROR]    configure: error: in `/home/crosstool-ng/crosstool-build/.build/arm-unknown-linux-gnueabi/build/build-cc-core-static':
[ERROR]    configure: error: C compiler cannot create executables
[CFG  ]    See `config.log' for more details.
[ERROR]   
[ERROR]    >>  Build failed in step 'Installing static core C compiler'
[ERROR]    >>
[ERROR]    >>  Error happened in: CT_DoExecLog[scripts/functions]
[ERROR]    >>        called from: do_cc_core[scripts/build/cc/gcc.sh@262]
[ERROR]    >>        called from: do_cc_core_pass_1[scripts/build/cc/gcc.sh@66]
[ERROR]    >>        called from: main[scripts/crosstool-NG.sh@582]
[ERROR]    >>
[ERROR]    >>  For more info on this error, look at the file: 'build.log'
[ERROR]    >>  There is a list of known issues, some with workarounds, in:
[ERROR]    >>      '/opt/crosstool-ng//share/doc/ct-ng-1.11.2/B - Known issues.txt'
[ERROR]   
[ERROR]    Build failed in step 'Installing static core C compiler'
作者: whw055670    时间: 2012-03-03 20:56
你这个哪一步骤?我在make install的市出问题: For auto-completion, do not forget to install 'ct-ng.comp' into     
your bash completion directory (usually /etc/bash_completion.d)
你在make install的时候 出现这个问题了吗?怎么解决的?
作者: whw055670    时间: 2012-03-04 09:51
lz 你的问题解决了吗 ?能把过程贴出来吗?
作者: zhhxu2011    时间: 2012-03-04 15:48
解决方法请参考csdn博客 ,链http://blog.csdn.net/xuhs/article/details/6239290




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2