On Sun, 29 Nov 2009, Mark Scheel wrote:

Please don't use mailing lists Digests if you intend to participate on the mailing list. It makes hideous mail subjects and makes it very hard for all of us to have a sensible conversation.

My first problem was that I could not get a clean build within the Android build system, but by configuring with the --without-zlib and --disable-ipv6 flags I was able to get the errors down to stropts.h and ifaddr.h related errors.

I know Android is a weirdo system, but I didn't expect that. Any chance you could educate us by showing the configure output when you run that on your system? And are you saying configure _failed_ when you didn't specify --without-zlib and --disable-ipv6? It is supposed to detect the absense by itself (as far as possible).

By hand modifying <curl-source>/lib/curl_config.h and commenting out all the related variables (eg (HAVE_STROPTS_H) for stropts and ifaddr I was able to get a clean build.

(Is it dangerous to comment out these variables, will the library be no good now.)

Those defines only tell if those header files are existing. If you can compile fine without those defines everything is fine and they aren't needed anyway!

I got a .a static library but have been unable to get it loaded into an Android project without an unknown fatal error from the Android Operating System.

Now my Andorid ignorance will show, but I don't know why that would happen or what possible extra magic that might be required to get things going... Do other configure + libtool based projects generally work when you build them for Android?

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to