23,120
社区成员
发帖
与我相关
我的任务
分享
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libvpx.a(subpixel_mmx.asm.o): relocation R_X86_64_PC32 against symbol `vp8_bilinear_filters_x86_8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:518: recipe for target 'libgd.la' failed
make[2]: *** [libgd.la] Error 1
make[2]: Leaving directory '/root/libgd/libgd-2.1.1/src'
Makefile:436: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/root/libgd/libgd-2.1.1/src'
Makefile:331: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
CFLAGS+=-I$(BUILD_PFX)$(BUILD_ROOT) -I$(SRC_PATH) -fPIC
CXXFLAGS+=-I$(BUILD_PFX)$(BUILD_ROOT) -I$(SRC_PATH) -fPIC
ASFLAGS+=-I$(BUILD_PFX)$(BUILD_ROOT)/ -I$(SRC_PATH)/ -fPIC/
[AS] vpx_ports/emms.asm.o
yasm: FATAL: unrecognized object format `PIC/'
Makefile:179: recipe for target 'vpx_ports/emms.asm.o' failed
make[1]: *** [vpx_ports/emms.asm.o] Error 1
Makefile:17: recipe for target '.DEFAULT' failed
make: *** [.DEFAULT] Error 2
./configure --enable-pic --enable-static --enable-shared --as=yasm --target=generic-gnu