whorl icon indicating copy to clipboard operation
whorl copied to clipboard

Trying to build in Centos6 make error

Open Emialcaraz opened this issue 5 years ago • 0 comments

[root] # make gcc -m32 -fpack-struct=1 -fpermissive -c -O3 -w -idirafter "sdk" sdk/pawn/amx/.h g++ -m32 -fpack-struct=1 -fpermissive -c -O3 -w -idirafter "sdk" -std=c++11 sdk/pawn/.cpp g++ -m32 -fpack-struct=1 -fpermissive -c -O3 -w -idirafter "sdk" -std=c++11 sdk/raknet/*.cpp g++ -m32 -fpack-struct=1 -fpermissive -c -O3 -w -idirafter "sdk" -std=c++14 *.cpp g++ -m32 -fpack-struct=1 -fpermissive -shared -O3 -static-libstdc++ -L/home/servidor/t -lbass -lm -Wl,-rpath,/home/servidor/t -o "sampvoice.so" *.o /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld: skipping incompatible /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/libstdc++.a when searching for -lstdc++ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld: cannot find -lstdc++ collect2: error: ld returned 1 exit status make: *** [all] Error 1

gcc --version gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5) Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Emialcaraz avatar Sep 23 '19 21:09 Emialcaraz