晚上在用g++的时候报错如下:
-> # g++ output.o -o test
/usr/bin/ld: output.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr
晚上在用g++的时候报错如下:
-> # g++ output.o -o test
/usr/bin/ld: output.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr