Mailing Lists
|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1216 configure failing to enable threaded resolver on android
From: Duncan <duncantebbs_at_users.sf.net>
Date: Thu, 11 Apr 2013 12:59:10 +0000
I should have been clearer. The library file is not available in the NDK, but the header is, and it seems that the android tools just know that pthread is available at runtime. So there is no need to specify -lpthread on the link line and doing so causes the error.
Also, we are only using the library, not the executable. I guess it's possible that libpthread.a or .so would be required for an executable build (although if our .so build succeeds without it then guess it isn't necessary), but I just need the library with --enable-threaded-resolver working.
--- ** [bugs:#1216] configure failing to enable threaded resolver on android** **Status:** open **Created:** Thu Apr 11, 2013 05:41 AM UTC by Duncan **Last Updated:** Thu Apr 11, 2013 11:31 AM UTC **Owner:** Daniel Stenberg Following the "Method using a configure cross-compile (tested with Android NDK r7c, r8)" build instructions, configure always outputs: resolver: default because the check for pthread_create tries to use -lpthread on the link line, and arm-linux-androideabi-gcc is unable to find any pthread file. Currently I'm working around this by patching the configure script because I don't know enough about automake to make the proper fix. --- Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/curl/bugs/1216/> To unsubscribe from further messages, please visit <https://sourceforge.net/auth/subscriptions/>Received on 2013-04-11 These mail archives are generated by hypermail. |
Page updated January 05, 2012.
web site info