[FFmpeg-user] link error undefined reference to `ff_sdr2_demuxer'

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed May 9 00:51:21 EEST 2018


2018-05-08 15:58 GMT+02:00, cedric.dewijs at telfort.nl <cedric.dewijs at telfort.nl>:

>  git clone
>  https://github.com/ffmpeg/FFMpeg --depth 1

There is also an archive that you can download:
http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2

>  ./configure --enable-gpl --enable-nonfree --enable-mmal
> --enable-omx --enable-omx-rpi
>  make -j 4

>  LD
>  ffmpeg_g

>  libavformat/libavformat.a(allformats.o):(.rodata+0x5a4):
> undefined reference to `ff_sdr2_demuxer'

This indicates most likely an issue that you should
be able to fix with "make distclean":
"grep SDR2 config.h ffbuild/config.mak" should show
"#define CONFIG_SDR2_DEMUXER 1" and
"ffbuild/config.mak:CONFIG_SDR2_DEMUXER=yes"
and this should trigger the compilation of libavformat/sdr2.o
where the missing symbol is defined.

Carl Eugen


More information about the ffmpeg-user mailing list