[MPlayer-users] ffmpeg/libavformat/tls_openssl.o:(.data.rel.ro.local+0x0): multiple definition of `ff_tls_protocol'

Alexander Strasser eclipse7 at gmx.net
Thu Feb 24 18:57:16 EET 2022


On 2020-05-30 15:38 +0200, Alexander Strasser wrote:
> On 2020-05-24 17:27 +0300, Igor wrote:
> > hello
> >
> > I use option --enable-openssl-nondistributable for mplayer configure. And I
> > have the following error message during compilation svn  mplayer version
> >
> >
> > avfilter.a ffmpeg/libavformat/libavformat.a ffmpeg/libavcodec/libavcodec.a
> > ffmpeg/libswscale/libswscale.a ffmpeg/libswresample/libswresample.a
> > ffmpeg/libavutil/libavutil.a -Wl,--version-script,binary.ver
> > -Wl,-z,noexecstack  -ffast-math -fpie -pie   -lrt -lgnutls -lssl -lcrypto
> > -lz -lpthread -ldl -rdynamic -lm
> > ffmpeg/libavformat/tls_openssl.o:(.data.rel.ro.local+0x0): multiple
> > definition of `ff_tls_protocol'
> > ffmpeg/libavformat/tls_gnutls.o:(.data.rel.ro.local+0x0): first defined here
> > collect2: error: ld returned 1 exit status
> > Makefile:746: recipe for target 'mplayer' failed
> > make: *** [mplayer] Error 1
> >
> > how to fix it?
>
> I think it should work if you disable GnuTLS:
>
>     ./configure --disable-gnutls --enable-openssl-nondistributable
>
> Can you confirm it works for you?

Should be fixed starting with MPlayer SVN r38339 .


  Alexander


More information about the MPlayer-users mailing list