/usr/bin/ld: /tmp/ccrCgkhb.o: relocation R_X86_64_PC32 against symbol `strrchr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
包含string.h头文件就好,不然使用的是glibc库,从libc库使用strrchr
/usr/bin/ld: /tmp/ccrCgkhb.o: relocation R_X86_64_PC32 against symbol `strrchr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
包含string.h头文件就好,不然使用的是glibc库,从libc库使用strrchr