GCC 编译错误集

来源:互联网 发布:银行业数据治理 编辑:程序博客网 时间:2024/05/16 09:36

1 When compiling gcc-3.4.6 on CentOS4 with /usr/lib64/libstdc++.so.6.0.3

 

  ../gcc-3.4.6/configure --prefix=/opt/build/gcc3 --enable-languages=c,c++,d

 

 

Error:

 

./gcc/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)

 

 

FIX:

 

Replace the origin libstdc++.so.6 with the new compiled

 

    ./x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6

 

2

 

原创粉丝点击