当我构建VLC时,我运行make,并收到此错误:
/usr/bin/ld: /opt/ffmpeg/lib/libavformat.a(rmsipr.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
所以我尝试在CFLAGS和CXXFLAGS中添加-fPIC,但在make之后我仍然遇到同样的错误。
谁可以解释一下?``