curl-library
Lots of errors when try ro use self built OpenSSL and lincUrl with it
Date: Tue, 30 Aug 2011 17:43:57 +0300
('binary' encoding is not supported, stored as-is) ('binary' encoding is not supported, stored as-is) I haven't give up yet on libcurl with OpenSLL!
>
I built myself OpenSSL statically with the help of INSTALL.W32 and
http://stackoverflow.com/questions/197444/building-libcurl-with-ssl-support-on-windows/7231376
>
So I receive libeay32.lib and ssleay32.lib. Then I've built libcurl
following the instructions in INSTALL.W32 file in lubcurl folder
for Visual C++. I receive libcurl.lib. Now I'm trying to use then in
my project, but it's on MinGW with Eclipce.
>
I try to build with
>
>
g++ -DCURL_STATICLIB -DUSE_SSLEAY -DUSE_OPENSSL -O0 -g3 -Wall -c
-fmessage-length=0 -osrc\main.o ..\src\main.cpp
>
g++ -L..\lib -oYTUploader.exe src\main.o -llibcurl -llibeay32
-lssleay32 -lws2_32 -lwldap32
>
>
but receive a lots of errors like
>
>
..\lib/libeay32.lib(tmp32/asn_mime.obj):(.text[_SMIME_text]+0x6):
undefined reference to `_chkstk'
..\lib/libeay32.lib(tmp32/asn_mime.obj):(.text[_SMIME_text]+0xb):
undefined reference to `__security_cookie'
..\lib/libeay32.lib(tmp32/asn_mime.obj):(.text[_SMIME_text]+0x63):
undefined reference to `@__security_check_cookie_at_4'
..\lib/libeay32.lib(tmp32/asn_mime.obj):(.text[_SMIME_text]+0x19e):
undefined reference to `@__security_check_cookie_at_4'
..\lib/libeay32.lib(tmp32/ech_ossl.obj):(.text[_ecdh_compute_key]+0x6):
undefined reference to `_chkstk'
..\lib/libeay32.lib(tmp32/bio_asn1.obj):(.text[_asn1_bio_set_ex]+0x6):
undefined reference to `_chkstk'
..\lib/libeay32.lib(tmp32/bio_asn1.obj):(.text[_asn1_bio_get_ex]+0x6):
undefined reference to `_chkstk'
..\lib/libeay32.lib(tmp32/bio_asn1.obj):(.text[_BIO_asn1_set_prefix]+0x6):
undefined reference to `_chkstk'
..\lib/libeay32.lib(tmp32/bio_asn1.obj):(.text[_BIO_asn1_get_prefix]+0x6):
undefined reference to `_chkstk'
..\lib/libeay32.lib(tmp32/bio_asn1.obj):(.text[_BIO_asn1_set_suffix]+0x6):
more undefined references to `_chkstk' follow
..\lib/ssleay32.lib(tmp32/ssl_lib.obj):(.text[_SSL_has_matching_session_id]+0xb):
undefined reference to `__security_cookie'
>
>
Can someone suggest what is wrong this time?
>
('binary' encoding is not supported, stored as-is)
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-30