我正在尝试配置ffmpeg源代码包,以构建.so文件而不是.a文件。
在执行了"./configure --enable-shared"之后,我运行了"make"命令。
这给我返回了以下信息:
"/usr/bin/ld: libavutil/display.o: relocation R_X86_64_PC32 against undefined symbol 'hypot@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC"
然而,我不确定在哪里以及如何添加-fPIC标志。
在执行了"./configure --enable-shared"之后,我运行了"make"命令。
这给我返回了以下信息:
"/usr/bin/ld: libavutil/display.o: relocation R_X86_64_PC32 against undefined symbol 'hypot@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC"
然而,我不确定在哪里以及如何添加-fPIC标志。