ffmpeg --enable-shared 编译时报错:
libavcodec/mqc.o: relocation r_x86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
添加 ./configure 编译命令参数:
--enable-pic
之前有 make 过的话先执行 make clean,再 make。
ffmpeg --enable-shared 编译时报错:
libavcodec/mqc.o: relocation r_x86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
添加 ./configure 编译命令参数:
--enable-pic
之前有 make 过的话先执行 make clean,再 make。