VisualGDB: post-compile error

Sysprogs forums Forums VisualGDB VisualGDB: post-compile error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #559
    kolya8kc
    Participant

    I have converted existing Eclipse project to VisualGDB. It compiles normally, but on linking (I guess) step, it spits out:

    …. everything compiles fine so far …
    1>”Compile thumb : freddyapp <= main.c
    1>”Compile thumb : android_native_app_glue <= android_native_app_glue.c
    1>StaticLibrary : libandroid_native_app_glue.a
    1>Prebuilt : libstlport_static.a <= /sources/cxx-stl/stlport/libs/armeabi/
    1>SharedLibrary : libfreddyapp.so
    1>process_begin: CreateProcess(c:android-ndk-r8btoolchainsarm-linux-androideabi-4.6prebuiltwindowsbinarm-linux-androideabi-g++.exe, c:/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/arm-linux-androideabi-g++ -Wl,-soname,libfreddyapp.so -shared –sysroot=c:/android-ndk-r8b/platforms/android-9/arch-arm f:/my_work/Freddy_Android/AVS//obj/local/armeabi/objs-debug/freddyapp/__/__/GamePlatform/GP2DRenderer/impl/CGP2DRenderer.o <... All my obj-files are enumerated here ...> f:/my_work/Freddy_Android/AVS//obj/local/armeabi/libandroid_native_app_glue.a f:/my_work/Freddy_Android/AVS//obj/local/armeabi/libstlport_static.a -Wl,–no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Lc:/android-ndk-r8b/platforms/android-9/arch-arm/usr/lib -llog -landroid -lEGL -lGLESv1_CM -lOpenSLES -llog -lc -lm -o f:/my_work/Freddy_Android/AVS//obj/local/armeabi/libfreddyapp.so, …) failed.
    1>make (e=87): ╧рЁрьхЄЁ чрфрэ эхтхЁэю.
    1>make: *** [f:/my_work/Freddy_Android/AVS//obj/local/armeabi/libfreddyapp.so] Error 87
    1>Project : error PRJ0019: A tool returned an error code from “Performing Makefile project actions”

    I did not split my project into libraries so it contains a cosiderable amount of source (*.cpp, *.c) files, but eclipse manages to build it successfully.
    What’s wrong here?

    #2367
    support
    Keymaster

    Hi,

    You can fix this by adding the following line to Android.mk just before the “include $(BUILD_SHARED_LIBRARY)” line:

    LOCAL_SHORT_COMMANDS := true
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.