当前位置: 技术问答>linux和unix
gcc-4.4.2升级错误
来源: 互联网 发布时间:2016-07-19
本文导语: 本人电脑环境:操作系统RHEL5,GCC4.1.1,Kernel2.6.18-8.el5xen。 因为需要编译到Linux-2.6.30。需要gcc-4.4.2。 但在升级gcc-4.4.2的时候, ./configure能够通过,但是在make的时候总是会报出错误。 checking for suffix of object files... c...
本人电脑环境:操作系统RHEL5,GCC4.1.1,Kernel2.6.18-8.el5xen。
因为需要编译到Linux-2.6.30。需要gcc-4.4.2。
但在升级gcc-4.4.2的时候,
./configure能够通过,但是在make的时候总是会报出错误。
checking for suffix of object files... configure: error: in `/home/Jun/Desktop/gcc-build/i386-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/Jun/Desktop/gcc-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/Jun/Desktop/gcc-build'
make: *** [all] Error 2
万分感谢...
因为需要编译到Linux-2.6.30。需要gcc-4.4.2。
但在升级gcc-4.4.2的时候,
./configure能够通过,但是在make的时候总是会报出错误。
checking for suffix of object files... configure: error: in `/home/Jun/Desktop/gcc-build/i386-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/Jun/Desktop/gcc-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/Jun/Desktop/gcc-build'
make: *** [all] Error 2
万分感谢...
|
See `config.log' for more details.
把 config.log贴出来看看。。
建议你下载编译好的 gcc-4.4.2 binary 来编译内核。
自己编译 gcc 的成功率不高。
把 config.log贴出来看看。。
建议你下载编译好的 gcc-4.4.2 binary 来编译内核。
自己编译 gcc 的成功率不高。
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。