#10807: [libunzip] does not cross-compile on X86_64 linux ------------------------------------------------+-------------------------- Reporter: starsseed | Owner: bonefish Type: bug | Status: new Priority: normal | Milestone: R1 Component: Kits/Package Kit | Version: Keywords: libunzip curl libcurl4-openssl-dev | R1/Development Blocking: | Blocked By: Platform: All | Has a Patch: 0 ------------------------------------------------+-------------------------- in ubuntu 14.04 libcurl4-openssl-dev, /usr/include/curl/curlbuild.h is different for x86 and X86_64 CURL_SIZEOF_LONG and CURL_SIZEOF_CURL_OFF_T are set to 4 for x86 and 8 for x86_64 [https://bugs.launchpad.net/ubuntu/+source/curl/+bug/723739] {{{ generated/objects/linux/x86/release/tools/unzip/libunzip.a In file included from /usr/include/curl/curl.h:35:0, from src/kits/package/FetchFileJob.cpp:15: /usr/include/curl/curlrules.h:143:41: error: size of array ‘__curl_rule_01__’ is negative [CurlchkszEQ(long, CURL_SIZEOF_LONG)]; ^ /usr/include/curl/curlrules.h:153:53: error: size of array ‘__curl_rule_02__’ is negative [CurlchkszEQ(curl_off_t, CURL_SIZEOF_CURL_OFF_T)]; }}} -- Ticket URL: <https://dev.haiku-os.org/ticket/10807> Haiku <https://dev.haiku-os.org> Haiku - the operating system.