Results 1 to 4 of 4

Thread: android ndk error

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Beans
    188

    android ndk error

    hi guys ,
    i'm using ubuntu 12.10 beta 2.
    before with ubuntu 12.04 i have used android ndk r8
    and it was working just fine .
    now with 12.10 beta 2 i tried ndk r8b and ndk r8 , with both producing the same error when trying to build sample code .
    the error :
    Code:
    :~/Android/android-ndk/samples/san-angeles/jni$ ndk-build 
    make: /home/mixpro/Android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found
    make: /home/mixpro/Android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found
    Compile thumb  : sanangeles <= importgl.c
    make: /home/mixpro/Android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found
    make: *** [/home/mixpro/Android/android-ndk/samples/san-angeles/obj/local/armeabi/objs/sanangeles/importgl.o] Error 127
    i'm asking this here cause i think its an ubuntu problem .
    can someone help pls.
    cause until now nobody can answer me .
    -----5h7p5-5-0--3-1-1h3p1-1-0----------------------------
    --------------------------------------3-1-3-1h3p1------------
    -----------------------------------------------------2-0-------
    but classical

  2. #2
    Join Date
    Aug 2011
    Beans
    31

    Re: android ndk error

    Quote Originally Posted by mIXpRo View Post
    hi guys ,
    i'm using ubuntu 12.10 beta 2.
    before with ubuntu 12.04 i have used android ndk r8
    and it was working just fine .
    now with 12.10 beta 2 i tried ndk r8b and ndk r8 , with both producing the same error when trying to build sample code .
    the error :
    Code:
    :~/Android/android-ndk/samples/san-angeles/jni$ ndk-build 
    make: /home/mixpro/Android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found
    make: /home/mixpro/Android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found
    Compile thumb  : sanangeles <= importgl.c
    make: /home/mixpro/Android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found
    make: *** [/home/mixpro/Android/android-ndk/samples/san-angeles/obj/local/armeabi/objs/sanangeles/importgl.o] Error 127
    i'm asking this here cause i think its an ubuntu problem .
    can someone help pls.
    cause until now nobody can answer me .
    Considered trying Ubuntu 12.04 RC instead of the BETA?

  3. #3
    Join Date
    Nov 2009
    Beans
    188

    Re: android ndk error

    u mean 12.10 rc , it's not out yet .
    -----5h7p5-5-0--3-1-1h3p1-1-0----------------------------
    --------------------------------------3-1-3-1h3p1------------
    -----------------------------------------------------2-0-------
    but classical

  4. #4
    Join Date
    Nov 2009
    Beans
    188

    Re: android ndk error

    i solved the problem ,
    the default compress file manager in ubuntu wasn't extracting symbolic links ,
    so i tried : tar jxf filename.tar.bz2
    to untar the ndk.tar.bz2 and now it works fine
    -----5h7p5-5-0--3-1-1h3p1-1-0----------------------------
    --------------------------------------3-1-3-1h3p1------------
    -----------------------------------------------------2-0-------
    but classical

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •