解决Centos6编译错误:expecting string instruction after `rep,centos6expecting


centos6,gcc 4.8.2下出现expecting string instruction after `rep’的错误,解决方法:

you need to install devtoolset 2.1

then install devtoolset-libutils

follow gnu build instuctions, should build fine now.


具体可以按照以下命令执行:

wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo

yum install devtoolset-2-gcc devtoolset-2-binutils

yum install devtoolset-2-gcc-gfortran

1

2

3

1

2

3

执行上面的命令后问题就得到解决了。


相关内容

    暂无相关文章