Post by Alex Epifanov on Jan 22, 2019 15:14:45 GMT
Вижу ошибки линковки
PWD: C:/RhoMobileSuite6.1/ruby/lib/ruby/gems/2.3.0/gems/rhodes-6.1
C:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc.exe -shared -Wl,--no-whole-archive -Wl,--no-undefined -Wl,-z,defs -fPIC -Wl,-soname,librhodes.so --sysroot C:/android-ndk-r15c/platforms/android-14/arch-arm -o "C:/tau/RhoMobileApplication1/bin/target/android/debug/librhodes/lib/armeabi/librhodes.so" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/RhoClassFactory.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/JNIRhoRuby.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/JNIRhoJS.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/bluetooth.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/callbacks.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/datetimepicker.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/event.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/fileapi.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/geolocation.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/logconf.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/logger.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/mapview.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/nativebar.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/nativeview.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/navbar.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/phonebook.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/rhoconf.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/rhodes.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/rhodesapp.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/rhodessystem.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/ringtones.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/socketimpl.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/splashscreen.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/sslimpl.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/webview.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/rhocryptimpl.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/extmanager.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/MethodExecutorJni.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/MethodResultJni.cpp.o" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/extensions/coreapi/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/extensions/decryptstub/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/extensions/gcm-push/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/sqlite/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/curl/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/ruby/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/json/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/rhocommon/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/rhodb/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/rholog/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/rhosync/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/rhomain/armeabi" -Wl,--whole-archive -lcoreapi -ldecryptstub -lgcm-push -Wl,--no-whole-archive -lsqlite -lcurl -lruby -ljson -lrhocommon -lrhodb -lrholog -lrhosync -lrhomain -lsqlite -lcurl -lsqlite -lruby -lsqlite -lcurl -ljson -lsqlite -lcurl -lruby -lrhocommon -lsqlite -lcurl -lruby -ljson -lrhodb -lsqlite -lcurl -lruby -ljson -lrhocommon -lrholog -lsqlite -lcurl -lruby -ljson -lrhocommon -lrhodb -lrhosync -lsqlite -lcurl -lruby -ljson -lrhocommon -lrhodb -lrholog -lrhomain -lsqlite -lcurl -lruby -ljson -lrhocommon -lrhodb -lrholog -lrhosync -landroid -llog -ldl -lz -LC:/android-ndk-r15c/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi -lgnustl_static -LC:/android-ndk-r15c/platforms/android-14/arch-arm/usr/lib -Wl,-rpath-link=C:/android-ndk-r15c/platforms/android-14/arch-arm/usr/lib C:/android-ndk-r15c/platforms/android-14/arch-arm/usr/lib/libc.so C:/android-ndk-r15c/platforms/android-14/arch-arm/usr/lib/libm.so
[31mC:/RhoMobileSuite6.1/ruby/lib/ruby/gems/2.3.0/gems/rhodes-6.1/platform/android/../../platform/shared/ruby/gc.c:7480: error: undefined reference to 'posix_memalign'
[0m [31mC:/RhoMobileSuite6.1/ruby/lib/ruby/gems/2.3.0/gems/rhodes-6.1/platform/android/../../platform/shared/ruby/gc.c:7524: error: undefined reference to 'malloc_usable_size'
[0m [31mC:/RhoMobileSuite6.1/ruby/lib/ruby/gems/2.3.0/gems/rhodes-6.1/platform/android/../../platform/shared/ruby/process.c:4573: error: undefined reference to 'getsid'
[0m [31mcollect2.exe: error: ld returned 1 exit status
[0m
Попробую разобраться попозже. Какая конкретно версия rhodes установлена?
UPD:
Вот проблема.
--sysroot C:/android-ndk-r15c/platforms/android-14/arch-arm
Нам нужен минимум android-19. Вы строите приложение по умолчанию? что в build.yml?
PWD: C:/RhoMobileSuite6.1/ruby/lib/ruby/gems/2.3.0/gems/rhodes-6.1
C:/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc.exe -shared -Wl,--no-whole-archive -Wl,--no-undefined -Wl,-z,defs -fPIC -Wl,-soname,librhodes.so --sysroot C:/android-ndk-r15c/platforms/android-14/arch-arm -o "C:/tau/RhoMobileApplication1/bin/target/android/debug/librhodes/lib/armeabi/librhodes.so" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/RhoClassFactory.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/JNIRhoRuby.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/JNIRhoJS.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/bluetooth.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/callbacks.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/datetimepicker.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/event.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/fileapi.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/geolocation.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/logconf.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/logger.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/mapview.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/nativebar.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/nativeview.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/navbar.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/phonebook.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/rhoconf.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/rhodes.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/rhodesapp.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/rhodessystem.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/ringtones.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/socketimpl.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/splashscreen.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/sslimpl.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/webview.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/rhocryptimpl.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/extmanager.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/MethodExecutorJni.cpp.o" "C:/tau/RhoMobileApplication1/bin/tmp/librhodes/arm/MethodResultJni.cpp.o" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/extensions/coreapi/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/extensions/decryptstub/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/extensions/gcm-push/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/sqlite/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/curl/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/ruby/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/json/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/rhocommon/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/rhodb/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/rholog/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/rhosync/armeabi" -L"C:/tau/RhoMobileApplication1/bin/target/android/debug/rhomain/armeabi" -Wl,--whole-archive -lcoreapi -ldecryptstub -lgcm-push -Wl,--no-whole-archive -lsqlite -lcurl -lruby -ljson -lrhocommon -lrhodb -lrholog -lrhosync -lrhomain -lsqlite -lcurl -lsqlite -lruby -lsqlite -lcurl -ljson -lsqlite -lcurl -lruby -lrhocommon -lsqlite -lcurl -lruby -ljson -lrhodb -lsqlite -lcurl -lruby -ljson -lrhocommon -lrholog -lsqlite -lcurl -lruby -ljson -lrhocommon -lrhodb -lrhosync -lsqlite -lcurl -lruby -ljson -lrhocommon -lrhodb -lrholog -lrhomain -lsqlite -lcurl -lruby -ljson -lrhocommon -lrhodb -lrholog -lrhosync -landroid -llog -ldl -lz -LC:/android-ndk-r15c/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi -lgnustl_static -LC:/android-ndk-r15c/platforms/android-14/arch-arm/usr/lib -Wl,-rpath-link=C:/android-ndk-r15c/platforms/android-14/arch-arm/usr/lib C:/android-ndk-r15c/platforms/android-14/arch-arm/usr/lib/libc.so C:/android-ndk-r15c/platforms/android-14/arch-arm/usr/lib/libm.so
[31mC:/RhoMobileSuite6.1/ruby/lib/ruby/gems/2.3.0/gems/rhodes-6.1/platform/android/../../platform/shared/ruby/gc.c:7480: error: undefined reference to 'posix_memalign'
[0m [31mC:/RhoMobileSuite6.1/ruby/lib/ruby/gems/2.3.0/gems/rhodes-6.1/platform/android/../../platform/shared/ruby/gc.c:7524: error: undefined reference to 'malloc_usable_size'
[0m [31mC:/RhoMobileSuite6.1/ruby/lib/ruby/gems/2.3.0/gems/rhodes-6.1/platform/android/../../platform/shared/ruby/process.c:4573: error: undefined reference to 'getsid'
[0m [31mcollect2.exe: error: ld returned 1 exit status
[0m
Попробую разобраться попозже. Какая конкретно версия rhodes установлена?
UPD:
Вот проблема.
--sysroot C:/android-ndk-r15c/platforms/android-14/arch-arm
Нам нужен минимум android-19. Вы строите приложение по умолчанию? что в build.yml?