代码拉取完成,页面将自动刷新
编译环境是ubuntu18.04
./configure
make
错误信息如下:
$ make
[linking execution] xavs2
gcc -o xavs2 test/test.o libxavs2.a -m64 -lm -lpthread -ldl
/usr/bin/x86_64-linux-gnu-ld: libxavs2.a(blockcopy8.o): relocation R_X86_64_32 against symbol `xavs2_pb_1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: libxavs2.a(dct8.o): relocation R_X86_64_32 against symbol `xavs2_pd_0' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: libxavs2.a(mc-a.o): relocation R_X86_64_32 against symbol `xavs2_pw_256' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: libxavs2.a(mc-a2.o): relocation R_X86_64_32 against symbol `xavs2_pw_00ff' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: libxavs2.a(pixel-a.o): relocation R_X86_64_32 against symbol `xavs2_pw_1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: libxavs2.a(pixel-util8.o): relocation R_X86_64_32 against symbol `xavs2_pb_1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: libxavs2.a(quant8.o): relocation R_X86_64_32 against symbol `xavs2_pw_1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: libxavs2.a(sad-a.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: libxavs2.a(satd-a.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: libxavs2.a(ssd-a.o): relocation R_X86_64_32 against symbol `xavs2_pw_00ff' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:235: recipe for target 'xavs2' failed
make: *** [xavs2] Error 1