totemkevin / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

Compile errors when compiling for Android #431

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (wireshark) or Android log (DDMS output)
if you want quick response

What steps will reproduce the problem?
Using latest Doubango library and cygwin.  I have tried with android ndk r7c 
and r8d.  Output is generated with r7c.

Edit the root.mk file to look like this:

-----
export ANDROID_NDK_ROOT=/cygdrive/c/Android/android-ndk
export ANDROID_SDK_ROOT=/cygdrive/c/Android/android-sdk
export ANDROID_PLATFORM=android-3
export ANDROID_HOST=windows

ifeq ($(NEON), yes)
        export MARCH=armv7-a
        export ANDROID_EABI=armeabi-v7a
else
        export MARCH=armv5te
        export ANDROID_EABI=armeabi
endif

export ANDROID_GCC_VER=4.4.3
-----
Added the following path variables: (I have tried without and with various 
combinations, however getting problems detecting NDK or other issues):-
export 
PATH=/cygdrive/c/Android/android-ndk/toolchains/arm-linux-androideabi-4.4.3/preb
uilt/windows/bin:$PATH
export PATH=/cygdrive/c/Android/android-ndk/prebuilt/windows/bin/:$PATH
export PATH=/cygdrive/c/Android/android-ndk:$PATH

I have made sure all paths are correct and point to the right location.

Run this script
 ../bindings/java/android/buildAll.sh

What is the expected output? What do you see instead?
Should build correctly.  Error output is attached

What version of the product are you using? On what operating system?
Latest version of Doubango 2.0 along with android ndk r7c, also tried with 
other ndk versions

Original issue reported on code.google.com by crysi...@googlemail.com on 8 Feb 2013 at 5:19

Attachments:

GoogleCodeExporter commented 9 years ago
This seems to be a problem with newer version of the NDK using cygwin as 
described in this issue: 
http://code.google.com/p/android/issues/detail?id=41964 Cygwin should be 
removed as a supported platform with newer NDK's

Original comment by crysi...@googlemail.com on 12 Feb 2013 at 6:33