在64位机器上编译时提示: “can not be used when making a shared object; recompile with -fPIC” 添加编译选项 -fPIC,重新编译。 相关文章: