[FFmpeg-user] hevcdsp.c build error on Arm

Sebastian Holmqvist sebastian.holmqvist at gmail.com
Mon Mar 9 22:57:20 CET 2015


I was running into a build error with FFmpeg 2.6 yesterday. By the looks of it, it has to do with me running on Arm with Neon disabled.

Here’s my config line:

./configure --arch=arm --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --prefix=/opt --extra-libs=-ldl --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-pthreads --enable-libmp3lame --enable-librtmp --enable-libshine --enable-libfdk-aac --enable-libopus --enable-libspeex

When I reach the linking stage, I run into the error:

libavcodec/libavcodec.a(hevcdsp.o): In function `ff_hevc_dsp_init':
/share/Recordings/build/ffmpeg-2.6/libavcodec/hevcdsp.c:263: undefined reference to `ff_hevcdsp_init_arm’

I got past it by commenting out lines #262-263.

> if (ARCH_ARM)
>     ff_hevcdsp_init_arm(hevcdsp, bit_depth);

Did I miss something or is hevcdsp.c missing an include to hevcdsp_init_neon.h? Or perhaps a check if Neon is available.

Sebastian Holmqvist

More information about the ffmpeg-user mailing list