Re: ffmpeg/libavformat/tls_openssl.o:(.data.rel.ro.local+0x0): multiple definition of `ff_tls_protocol'
Alexander Strasser <[email protected]> Thu, 24 Feb 2022 17:57:16 +0100
| Newsgroups | gmane.comp.video.mplayer.user |
|---|---|
| Message-ID | <[email protected]> |
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