Re: ffmpeg/libavformat/tls_openssl.o:(.data.rel.ro.local+0x0): multiple definition of `ff_tls_protocol'
Alexander Strasser <[email protected]>
| Newsgroups | gmane.comp.video.mplayer.user |
|---|---|
| Message-ID | <[email protected]> |
Hi!
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?
Alexander
_______________________________________________
MPlayer-users mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users