文章列表
/usr/bin/ld: /tmp/ccL2M6sC.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
修改jpcap-0.7/src/c 目录下的 Makefile 文件
添加编译选项 -fPIC
$(CC) $(COMPILE_OPTION) -fPIC -I$(JNI_INCLUDE) -I$(JNI_INCLUDE2)\
-I$(PCAP_INCLUDE)\
重新ma ...