1. 首页
  2. 操作系统
  3. Linux
  4. boost_linux_fPIC.rar

boost_linux_fPIC.rar

上传者: 2020-08-07 16:57:03上传 RAR文件 855KB 热度 17次
boost的linux静态库版本,添加了-fPIC选项,一般的boost静态库没有此选项,动态库在调用的时候会报下面的内容,用了这个库就不会出了(网上教的编译方法都是针对1.55版本的,后面的版本代码都不一样): /usr/bin/ld: common/ipc.o: relocation R_X86_64_32S against `cmd_handler' can not be used when making a shared object; recompile with -fPIC common/ipc.o: could not read symbols: Bad value
下载地址
用户评论