cURL / Mailing Lists / curl-library / Single Mail

curl-library

compile with mingw32 and libcurl

From: Waste-Productions.Com <info_at_waste-productions.com>
Date: Thu, 10 Apr 2003 02:19:17 -0700

hi, i just want to compile a bit of code with the mingw32. i've downloaded the curl-7.10.4-win32-ssl-devel-mingw32 package but i get the following errors:

Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\tray\Makefile.win"
Führt make... aus
make.exe -f "C:\Dev-Cpp\tray\Makefile.win" all
windres.exe -i tray_private.rc -I rc -o tray_private.res -O coff

gcc.exe tray.o tray_private.res -o "tray.exe" -L"C:/Dev-Cpp/lib" -mwindows ../lib/curl/libcurl.a ../lib/libwsock32.a ../lib/libpenwin32.a

../lib/curl/libcurl.a(url.o)(.text+0x791): undefined reference to `ENGINE_set_default'
../lib/curl/libcurl.a(url.o)(.text+0xc97): undefined reference to `ENGINE_by_id'
../lib/curl/libcurl.a(url.o)(.text+0xcbe): undefined reference to `ENGINE_free'
../lib/curl/libcurl.a(ssluse.o)(.text+0x86): undefined reference to `RAND_status'
../lib/curl/libcurl.a(ssluse.o)(.text+0xf5): undefined reference to `RAND_load_file'
../lib/curl/libcurl.a(ssluse.o)(.text+0x110): undefined reference to `RAND_screen'
../lib/curl/libcurl.a(ssluse.o)(.text+0x124): undefined reference to `RAND_file_name'
../lib/curl/libcurl.a(ssluse.o)(.text+0x13d): undefined reference to `RAND_load_file'
../lib/curl/libcurl.a(ssluse.o)(.text+0x4c6): undefined reference to `SSL_CTX_use_certificate_chain_file'
../lib/curl/libcurl.a(ssluse.o)(.text+0x51a): undefined reference to `SSL_CTX_use_PrivateKey_file'
../lib/curl/libcurl.a(ssluse.o)(.text+0x54c): undefined reference to `SSL_new'
../lib/curl/libcurl.a(ssluse.o)(.text+0x556): undefined reference to `SSL_get_certificate'
../lib/curl/libcurl.a(ssluse.o)(.text+0x566): undefined reference to `X509_get_pubkey'
../lib/curl/libcurl.a(ssluse.o)(.text+0x570): undefined reference to `SSL_get_privatekey'
../lib/curl/libcurl.a(ssluse.o)(.text+0x579): undefined reference to `EVP_PKEY_copy_parameters'
../lib/curl/libcurl.a(ssluse.o)(.text+0x581): undefined reference to `EVP_PKEY_free'
../lib/curl/libcurl.a(ssluse.o)(.text+0x58d): undefined reference to `SSL_free'
../lib/curl/libcurl.a(ssluse.o)(.text+0x59d): undefined reference to `SSL_CTX_check_private_key'
../lib/curl/libcurl.a(ssluse.o)(.text+0x5ee): undefined reference to `UI_OpenSSL'
../lib/curl/libcurl.a(ssluse.o)(.text+0x61d): undefined reference to `ENGINE_load_private_key'
../lib/curl/libcurl.a(ssluse.o)(.text+0x638): undefined reference to `SSL_CTX_use_PrivateKey'

../lib/curl/libcurl.a(ssluse.o)(.text+0x653): undefined reference to `EVP_PKEY_free'
../lib/curl/libcurl.a(ssluse.o)(.text+0x661): undefined reference to `EVP_PKEY_free'
../lib/curl/libcurl.a(ssluse.o)(.text+0x6a4): undefined reference to `SSL_CTX_use_certificate_file'
../lib/curl/libcurl.a(ssluse.o)(.text+0x6be): undefined reference to `SSL_CTX_set_default_passwd_cb_userdata'

../lib/curl/libcurl.a(ssluse.o)(.text+0x6d4): undefined reference to `SSL_CTX_set_default_passwd_cb'
../lib/curl/libcurl.a(ssluse.o)(.text+0x6ee): undefined reference to `X509_STORE_CTX_get_current_cert'
../lib/curl/libcurl.a(ssluse.o)(.text+0x703): undefined reference to `X509_get_subject_name'
../lib/curl/libcurl.a(ssluse.o)(.text+0x70b): undefined reference to `X509_NAME_oneline'
../lib/curl/libcurl.a(ssluse.o)(.text+0x73d): undefined reference to `SSL_load_error_strings'
../lib/curl/libcurl.a(ssluse.o)(.text+0x763): undefined reference to `ERR_free_strings'
../lib/curl/libcurl.a(ssluse.o)(.text+0x768): undefined reference to `EVP_cleanup'
../lib/curl/libcurl.a(ssluse.o)(.text+0x79e): undefined reference to `ERR_remove_state'
../lib/curl/libcurl.a(ssluse.o)(.text+0x7c7): undefined reference to `SSL_CTX_free'

