[MPlayer-users] Name clash - base64_encode in PolarSSL and MPlayer

Clément Bœsch ubitux at gmail.com
Fri Dec 10 16:46:19 CET 2010


On Fri, Dec 10, 2010 at 11:32:29AM +0000, John Brown wrote:
> Hello All,
> 
> I compiled librtmp with PolarSSL for encryption support. The final
> link command to create mplayer.exe fails with:
> 
> c:/mingw/local/lib\libpolarssl.a(base64.o):base64.c:(.text+0x0): multiple defini
> tion of `base64_encode'^M
> stream/http.o:http.c:(.text+0x31d0): first defined here
> collect2: ld returned 1 exit status
> make: *** [mplayer.exe] Error 1
> 
> Should I:
> 
> 1) Build librtmp with one of the other supported encryption libs?
> 2) Build it without encryption?
> 3) Modify stream/http.c - something like
>    #ifndef HAVE_POLARSSL
>    int base64_encode(blah blah blah){/* etc. */}
>    #endif
> and then build with -DHAVE_POLARSSL
> 4) Do something else?
> 

This should not happen anymore since base64_encode function has been
replaced with FFmpeg equivalent; try with latest SVN.

> I am using Mingw/MSYS (gcc 4.5) on Windows
> 
> Regards,
> Alias John Brown.
> 
> 
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

-- 
Clément B.
Not sent from a jesusPhone.


More information about the MPlayer-users mailing list