cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: i cant link the library to my project

From: shadow <shadow.of.soul08_at_gmail.com>
Date: Sun, 09 Mar 2008 00:46:16 -0200

Hi,

i compiled now the lib from the source, and put in the compile #defines
of codeblocks the -DCURL_STATICLIB flag (when i press ok, it's converted
to CURL_STATICLIB it's the same? )

now i dont have the same errors than before when linking, now i have this:

C:\curl-7.18.0\lib/libcurl.a(sslgen.o):(.text+0x736): undefined
reference to `SSL_pending'
C:\curl-7.18.0\lib/libcurl.a(http_ntlm.o):(.text+0x235): undefined
reference to `DES_set_odd_parity'
C:\curl-7.18.0\lib/libcurl.a(http_ntlm.o):(.text+0x241): undefined
reference to `DES_set_key'
C:\curl-7.18.0\lib/libcurl.a(http_ntlm.o):(.text+0x28b): undefined
reference to `DES_ecb_encrypt'
C:\curl-7.18.0\lib/libcurl.a(http_ntlm.o):(.text+0x2b7): undefined
reference to `DES_ecb_encrypt'
C:\curl-7.18.0\lib/libcurl.a(http_ntlm.o):(.text+0x2df): undefined
reference to `DES_ecb_encrypt'
C:\curl-7.18.0\lib/libcurl.a(http_ntlm.o):(.text+0x338): undefined
reference to `MD4_Init'
C:\curl-7.18.0\lib/libcurl.a(http_ntlm.o):(.text+0x34b): undefined
reference to `MD4_Update'
C:\curl-7.18.0\lib/libcurl.a(http_ntlm.o):(.text+0x35a): undefined
reference to `MD4_Final'
C:\curl-7.18.0\lib/libcurl.a(http_ntlm.o):(.text+0x7ae): undefined
reference to `RAND_bytes'
C:\curl-7.18.0\lib/libcurl.a(http_ntlm.o):(.text+0x80e): undefined
reference to `MD5_Init'
C:\curl-7.18.0\lib/libcurl.a(http_ntlm.o):(.text+0x829): undefined
reference to `MD5_Update'
C:\curl-7.18.0\lib/libcurl.a(http_ntlm.o):(.text+0x83b): undefined
reference to `MD5_Final'
C:\curl-7.18.0\lib/libcurl.a(http_ntlm.o):(.text+0xd46): undefined
reference to `DES_ecb_encrypt'
C:\curl-7.18.0\lib/libcurl.a(http_ntlm.o):(.text+0xd7d): undefined
reference to `DES_ecb_encrypt'
C:\curl-7.18.0\lib/libcurl.a(content_encoding.o):(.text+0x5d): undefined
reference to `inflateEnd'
C:\curl-7.18.0\lib/libcurl.a(content_encoding.o):(.text+0xd7): undefined
reference to `inflate'
C:\curl-7.18.0\lib/libcurl.a(content_encoding.o):(.text+0x15f):
undefined reference to `inflateEnd'
C:\curl-7.18.0\lib/libcurl.a(content_encoding.o):(.text+0x182):
undefined reference to `inflateInit2_'
C:\curl-7.18.0\lib/libcurl.a(content_encoding.o):(.text+0x1ff):
undefined reference to `inflateEnd'
C:\curl-7.18.0\lib/libcurl.a(content_encoding.o):(.text+0x295):
undefined reference to `inflateInit_'
C:\curl-7.18.0\lib/libcurl.a(content_encoding.o):(.text+0x46d):
undefined reference to `zlibVersion'
C:\curl-7.18.0\lib/libcurl.a(content_encoding.o):(.text+0x4af):
undefined reference to `inflateInit2_'
C:\curl-7.18.0\lib/libcurl.a(content_encoding.o):(.text+0x509):
undefined reference to `inflateInit2_'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x97): undefined reference
to `RAND_status'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x107): undefined
reference to `RAND_load_file'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x115): undefined
reference to `RAND_screen'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x129): undefined
reference to `RAND_file_name'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x13f): undefined
reference to `RAND_load_file'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x240): undefined
reference to `X509_STORE_CTX_get_current_cert'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x248): undefined
reference to `X509_get_subject_name'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x263): undefined
reference to `X509_NAME_oneline'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x288): undefined
reference to `ERR_error_string_n'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x2a7): undefined
reference to `ENGINE_load_builtin_engines'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x2ac): undefined
reference to `SSL_load_error_strings'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x2b1): undefined
reference to `SSL_library_init'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x2c7): undefined
reference to `ERR_free_strings'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x303): undefined
reference to `SSL_peek'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x33c): undefined
reference to `ENGINE_by_id'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x358): undefined
reference to `ENGINE_init'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x379): undefined
reference to `ENGINE_finish'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x387): undefined
reference to `ENGINE_free'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x39e): undefined
reference to `ENGINE_free'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x3a3): undefined
reference to `ERR_get_error'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x42d): undefined
reference to `ENGINE_set_default'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x43f): undefined
reference to `ENGINE_get_id'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x464): undefined
reference to `ENGINE_get_id'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x49e): undefined
reference to `ENGINE_get_first'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x4a8): undefined
reference to `ENGINE_get_id'
C:\curl-7.18.0\lib/libcurl.a(ssluse.o):(.text+0x4c6): undefined
reference to `ENGINE_get_next'

it's going to be very appreciate if any can help me to use libcurl with
my app.

Regards,
Shadow.
Received on 2008-03-09