[MPlayer-users] Name clash - base64_encode in PolarSSL and MPlayer
John Brown
johnbrown105 at hotmail.com
Fri Dec 10 12:32:29 CET 2010
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?
I am using Mingw/MSYS (gcc 4.5) on Windows
Regards,
Alias John Brown.
More information about the MPlayer-users
mailing list