recompile with -fPIC

ubuntu 16.04上封裝boost庫(須要編譯的庫)爲動態庫的時候,碰到相似錯誤:ubuntu relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC it 開始覺得是給動態庫添加-fPIC,後來發現是給boost添加,i
相關文章
相關標籤/搜索