relocation R_X86_64_PC32 against symbol ff_pw_9 can not be used when making a shared object

具体错误:

/usr/bin/ld: /home/quantum6/build_libs/lib/libavcodec.a(vc1dsp_mmx.o): relocation R_X86_64_PC32 against symbol `ff_pw_9' 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

重新编译libav,加参数:--enable-shared

你可能感兴趣的:(C/C++)