[root@localhost build]# gcc -shared -fPIC -o libDpdkAccess.so main.o
/usr/bin/ld: main.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: 最后的链结失败: 输出不可表示的节
collect2: 错误:ld 返回 1
[root@localhost build]# gcc -shared -fPIC -o libDpdkAccess.so main.o /usr/bin/ld: main.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: 最后的链结失败: 输出不可表示的节 collect2: 错误:ld 返回 1