[MPlayer-users] Can't link static librtmp w/ mingw-w64 32-bit toolchain

Josh joshf87 at live.com
Wed Mar 21 18:25:41 CET 2012


I made a post here already:
http://lists.mplayerhq.hu/pipermail/rtmpdump/2012-March/001885.html

Basically using rubenvb's mingw toolchain targetting 32-bit Windows from
mingw-w64, I can't seem to get the static librtmp to work with MPlayer
or find PolarSSL, I am unsure which. It'll use the shared dll but I need
static. I have no problems compiling rtmpdump.exe (&  other associated
files) and statically linking it with librtmp or libpolarssl (1.1.1).
Even if I force adding "-lpolarssl" in MPlayer's configure script  that
doesn't work, but it should know from librtmp.pc already. I have tried
different versions of the toolchain. I'm also aware that rtmpdump tries
to reference "havege_rand" instead of "havege_random" and already fixed
that. I also tried setting CPATH and LIBRARY_PATH in librtmp.

I have successfully built statically with the mingw.org toolchain, but I
would like to switch away from that because I don't think it is as
"mature". For one they don't feel largefile support should be enabled by
default, definitions they feel should be left out that cause problems compiling,
etc.

I've compiled about 30 other libs haven't identified any issues with
them in MPlayer in this toolchain.

The "bad reloc address" does not appear in 4.6.3.

#include<librtmp/rtmp.h>
int main(void) { RTMP_Socket(NULL); return 0; }

gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith
-Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement
-std=gnu99 -Werror-implicit-function-declaration -O4 -march=native
-mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize
/tmp/mplayer-configure-3859-9572/tmp.c -Ilibdvdread4 -I. -Iffmpeg
-fno-common  -static -lm  -lwinmm -ffast-math -lws2_32 -lz -ladvapi32
-lole32  -lopengl32 -lgdi32 -lwinmm -lgdi32  -o
/tmp/mplayer-configure-3859-9572/tmp.exe -lrtmp
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x22b):
undefined reference to `mpi_init'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x243):
undefined reference to `mpi_lset'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x24f):
undefined reference to `mpi_cmp_mpi'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x263):
undefined reference to `mpi_copy'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x277):
undefined reference to `mpi_sub_int'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x283):
undefined reference to `mpi_cmp_mpi'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x2a7):
undefined reference to `mpi_exp_mod'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x2b7):
undefined reference to `mpi_cmp_int'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x2c8):
undefined reference to `mpi_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x39a):
undefined reference to `mpi_copy'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x3a9):
undefined reference to `mpi_copy'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x3c1):
undefined reference to `havege_random'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x3e5):
undefined reference to `dhm_make_public'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x3fc):
undefined reference to `mpi_init'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x413):
undefined reference to `mpi_init'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x426):
undefined reference to `mpi_copy'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x439):
undefined reference to `mpi_copy'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x44f):
undefined reference to `mpi_init'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x467):
undefined reference to `mpi_read_string'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x487):
undefined reference to `mpi_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x4a7):
undefined reference to `mpi_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x4bd):
undefined reference to `mpi_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x4de):
undefined reference to `mpi_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x544):
undefined reference to `sha2_hmac_starts'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x554):
undefined reference to `sha2_hmac_update'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x567):
undefined reference to `sha2_hmac_finish'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x671):
undefined reference to `sha2_hmac_starts'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x689):
undefined reference to `sha2_hmac_update'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x6a0):
undefined reference to `sha2_hmac_finish'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x6e3):
undefined reference to `arc4_setup'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x703):
undefined reference to `sha2_hmac_starts'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x71f):
undefined reference to `sha2_hmac_update'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x72f):
undefined reference to `sha2_hmac_finish'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x771):
undefined reference to `arc4_setup'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xaee):
undefined reference to `inet_addr at 4'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xb02):
undefined reference to `htons at 4'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xb50):
undefined reference to `inet_addr at 4'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xb5f):
undefined reference to `gethostbyname at 4'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xda1):
undefined reference to `mpi_init'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xdbe):
undefined reference to `mpi_init'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xdd8):
undefined reference to `mpi_read_string'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xde7):
undefined reference to `dhm_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xdf1):
undefined reference to `mpi_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xe06):
undefined reference to `mpi_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xe1c):
undefined reference to `mpi_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xe32):
undefined reference to `mpi_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xe63):
undefined reference to `mpi_lset'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xe91):
undefined reference to `mpi_size'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xece):
undefined reference to `mpi_write_binary'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xf0f):
undefined reference to `mpi_init'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xf23):
undefined reference to `mpi_read_binary'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xf41):
undefined reference to `mpi_init'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xf59):
undefined reference to `mpi_read_string'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xf79):
undefined reference to `mpi_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xf89):
undefined reference to `mpi_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xfb3):
undefined reference to `mpi_copy'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xfca):
undefined reference to `dhm_calc_secret'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x112c):
undefined reference to `havege_init'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x2371):
undefined reference to `ssl_read'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x2381):
undefined reference to `WSAGetLastError at 0'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x241c):
undefined reference to `recv at 16'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x25d2):
undefined reference to `send at 16'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x26d2):
undefined reference to `ssl_close_notify'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x26e0):
undefined reference to `ssl_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x2707):
undefined reference to `closesocket at 4'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x2925):
undefined reference to `dhm_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x292f):
undefined reference to `mpi_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x2944):
undefined reference to `mpi_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x295a):
undefined reference to `mpi_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x2970):
undefined reference to `mpi_free'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x2a72):
undefined reference to `arc4_crypt'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x2ad4):
undefined reference to `WSAGetLastError at 0'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x4218):
undefined reference to `arc4_crypt'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x43b1):
undefined reference to `timeGetTime at 0'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x43b9):
undefined reference to `htonl at 4'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x4573):
undefined reference to `ntohl at 4'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x493d):
undefined reference to `timeGetTime at 0'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x4945):
undefined reference to `htonl at 4'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x4d2a):
undefined reference to `arc4_crypt'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x4d57):
undefined reference to `arc4_crypt'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x533f):
undefined reference to `timeGetTime at 0'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x5347):
undefined reference to `htonl at 4'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x5393):
undefined reference to `timeGetTime at 0'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x539b):
undefined reference to `htonl at 4'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x5639):
undefined reference to `ntohl at 4'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x59f9):
undefined reference to `arc4_crypt'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x5a22):
undefined reference to `arc4_crypt'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x87d6):
undefined reference to `ssl_init'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x87ec):
undefined reference to `ssl_set_endpoint'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x8802):
undefined reference to `ssl_set_authmode'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x8813):
undefined reference to `havege_random'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x8821):
undefined reference to `ssl_set_rng'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x8829):
undefined reference to `ssl_default_ciphersuites'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x8837):
undefined reference to `ssl_set_ciphersuites'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x8863):
undefined reference to `ssl_set_session'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x8875):
undefined reference to `net_send'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x8881):
undefined reference to `net_recv'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x888f):
undefined reference to `ssl_set_bio'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x889d):
undefined reference to `ssl_handshake'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x8916):
undefined reference to `socket at 12'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x8940):
undefined reference to `connect at 12'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x89ad):
undefined reference to `htonl at 4'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x8a8c):
undefined reference to `setsockopt at 20'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x8ac1):
undefined reference to `setsockopt at 20'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x8afd):
undefined reference to `WSAGetLastError at 0'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x8b69):
undefined reference to `WSAGetLastError at 0'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x8e08):
undefined reference to `WSASetLastError at 4'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0xff9):
undefined reference to `timeGetTime at 0'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):rtmp.c:(.text+0x25b7):
undefined reference to `ssl_write'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/bin/ld.exe:
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/lib/../lib\librtmp.a(rtmp.o):
bad reloc address 0x54c in section `.rdata'
e:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.6.4/../../../../i686-w64-mingw32/bin/ld.exe:
final link failed: Invalid operation
collect2: ld returned 1 exit status


Result is: no



More information about the MPlayer-users mailing list