i386-mingw32msvc-g++: unrecognized option `-rdynamic'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x99): undefined reference to `_send@16'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0xa5): undefined reference to `_WSAGetLastError@0'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0xe9): undefined reference to `_closesocket@4'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x4ed): undefined reference to `_socket@12'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x509): undefined reference to `_inet_addr@4'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x52c): undefined reference to `_htons@4'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x56d): undefined reference to `_setsockopt@20'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x583): undefined reference to `_ioctlsocket@12'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x5b0): undefined reference to `_connect@12'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x5bb): undefined reference to `_WSAGetLastError@0'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x5fe): undefined reference to `_closesocket@4'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x627): undefined reference to `_ioctlsocket@12'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x677): undefined reference to `_ntohs@4'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x688): undefined reference to `_inet_ntoa@4'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x6a6): undefined reference to `_WSAGetLastError@0'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x78c): undefined reference to `_gethostbyname@4'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x7a6): undefined reference to `_inet_ntoa@4'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x884): undefined reference to `_gethostbyname@4'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x89b): undefined reference to `_WSAGetLastError@0'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x8b6): undefined reference to `_WSAGetLastError@0'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x991): undefined reference to `_gethostbyname@4'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0x9ab): undefined reference to `_inet_ntoa@4'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0xae1): undefined reference to `_gethostbyname@4'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0xb34): undefined reference to `_WSAGetLastError@0'
build/release/game/game/g_http_client.os:g_http_client.c:(.text+0xb4f): undefined reference to `_WSAGetLastError@0'
collect2: ld returned 1 exit status
scons: *** [build/release/game/libqagame.so] Error 1
scons: building terminated because of errors.
This is how the cross compiling ends after scons CC=i386-mingw32msvc-gcc CXX=i386-mingw32msvc-g++ BUILD=release
With scons CC=gcc CXX=g++ BUILD=release it works perfectly
http://linespeed.net/repos/etpub/trunk/src/ is the source code
Any1 know how to fix this?
Or is there perhaps an alternative to compile the code using wine and mingw?