pkuvcl / xavs2

An open-source encoder of AVS2-P2/IEEE1857.4 video coding standard
GNU General Public License v2.0
234 stars 66 forks source link

无法在Linux上编译 #2

Closed Gabrielxinxin closed 6 years ago

Gabrielxinxin commented 6 years ago

Ubuntu 17.10 x64 gcc7.2

/usr/bin/ld: libxavs2.a(ssd-a.o): relocation R_X86_64_32 against symbol `xavs2_pw_00ff' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: 最后的链结失败: 输出不可表示的节

luofalei commented 6 years ago

@Gabrielxinxin 请提供出错的编译过程,是否修改过config.mak?

luofalei commented 6 years ago

@Gabrielxinxin 安装了ubuntu17.10(gcc 7.2.0, yasm 1.3.0), 按照默认configure如你所言存在链接问题, 可通过给configure加额外的参数解决, 如下

./configure --enable-pic
luofalei commented 6 years ago

Since there is no further feedback, it would be closed. If new problems occur, it could be re-open.