[Vortex] MinGW & vortex lib problems
Robert M. Münch
robert.muench at robertmuench.de
Fri Feb 29 18:52:54 CET 2008
Hi, I made some steps further. Last problem left is now a linker problem,
if I try to create a BEEP application. I took the
"vortex-file-transfer-client.c" as a simple test app to see if it builds.
This is the output:
Compiler: Default compiler
Building Makefile:
"C:\Develop\beep\VortexLibraryW32-1.0.12-src\test\Makefile.win"
Führt make... aus
make.exe -f
"C:\Develop\beep\VortexLibraryW32-1.0.12-src\test\Makefile.win" all
g++.exe vortex-file-transfer-client.o -o
"vortex-file-transfer-client.exe" -L"C:/Programme/DevCpp/lib"
-L"C:/libs/mingw" -L"C:/libs/mingw" ../../../../libs/mingw/libvortex.a
../../../../libs/mingw/libaxl.a
../../../../Programme/DevCpp/lib/libws2_32.a
../../../../Programme/DevCpp/lib/libssl.a
../../../../Programme/DevCpp/lib/libcrypto.a
../../../../Programme/DevCpp/lib/libgdi32.a
../../../../Programme/DevCpp/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x231):
undefined reference to `WSAGetLastError at 0'
../../../../Programme/DevCpp/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x287):
undefined reference to `WSASetLastError at 4'
../../../../Programme/DevCpp/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x2b9):
undefined reference to `WSAGetLastError at 0'
../../../../Programme/DevCpp/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x2fc):
undefined reference to `WSASetLastError at 4'
../../../../Programme/DevCpp/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x339):
undefined reference to `WSAGetLastError at 0'
../../../../Programme/DevCpp/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x38e):
undefined reference to `WSASetLastError at 4'
../../../../Programme/DevCpp/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x3c9):
undefined reference to `WSAGetLastError at 0'
collect2: ld returned 1 exit status
make.exe: *** [vortex-file-transfer-client.exe] Error 1
Ausführung beendet
IMO the "WSAGetLastError" function etc. is contained in "libws2_32.a"
which is given on the command line. But still no luck. Is it contained in
a different lib?
Thanks.
--
Robert M. Münch
Mobile: +49 (177) 245 2802
http://www.robertmuench.de
More information about the Vortex
mailing list