[FFmpeg-devel] [PATCH] Fix link errors when HAVE_X86ASM is not defined
Derek Buitenhuis
derek.buitenhuis at gmail.com
Wed Nov 21 15:12:58 EET 2018
On 21/11/2018 02:47, Haihao Xiang wrote:
> This fixes the link errors below:
>
> LD ffmpeg_g
> libavfilter/libavfilter.so: undefined reference to `ff_scene_sad_avx2'
> libavfilter/libavfilter.so: undefined reference to `ff_scene_sad_sse2'
> collect2: error: ld returned 1 exit status
> Makefile:108: recipe for target 'ffmpeg_g' failed
> make: *** [ffmpeg_g] Error 1
>
> Signed-off-by: Haihao Xiang<haihao.xiang at intel.com>
> ---
> libavfilter/x86/scene_sad_init.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)
We require dead code elimination to build FFmpeg, so this shouldn't be needed.
What compiler are you using?
- derek
More information about the ffmpeg-devel
mailing list