jb@ubuntu:~/sdk/android/mydroid2.2$ make curl ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=2.2 TARGET_PRODUCT=generic TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR= TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm HOST_ARCH=x86 HOST_OS=linux HOST_BUILD_TYPE=release BUILD_ID=OPENMASTER ============================================ Header: out/target/product/generic/obj/include/libcurl/curl/curlbuild.h Header: out/target/product/generic/obj/include/libcurl/curl/curl.h Header: out/target/product/generic/obj/include/libcurl/curl/curlrules.h Header: out/target/product/generic/obj/include/libcurl/curl/curlver.h Header: out/target/product/generic/obj/include/libcurl/curl/easy.h Header: out/target/product/generic/obj/include/libcurl/curl/mprintf.h Header: out/target/product/generic/obj/include/libcurl/curl/multi.h Header: out/target/product/generic/obj/include/libcurl/curl/stdcheaders.h Header: out/target/product/generic/obj/include/libcurl/curl/typecheck-gcc.h Header: out/target/product/generic/obj/include/libcurl/curl/types.h target thumb C: curl <= external/curl/src/main.c In file included from external/curl/src/setup.h:41, from external/curl/src/main.c:22: external/curl/src/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/src/setup.h:41, from external/curl/src/main.c:22: external/curl/src/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition In file included from external/curl/src/main.c:72: bionic/libc/include/unistd.h: In function 'getpagesize': bionic/libc/include/unistd.h:176: warning: nested extern declaration of '__page_size' bionic/libc/include/unistd.h: In function '__getpageshift': bionic/libc/include/unistd.h:180: warning: nested extern declaration of '__page_shift' external/curl/src/main.c: In function 'checkpasswd': external/curl/src/main.c:1648: warning: implicit declaration of function 'getpass_r' external/curl/src/main.c:1648: warning: nested extern declaration of 'getpass_r' target thumb C: curl <= external/curl/src/hugehelp.c In file included from external/curl/src/setup.h:41, from external/curl/src/hugehelp.c:1: external/curl/src/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/src/setup.h:41, from external/curl/src/hugehelp.c:1: external/curl/src/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition target thumb C: curl <= external/curl/src/urlglob.c In file included from external/curl/src/setup.h:41, from external/curl/src/urlglob.c:24: external/curl/src/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/src/setup.h:41, from external/curl/src/urlglob.c:24: external/curl/src/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition target thumb C: curl <= external/curl/src/writeout.c In file included from external/curl/src/setup.h:41, from external/curl/src/writeout.c:23: external/curl/src/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/src/setup.h:41, from external/curl/src/writeout.c:23: external/curl/src/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition target thumb C: curl <= external/curl/src/writeenv.c In file included from external/curl/src/setup.h:41, from external/curl/src/writeenv.c:23: external/curl/src/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/src/setup.h:41, from external/curl/src/writeenv.c:23: external/curl/src/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition target thumb C: curl <= external/curl/src/getpass.c In file included from external/curl/src/setup.h:41, from external/curl/src/getpass.c:26: external/curl/src/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/src/setup.h:41, from external/curl/src/getpass.c:26: external/curl/src/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition target thumb C: curl <= external/curl/src/homedir.c In file included from external/curl/src/setup.h:41, from external/curl/src/homedir.c:23: external/curl/src/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/src/setup.h:41, from external/curl/src/homedir.c:23: external/curl/src/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition In file included from external/curl/src/homedir.c:33: bionic/libc/include/unistd.h: In function 'getpagesize': bionic/libc/include/unistd.h:176: warning: nested extern declaration of '__page_size' bionic/libc/include/unistd.h: In function '__getpageshift': bionic/libc/include/unistd.h:180: warning: nested extern declaration of '__page_shift' target thumb C: curl <= external/curl/src/curlutil.c In file included from external/curl/src/setup.h:41, from external/curl/src/curlutil.c:23: external/curl/src/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/src/setup.h:41, from external/curl/src/curlutil.c:23: external/curl/src/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition target thumb C: curl <= external/curl/src/os-specific.c In file included from external/curl/src/setup.h:41, from external/curl/src/os-specific.c:22: external/curl/src/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/src/setup.h:41, from external/curl/src/os-specific.c:22: external/curl/src/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition Install: out/host/linux-x86/bin/apriori Install: out/host/linux-x86/bin/soslim target thumb C: libcurl <= external/curl/lib/file.c In file included from external/curl/lib/setup.h:40, from external/curl/lib/file.c:23: external/curl/lib/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/lib/setup.h:40, from external/curl/lib/file.c:23: external/curl/lib/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition In file included from external/curl/lib/file.c:48: bionic/libc/include/unistd.h: In function 'getpagesize': bionic/libc/include/unistd.h:176: warning: nested extern declaration of '__page_size' bionic/libc/include/unistd.h: In function '__getpageshift': bionic/libc/include/unistd.h:180: warning: nested extern declaration of '__page_shift' target thumb C: libcurl <= external/curl/lib/timeval.c In file included from external/curl/lib/setup.h:40, from external/curl/lib/timeval.h:30, from external/curl/lib/timeval.c:23: external/curl/lib/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/lib/setup.h:40, from external/curl/lib/timeval.h:30, from external/curl/lib/timeval.c:23: external/curl/lib/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition target thumb C: libcurl <= external/curl/lib/base64.c In file included from external/curl/lib/setup.h:40, from external/curl/lib/base64.c:34: external/curl/lib/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/lib/setup.h:40, from external/curl/lib/base64.c:34: external/curl/lib/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition target thumb C: libcurl <= external/curl/lib/hostip.c In file included from external/curl/lib/setup.h:40, from external/curl/lib/hostip.c:23: external/curl/lib/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/lib/setup.h:40, from external/curl/lib/hostip.c:23: external/curl/lib/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition In file included from external/curl/lib/hostip.c:43: bionic/libc/include/unistd.h: In function 'getpagesize': bionic/libc/include/unistd.h:176: warning: nested extern declaration of '__page_size' bionic/libc/include/unistd.h: In function '__getpageshift': bionic/libc/include/unistd.h:180: warning: nested extern declaration of '__page_shift' target thumb C: libcurl <= external/curl/lib/progress.c In file included from external/curl/lib/setup.h:40, from external/curl/lib/progress.c:23: external/curl/lib/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/lib/setup.h:40, from external/curl/lib/progress.c:23: external/curl/lib/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition target thumb C: libcurl <= external/curl/lib/formdata.c In file included from external/curl/lib/setup.h:40, from external/curl/lib/formdata.c:104: external/curl/lib/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/lib/setup.h:40, from external/curl/lib/formdata.c:104: external/curl/lib/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition target thumb C: libcurl <= external/curl/lib/cookie.c In file included from external/curl/lib/setup.h:40, from external/curl/lib/cookie.c:80: external/curl/lib/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/lib/setup.h:40, from external/curl/lib/cookie.c:80: external/curl/lib/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition target thumb C: libcurl <= external/curl/lib/http.c In file included from external/curl/lib/setup.h:40, from external/curl/lib/http.c:23: external/curl/lib/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/lib/setup.h:40, from external/curl/lib/http.c:23: external/curl/lib/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition In file included from external/curl/lib/http.c:54: bionic/libc/include/unistd.h: In function 'getpagesize': bionic/libc/include/unistd.h:176: warning: nested extern declaration of '__page_size' bionic/libc/include/unistd.h: In function '__getpageshift': bionic/libc/include/unistd.h:180: warning: nested extern declaration of '__page_shift' target thumb C: libcurl <= external/curl/lib/sendf.c In file included from external/curl/lib/setup.h:40, from external/curl/lib/sendf.c:23: external/curl/lib/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/lib/setup.h:40, from external/curl/lib/sendf.c:23: external/curl/lib/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition In file included from external/curl/lib/sendf.c:35: bionic/libc/include/unistd.h: In function 'getpagesize': bionic/libc/include/unistd.h:176: warning: nested extern declaration of '__page_size' bionic/libc/include/unistd.h: In function '__getpageshift': bionic/libc/include/unistd.h:180: warning: nested extern declaration of '__page_shift' target thumb C: libcurl <= external/curl/lib/ftp.c In file included from external/curl/lib/setup.h:40, from external/curl/lib/ftp.c:23: external/curl/lib/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/lib/setup.h:40, from external/curl/lib/ftp.c:23: external/curl/lib/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition In file included from external/curl/lib/ftp.c:33: bionic/libc/include/unistd.h: In function 'getpagesize': bionic/libc/include/unistd.h:176: warning: nested extern declaration of '__page_size' bionic/libc/include/unistd.h: In function '__getpageshift': bionic/libc/include/unistd.h:180: warning: nested extern declaration of '__page_shift' target thumb C: libcurl <= external/curl/lib/url.c In file included from external/curl/lib/setup.h:40, from external/curl/lib/url.c:25: external/curl/lib/curl_config.h:420:1: warning: "HAVE_MALLOC_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:207:1: warning: this is the location of the previous definition In file included from external/curl/lib/setup.h:40, from external/curl/lib/url.c:25: external/curl/lib/curl_config.h:691:1: warning: "HAVE_SYS_UIO_H" redefined In file included from :0: ./system/core/include/arch/linux-arm/AndroidConfig.h:107:1: warning: this is the location of the previous definition In file included from external/curl/lib/url.c:48: bionic/libc/include/unistd.h: In function 'getpagesize': bionic/libc/include/unistd.h:176: warning: nested extern declaration of '__page_size' bionic/libc/include/unistd.h: In function '__getpageshift': bionic/libc/include/unistd.h:180: warning: nested extern declaration of '__page_shift' external/curl/lib/url.c:73:2: error: #error "We can't compile without socket() support!" make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/libcurl_intermediates/lib/url.o] Error 1