gcc5.4.0降级为5.3.0时出现的问题求解决?顺便问一下各位大神,现在ubuntu16.04下的cuda8.0支持gcc5.4吗?是否一定要降级为5.3?
本菜鸟最近想安装ubuntu16.04下的caffe进行深度学习的科研,首先进行了安装步骤,参照的是下面这个帖子。
http://blog.csdn.net/leijiezhang/article/details/53688157
走到降级gcc这一步时,因为ubuntu16.04自带的是gcc5.4.0,所以想要降级,但是搞了一天都搞不定。
已经安装了gmp-4.3.2,mpfr-2.4.2,mpc-0.8.1。并且添加了路径
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/mpc-0.8.1/lib:/usr/local/gmp-4.3.2/lib:/usr/local/mpfr-2.4.2/lib
但是configure通过了,make不成功,原因如下:
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
Makefile:16229: recipe for target 'configure-stage1-target-libgcc' failed
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory '/opt/gcc-5.3.0'
Makefile:20383: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/opt/gcc-5.3.0'
Makefile:902: recipe for target 'all' failed
make: *** [all] Error 2
请问这是什么问题导致的?
谢谢!