{"action":"created","issue":{"url":"https://api.github.com/repos/ARDroneSDK3/ARSDKBuildUtils/issues/10","labels_url":"https://api.github.com/repos/ARDroneSDK3/ARSDKBuildUtils/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/ARDroneSDK3/ARSDKBuildUtils/issues/10/comments","events_url":"https://api.github.com/repos/ARDroneSDK3/ARSDKBuildUtils/issues/10/events","html_url":"https://github.com/ARDroneSDK3/ARSDKBuildUtils/issues/10","id":54471869,"number":10,"title":"libcurl.so: attempt to map 40 bytes at offset 277380 exceeds size of file; the file may be corrupt","user":{"login":"weaversa","id":7407930,"avatar_url":"https://avatars.githubusercontent.com/u/7407930?v=3","gravatar_id":"","url":"https://api.github.com/users/weaversa","html_url":"https://github.com/weaversa","followers_url":"https://api.github.com/users/weaversa/followers","following_url":"https://api.github.com/users/weaversa/following{/other_user}","gists_url":"https://api.github.com/users/weaversa/gists{/gist_id}","starred_url":"https://api.github.com/users/weaversa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weaversa/subscriptions","organizations_url":"https://api.github.com/users/weaversa/orgs","repos_url":"https://api.github.com/users/weaversa/repos","events_url":"https://api.github.com/users/weaversa/events{/privacy}","received_events_url":"https://api.github.com/users/weaversa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-15T16:42:03Z","updated_at":"2015-01-22T15:50:32Z","closed_at":null,"body":"So, after searching for a bit, this may not be a problem with your SDK, but maybe a problem with my Android installation. However, I don't know for sure, so if you have any ideas, I would appreciate hearing them. I do have both Android 19 and Android 21 installed using the `android` command-line tool.\r\n\r\n```\r\n./SDK3Build.py\r\n<snip>\r\n/bin/sh ./libtool    --mode=link arm-linux-androideabi-gcc  -O3 -I/usr/local/packages/libAR/ARSDKBuildUtils/../libARUtils/Build/../Includes -I/usr/local/packages/libAR/ARSDKBuildUtils/../libARUtils/Build/../Sources -I/usr/local/packages/libAR/ARSDKBuildUtils/Targets/Android/Install/armeabi/include -I/usr/local/packages/libAR/ARSDKBuildUtils/Targets/Android/Install/armeabi/include  -llog -lz -L/usr/local/packages/libAR/ARSDKBuildUtils/Targets/Android/Install/armeabi/lib -larsal -L/usr/local/packages/libAR/ARSDKBuildUtils/Targets/Android/Install/armeabi/lib -lcurl -avoid-version -o libarutils.la -rpath /usr/local/packages/libAR/ARSDKBuildUtils/Targets/Android/Install/armeabi/lib  ARUTILS_Error.lo ARUTILS_Manager.lo ARUTILS_FileSystem.lo ARUTILS_Http.lo ARUTILS_WifiFtp.lo   \r\nlibtool: link: arm-linux-androideabi-gcc -shared  -fPIC -DPIC  .libs/ARUTILS_Error.o .libs/ARUTILS_Manager.o .libs/ARUTILS_FileSystem.o .libs/ARUTILS_Http.o .libs/ARUTILS_WifiFtp.o   -Wl,-rpath -Wl,/usr/local/packages/libAR/ARSDKBuildUtils/Targets/Android/Install/armeabi/lib -Wl,-rpath -Wl,/usr/local/packages/libAR/ARSDKBuildUtils/Targets/Android/Install/armeabi/lib -L/usr/local/packages/libAR/ARSDKBuildUtils/Targets/Android/Install/armeabi/lib /usr/local/packages/libAR/ARSDKBuildUtils/Targets/Android/Install/armeabi/lib/libarsal.so /usr/local/packages/libAR/ARSDKBuildUtils/Targets/Android/Install/armeabi/lib/libcurl.so -llog -lz  -O3   -Wl,-soname -Wl,libarutils.so -o .libs/libarutils.so\r\n/usr/local/Android/toolchain-arm/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: fatal error: /usr/local/packages/libAR/ARSDKBuildUtils/Targets/Android/Install/armeabi/lib/libcurl.so: attempt to map 40 bytes at offset 277380 exceeds size of file; the file may be corrupt\r\ncollect2: error: ld returned 1 exit status\r\nmake: *** [libarutils.la] Error 1\r\nError while running <make -j 8 install>\r\nFailed to build libARUtils\r\nReturning to </usr/local/packages/libAR/ARSDKBuildUtils>\r\nError while running Common_BuildConfigureLibrary with args:\r\n -- confdirSuffix -> armeabi\r\n -- target -> Android\r\n -- lib -> ARUtils\r\n -- noSharedObjects -> False\r\n -- extraArgs -> ['--host=arm-linux-androideabi', '--disable-static', '--enable-shared', 'LDFLAGS=\" -llog -lz\"', '--disable-so-version', 'CFLAGS=\" -march=armv5te\"']\r\n -- installSubDir -> armeabi\r\n -- isLib -> True\r\n -- inhouse -> False\r\n -- clean -> False\r\n -- debug -> False\r\n -- stripVersionNumber -> False\r\nError while running Android_BuildLibrary with args:\r\n -- nodeps -> False\r\n -- target -> Android\r\n -- lib -> ARUtils\r\n -- inhouse -> False\r\n -- clean -> False\r\n -- debug -> False\r\n<snip>\r\n```"},"comment":{"url":"https://api.github.com/repos/ARDroneSDK3/ARSDKBuildUtils/issues/comments/71041541","html_url":"https://github.com/ARDroneSDK3/ARSDKBuildUtils/issues/10#issuecomment-71041541","issue_url":"https://api.github.com/repos/ARDroneSDK3/ARSDKBuildUtils/issues/10","id":71041541,"user":{"login":"N-Bz","id":2073206,"avatar_url":"https://avatars.githubusercontent.com/u/2073206?v=3","gravatar_id":"","url":"https://api.github.com/users/N-Bz","html_url":"https://github.com/N-Bz","followers_url":"https://api.github.com/users/N-Bz/followers","following_url":"https://api.github.com/users/N-Bz/following{/other_user}","gists_url":"https://api.github.com/users/N-Bz/gists{/gist_id}","starred_url":"https://api.github.com/users/N-Bz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/N-Bz/subscriptions","organizations_url":"https://api.github.com/users/N-Bz/orgs","repos_url":"https://api.github.com/users/N-Bz/repos","events_url":"https://api.github.com/users/N-Bz/events{/privacy}","received_events_url":"https://api.github.com/users/N-Bz/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T15:50:32Z","updated_at":"2015-01-22T15:50:32Z","body":"Hi,\r\n\r\nI tried on a new linux computer with ndk r10d and had no problem, sot it may be an OSX specific issue ...\r\nCould you paste me the output of the following commands ?\r\n```\r\narm-linux-androideabi-gcc --version\r\nmipsel-linux-android-gcc --version\r\ni686-linux-android-gcc --version\r\n```\r\nSo I can test with the same toolchains as yours ? (Maybe the make-standalone-toolchain.sh does not select exactly the same version for linux and osx ?)\r\n\r\nNicolas.\r\n\r\n"}}