{"action":"created","issue":{"url":"https://api.github.com/repos/chloette/ffmpeg4android/issues/3","labels_url":"https://api.github.com/repos/chloette/ffmpeg4android/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/chloette/ffmpeg4android/issues/3/comments","events_url":"https://api.github.com/repos/chloette/ffmpeg4android/issues/3/events","html_url":"https://github.com/chloette/ffmpeg4android/issues/3","id":104932782,"number":3,"title":"build issue","user":{"login":"konshubl","id":1828017,"avatar_url":"https://avatars.githubusercontent.com/u/1828017?v=3","gravatar_id":"","url":"https://api.github.com/users/konshubl","html_url":"https://github.com/konshubl","followers_url":"https://api.github.com/users/konshubl/followers","following_url":"https://api.github.com/users/konshubl/following{/other_user}","gists_url":"https://api.github.com/users/konshubl/gists{/gist_id}","starred_url":"https://api.github.com/users/konshubl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konshubl/subscriptions","organizations_url":"https://api.github.com/users/konshubl/orgs","repos_url":"https://api.github.com/users/konshubl/repos","events_url":"https://api.github.com/users/konshubl/events{/privacy}","received_events_url":"https://api.github.com/users/konshubl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-04T17:22:49Z","updated_at":"2015-09-09T12:47:14Z","closed_at":null,"body":"when I run ./build_android.sh, I am getting the following output\r\n----\r\nConfigured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1\r\nConfigured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1\r\n/Users/eyan/Downloads/ffmpeg4android/ffmpeg-2.7.2/../../android-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc is unable to create an executable file.\r\nC compiler test failed.\r\n\r\nIf you think configure made a mistake, make sure you are using the latest\r\nversion from Git.  If the latest version fails, report the problem to the\r\nffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.\r\nInclude the log file \"config.log\" produced by configure as this will help\r\nsolve the problem.\r\n\r\n----\r\n\r\nmy build script is:\r\n\r\nNDK=$NDK_HOME\r\nSYSROOT=$NDK/platforms/android-9/arch-arm/\r\nTOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/\r\nif [ -d \"$TOOLCHAIN/linux-x86_64\" ]; then\r\n  TOOLCHAIN+=linux-x86_64\r\nelse #treat as darwin\r\n  TOOLCHAIN+=darwin-x86_64\r\nfi\r\nfunction build_one\r\n{\r\n./configure \\\r\n    --prefix=$PREFIX \\\r\n    --enable-shared \\\r\n    --disable-static \\\r\n    --disable-doc \\\r\n    --disable-ffmpeg \\\r\n    --disable-ffplay \\\r\n    --disable-ffprobe \\\r\n    --disable-ffserver \\\r\n    --disable-avdevice \\\r\n    --disable-doc \\\r\n    --disable-symver \\\r\n    --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \\\r\n    --target-os=linux \\\r\n    --arch=arm \\\r\n    --disable-debug \\\r\n    --enable-gpl \\\r\n    --enable-cross-compile \\\r\n    --sysroot=$SYSROOT \\\r\n    --extra-cflags=\"-Os -fpic $ADDI_CFLAGS\"  \\\r\n    --extra-ldflags=\"$ADDI_LDFLAGS -s\" \\\r\n    $ADDITIONAL_CONFIGURE_FLAG\r\n\r\n#make clean\r\n#make\r\n#make install\r\n}\r\nCPU=arm\r\nPREFIX=$(pwd)/android/$CPU \r\nADDI_CFLAGS=\"-marm\"\r\nbuild_one\r\n\r\n-------\r\nAny help would be appreciated. "},"comment":{"url":"https://api.github.com/repos/chloette/ffmpeg4android/issues/comments/138898210","html_url":"https://github.com/chloette/ffmpeg4android/issues/3#issuecomment-138898210","issue_url":"https://api.github.com/repos/chloette/ffmpeg4android/issues/3","id":138898210,"user":{"login":"chloette","id":4638046,"avatar_url":"https://avatars.githubusercontent.com/u/4638046?v=3","gravatar_id":"","url":"https://api.github.com/users/chloette","html_url":"https://github.com/chloette","followers_url":"https://api.github.com/users/chloette/followers","following_url":"https://api.github.com/users/chloette/following{/other_user}","gists_url":"https://api.github.com/users/chloette/gists{/gist_id}","starred_url":"https://api.github.com/users/chloette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chloette/subscriptions","organizations_url":"https://api.github.com/users/chloette/orgs","repos_url":"https://api.github.com/users/chloette/repos","events_url":"https://api.github.com/users/chloette/events{/privacy}","received_events_url":"https://api.github.com/users/chloette/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T12:47:14Z","updated_at":"2015-09-09T12:47:14Z","body":"Sorry to replay so late..\n\nYour make file looks good, i'm not sure why not the configure failed:\n/Users/eyan/Downloads/ffmpeg4android/ffmpeg-2.7.2/../../android-ndk-r10/\ntoolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc\nis unable to create an executable file.\n\nCan you check what you got if you input 'echo $NDK_HOME' in a terminal? (It\nseemsthe environment was not set correctly.)\n\nThanks,\nE\n\nOn Sat, Sep 5, 2015 at 9:20 PM, konshubl <notifications@github.com> wrote:\n\n> Yup I did. Wouldn't it output, file/directory not found if I didn't have\n> the NDK anyways?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/chloette/ffmpeg4android/issues/3#issuecomment-137955639>\n> .\n>\n"}}