Цитата(Litkevich Yuriy @ 3.7.2009, 19:29)

Цитата(SABROG @ 3.7.2009, 22:10)

Явно идет попытка вызвать .dll
дак это для динамической загрузки. Или нет?
Я то откуда знаю, указал опцию openssl-linked. Где-то вычитал, что нужно переименовать файлы libcrypto и libssl в libeay32 и libssleay32, на деле пришлось переименовывать файл libeay32 в liblibeay32 и все-равно я получаю это:
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -mthreads -Wl -shared -Wl,--out-implib,c:\SABROG\Qt46\qt\lib\libQtNetworkd4.a
-o ..\..\lib\QtNetworkd4.dll object_script.QtNetworkd.Debug -L"c:\SABROG\Qt46\
qt\lib" -L"c:\SABROG\openssl-SNAP-20090703" -L"c:\SABROG\Qt46\qt\lib" -lws2_32 t
mp\obj\debug_shared\QtNetworkd_resource_res.o -lssleay32 -llibeay32 -lQtCored4
Creating library file: c:\SABROG\Qt46\qt\lib\libQtNetworkd4.a
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(bss_sock.o):bss_sock.c:(.text+0x13
f): undefined reference to `shutdown@8'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(bss_sock.o):bss_sock.c:(.text+0x18
1): undefined reference to `WSASetLastError@4'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(bss_sock.o):bss_sock.c:(.text+0x1a
5): undefined reference to `send@16'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(bss_sock.o):bss_sock.c:(.text+0x24
9): undefined reference to `WSASetLastError@4'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(bss_sock.o):bss_sock.c:(.text+0x26
9): undefined reference to `recv@16'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(bss_sock.o):bss_sock.c:(.text+0x3a
f): undefined reference to `shutdown@8'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(rand_win.o):rand_win.c:(.text+0xda
0): undefined reference to `CreateDCA@16'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(rand_win.o):rand_win.c:(.text+0xda
f): undefined reference to `CreateCompatibleDC@4'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(rand_win.o):rand_win.c:(.text+0xdc
8): undefined reference to `GetDeviceCaps@8'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(rand_win.o):rand_win.c:(.text+0xde
3): undefined reference to `GetDeviceCaps@8'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(rand_win.o):rand_win.c:(.text+0xe0
4): undefined reference to `CreateCompatibleBitmap@12'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(rand_win.o):rand_win.c:(.text+0xe1
b): undefined reference to `SelectObject@8'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(rand_win.o):rand_win.c:(.text+0xe3
e): undefined reference to `GetObjectA@12'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(rand_win.o):rand_win.c:(.text+0xee
4): undefined reference to `BitBlt@36'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(rand_win.o):rand_win.c:(.text+0xef
b): undefined reference to `GetBitmapBits@12'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(rand_win.o):rand_win.c:(.text+0xf7
0): undefined reference to `SelectObject@8'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(rand_win.o):rand_win.c:(.text+0xf7
b): undefined reference to `DeleteObject@4'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(rand_win.o):rand_win.c:(.text+0xf8
8): undefined reference to `DeleteDC@4'
c:\SABROG\openssl-SNAP-20090703/liblibeay32.a(rand_win.o):rand_win.c:(.text+0xf9
5): undefined reference to `DeleteDC@4'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [..\..\lib\QtNetworkd4.dll] Error 1
mingw32-make[2]: Leaving directory `C:/SABROG/Qt46/qt/src/network'
mingw32-make[1]: *** [debug-all] Error 2
mingw32-make[1]: Leaving directory `C:/SABROG/Qt46/qt/src/network'
mingw32-make: *** [sub-network-make_default-ordered] Error 2
Явно не хватает прилинковки системных библиотек... Еще не решил как поступить, толи makefile исправить, толи попробовать собрать OpenSSL как shared.
Сообщение отредактировал SABROG - 3.7.2009, 19:06