../lib/curl/libcurl.a(ssluse.o)(.text+0x7df): undefined reference to `SSL_shutdown'
../lib/curl/libcurl.a(ssluse.o)(.text+0x7ec): undefined reference to `SSL_set_connect_state'
../lib/curl/libcurl.a(ssluse.o)(.text+0x7f9): undefined reference to `SSL_free'
../lib/curl/libcurl.a(ssluse.o)(.text+0x975): undefined reference to `SSL_SESSION_free'
../lib/curl/libcurl.a(ssluse.o)(.text+0xa1f): undefined reference to `ENGINE_free'
../lib/curl/libcurl.a(ssluse.o)(.text+0xa62): undefined reference to `SSL_get1_session'
../lib/curl/libcurl.a(ssluse.o)(.text+0x1123): undefined reference to `SSLv23_client_method'
../lib/curl/libcurl.a(ssluse.o)(.text+0x112c): undefined reference to `SSL_CTX_new'
../lib/curl/libcurl.a(ssluse.o)(.text+0x117b): undefined reference to `SSL_CTX_set_verify'
../lib/curl/libcurl.a(ssluse.o)(.text+0x11ad): undefined reference to `SSL_CTX_load_verify_locations'

../lib/curl/libcurl.a(ssluse.o)(.text+0x11c7): undefined reference to `SSL_new'
../lib/curl/libcurl.a(ssluse.o)(.text+0x11d5): undefined reference to `SSL_set_connect_state'
../lib/curl/libcurl.a(ssluse.o)(.text+0x1204): undefined reference to `SSL_set_fd'
../lib/curl/libcurl.a(ssluse.o)(.text+0x12ce): undefined reference to `SSL_connect'
../lib/curl/libcurl.a(ssluse.o)(.text+0x12e9): undefined reference to `SSL_get_error'
../lib/curl/libcurl.a(ssluse.o)(.text+0x13a1): undefined reference to `SSL_get_current_cipher'
../lib/curl/libcurl.a(ssluse.o)(.text+0x13a9): undefined reference to `SSL_CIPHER_get_name'

../lib/curl/libcurl.a(ssluse.o)(.text+0x13d8): undefined reference to `SSL_get_peer_certificate'
../lib/curl/libcurl.a(ssluse.o)(.text+0x1421): undefined reference to `X509_get_subject_name'
../lib/curl/libcurl.a(ssluse.o)(.text+0x1429): undefined reference to `X509_NAME_oneline'
../lib/curl/libcurl.a(ssluse.o)(.text+0x144b): undefined reference to `CRYPTO_free'
../lib/curl/libcurl.a(ssluse.o)(.text+0x14af): undefined reference to `X509_get_subject_name'

../lib/curl/libcurl.a(ssluse.o)(.text+0x14b7): undefined reference to `X509_NAME_get_text_by_NID'
../lib/curl/libcurl.a(ssluse.o)(.text+0x1505): undefined reference to `X509_free'
../lib/curl/libcurl.a(ssluse.o)(.text+0x1531): undefined reference to `X509_get_issuer_name'
../lib/curl/libcurl.a(ssluse.o)(.text+0x1539): undefined reference to `X509_NAME_oneline'
../lib/curl/libcurl.a(ssluse.o)(.text+0x1557): undefined reference to `CRYPTO_free'
../lib/curl/libcurl.a(ssluse.o)(.text+0x157d): undefined reference to `X509_free'
../lib/curl/libcurl.a(ssluse.o)(.text+0x1597): undefined reference to `SSL_get_verify_result'
../lib/curl/libcurl.a(ssluse.o)(.text+0x15da): undefined reference to `X509_free'
../lib/curl/libcurl.a(ssluse.o)(.text+0x1647): undefined reference to `ERR_error_string'
../lib/curl/libcurl.a(ssluse.o)(.text+0x16cd): undefined reference to `SSL_set_session'
../lib/curl/libcurl.a(ssluse.o)(.text+0x170d): undefined reference to `SSL_CTX_set_verify'
../lib/curl/libcurl.a(ssluse.o)(.text+0x1724): undefined reference to `SSL_CTX_set_cipher_list'
../lib/curl/libcurl.a(ssluse.o)(.text+0x179c): undefined reference to `SSLv3_client_method'
../lib/curl/libcurl.a(ssluse.o)(.text+0x17a6): undefined reference to `SSLv2_client_method'
../lib/curl/libcurl.a(ssluse.o)(.text+0x17b0): undefined reference to `TLSv1_client_method'

../lib/curl/libcurl.a(ssluse.o)(.text+0x745): undefined reference to `SSL_library_init'
../lib/curl/libcurl.a(telnet.o)(.text+0x163e): undefined reference to `WSACreateEvent_at_0'
../lib/curl/libcurl.a(telnet.o)(.text+0x1665): undefined reference to `WSAEventSelect_at_12'
../lib/curl/libcurl.a(telnet.o)(.text+0x16b8): undefined reference to `WSAEnumNetworkEvents_at_12'
../lib/curl/libcurl.a(sendf.o)(.text+0x359): undefined reference to `SSL_write'

../lib/curl/libcurl.a(sendf.o)(.text+0x38a): undefined reference to `SSL_get_error'
../lib/curl/libcurl.a(sendf.o)(.text+0x52f): undefined reference to `SSL_read'
../lib/curl/libcurl.a(sendf.o)(.text+0x555): undefined reference to `SSL_get_error'
../lib/curl/libcurl.a(timeval.o)(.text+0x9): undefined reference to `timeGetTime_at_0'
../lib/curl/libcurl.a(content_encoding.o)(.text+0xeb): undefined reference to `inflateEnd'
../lib/curl/libcurl.a(content_encoding.o)(.text+0x157): undefined reference to `inflate'
../lib/curl/libcurl.a(content_encoding.o)(.text+0x1a9): undefined reference to `inflateEnd'
../lib/curl/libcurl.a(content_encoding.o)(.text+0x1fa): undefined reference to `inflateInit_'

make.exe: *** [tray.exe] Error 1

Ausführung beendet

what shall i do?

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
Received on 2003-04-10