libx264编译问题

shyzzjf 2017-04-02 08:16:31
我在ubuntu上编译libx264.没有问题。但是在调用libX264.A编译就报/usr/bin/ld: /usr/lib/libx264.a(cabac-a.o): relocation R_X86_64_32 against `x264_cabac_range_lps' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libx264.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
这种错误。我在编译的时候也加了CFLAGS = - fPIC.是什么原因?
...全文
457 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

2,543

社区成员

发帖
与我相关
我的任务
社区描述
专题开发/技术/项目 多媒体/流媒体开发
社区管理员
  • 多媒体/流媒体开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