link error undefined reference to `ff_sdr2_demuxer'

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

link error undefined reference to `ff_sdr2_demuxer'

cedric.dewijs@telfort.nl
 Hi All,
 
 I have tried to compile ffmpeg on my rasperry PI running raspbian stretch, but I get a linker error.
 I have taken the following steps:
 git clone
 https://github.com/ffmpeg/FFMpeg --depth 1
 cd ~/FFMpeg
 ./configure --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi
 make -j 4
 
 Then I get the following error:
 
 MAN
 doc/libavfilter.3
 LD
 ffmpeg_g
 LD
 ffplay_g
 LD
 ffprobe_g
 libavformat/libavformat.a(allformats.o):(.rodata+0x5a4): undefined reference to `ff_sdr2_demuxer'
 libavformat/libavformat.a(allformats.o):(.rodata+0x5a8): undefined reference to `ff_sds_demuxer'
 libavformat/libavformat.a(protocols.o):(.rodata+0x54): undefined reference to `ff_sctp_protocol'
 collect2: error: ld returned 1 exit status
 Makefile:107: recipe for target 'ffmpeg_g' failed
 make: *** [ffmpeg_g] Error 1
 make: *** Waiting for unfinished jobs....
 libavformat/libavformat.a(allformats.o):(.rodata+0x5a4): undefined reference to `ff_sdr2_demuxer'
 libavformat/libavformat.a(allformats.o):(.rodata+0x5a8): undefined reference to `ff_sds_demuxer'
 libavformat/libavformat.a(protocols.o):(.rodata+0x54): undefined reference to `ff_sctp_protocol'
 collect2: error: ld returned 1 exit status
 Makefile:107: recipe for target 'ffplay_g' failed
 make: *** [ffplay_g] Error 1
 libavformat/libavformat.a(allformats.o):(.rodata+0x5a4): undefined reference to `ff_sdr2_demuxer'
 libavformat/libavformat.a(allformats.o):(.rodata+0x5a8): undefined reference to `ff_sds_demuxer'
 libavformat/libavformat.a(protocols.o):(.rodata+0x54): undefined reference to `ff_sctp_protocol'
 collect2: error: ld returned 1 exit status
 Makefile:107: recipe for target 'ffprobe_g' failed
 make: *** [ffprobe_g] Error 1
 
 Cheers,
 Cedric
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: link error undefined reference to `ff_sdr2_demuxer'

Carl Eugen Hoyos-2
2018-05-08 15:58 GMT+02:00, [hidden email] <[hidden email]>:

>  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
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".