I need to compile libcurl to make libcurl.a for https: how do I get the compile to work?

Hello,

I’ve downloaded the cURL source code, read the docs, and tried the suggested ways of building it:

./configure [with optional args]
make

…the problem is I want to make a libcurl.a like the one that ships with Cocos2dx, which has both armv7 and iOS code in it. It’s been difficult but I was finally able to get a static libcurl.a, however it apparently compiled with no code in it because I’m getting the messages:

libtool: link: ranlib .libs/libcurl.a
ranlib: file: .libs/libcurl.a(libcurl_la-ldap.o) has no symbols
ranlib: file: .libs/libcurl.a(libcurl_la-ssluse.o) has no symbols
ranlib: file: .libs/libcurl.a(libcurl_la-security.o) has no symbols
ranlib: file: .libs/libcurl.a(libcurl_la-krb4.o) has no symbols
ranlib: file: .libs/libcurl.a(libcurl_la-krb5.o) has no symbols
ranlib: file: .libs/libcurl.a(libcurl_la-memdebug.o) has no symbols
ranlib: file: .libs/libcurl.a(libcurl_la-strtok.o) has no symbols
……

I’ve downloaded the bleeding edge of Cocos2dx hoping to find how it was compiled there, but no luck. So all I’m asking is, what are the incantations to build a libcurl.a on a Mac for i386 and armv7 architectures? It shouldn’t be this hard…but ending apparently empty libcurl.a has be at the end of my rope. Thanks in advance for any help.

Regards,

Robert

why do you need to do that ?
I had some issues with https too, but i thought it was fixed already:
http://www.cocos2d-x.org/boards/6/topics/24946

I’m using an older version of Cocos2d-x and cannot upgrade at this time.

franck - wrote:

why do you need to do that ?
I had some issues with https too, but i thought it was fixed already:
http://www.cocos2d-x.org/boards/6/topics/24946