64位机器上编译

64位机器上编译时提示:

can not be used when making a shared object; recompile with -fPIC

添加编译选项 -fPIC,重新编译。

原文地址:https://www.cnblogs.com/mydomain/p/2924019.html