Default gcc fails to compile linux 3.x source code. It required me to upgrade
devtools for CentOS.
devtools for CentOS.
cd /etc/yum.repos.d
wget http://people.centos.org/tru/devtools-2/devtools-2.repo
yum install devtoolset-2-gcc
yum install devtoolset-2-binutils
export PATH=/opt/rh/.....:$PATH
check gcc -v which should be higher then default gcc version.
No comments:
Post a Comment