7 Replies Latest reply on Dec 6, 2015 9:32 AM by Joydeep Chakraborty

    Extension build failed: RhoStudio 5.0.2 in Mac OS X

    Elias Valencia

      Hi, my name is Elias, and i have a promblem when i try to build my Android app in RhoStudio 5.0.2. My OS is Mac OS X 10.9.4

       

      This is the error:

       

      Extension build failed: /Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/lib/commonAPI/coreapi/ext/platform/android

      /Users/evalencia/.rvm/gems/ruby-1.9.3-p551@global/bin/ruby_executable_hooks:15:in `eval'

      /Users/evalencia/.rvm/gems/ruby-1.9.3-p551@global/bin/ruby_executable_hooks:15:in `<main>'

      Tasks: TOP => arch:arm => /Users/evalencia/workspace/RhoMobileApplication1/bin/target/android/debug/extensions/coreapi/armeabi/libcoreapi.a => /Users/evalencia/workspace/RhoMobileApplication1/bin/tmp/coreapi/arm/application_ruby_api.c.o

      (See full trace by running task with --trace)

      --------------------------------------------------------------------------------

      PWD: /Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/lib/commonAPI/coreapi

      /Users/evalencia/Downloads/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot /Users/evalencia/Downloads/android-ndk-r10d/platforms/android-21/arch-arm -fPIC -Wall -Wextra -Wno-sign-compare -Wno-unused -mandroid -DANDROID -DOS_ANDROID -DRHO_DEBUG -g -O1 -fstack-protector-all -D_DEBUG -Winit-self -Wshadow -Wcast-align -Wvla -Wstack-protector -I"/Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/lib/commonAPI/coreapi/ext/platform/android/generated/jni" -I"/Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/lib/commonAPI/coreapi/ext/platform/android/../../shared" -I"/Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/platform/android/Rhodes/jni/include" -I"/Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/platform/android/Rhodes/jni/include/rhodes/details" -I"/Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/platform/shared/ruby/include" -I"/Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/platform/shared" -I"/Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/platform/shared/common" -I"/Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/platform/shared/api_generator" -I"/Users/evalencia/workspace/RhoMobileApplication1/bin/tmp/include" -I"/Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/platform/shared/ruby" -I"/Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/platform/shared/ruby/android" -I"/Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/platform/shared/ruby/generated" -c "ext/shared/generated/application_ruby_api.c" -o "/Users/evalencia/workspace/RhoMobileApplication1/bin/tmp/coreapi/arm/application_ruby_api.c.o"

      In file included from /Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/platform/shared/ruby/include/ruby/ruby.h:25:0,

                       from /Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/platform/shared/ruby/include/ruby.h:32,

                       from ext/shared/generated/application_ruby_api.c:1:

      [31m/Users/evalencia/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/gems/1.9.1/gems/rhodes-5.0.2/platform/shared/ruby/android/ruby/config.h:308:24: fatal error: asm/page.h: No such file or directory

      [0m #  include <asm/page.h>

                              ^

      compilation terminated.

      /Users/evalencia/.rvm/gems/ruby-1.9.3-p551@global/bin/ruby_executable_hooks:15:in `eval'

      /Users/evalencia/.rvm/gems/ruby-1.9.3-p551@global/bin/ruby_executable_hooks:15:in `<main>'

      Tasks: TOP => run:android:device => device:android:debug => package:android => build:android:all => build:android:rhobundle => build:android:extensions

      (See full trace by running task with --trace)

      RET: 1

      Error in build application. Build is terminated.