Forwarding to this group since panda groups don't do much with HAL.

any comments?
---------- Forwarded message ----------
From: mike digioia <mpd...@gmail.com>
Date: Tue, Jun 28, 2011 at 1:32 PM
Subject: JNI Assm error
To: pandabo...@googlegroups.com


I am getting the following assm error message when I attempt to build my
library that handles some HAL native code.

rom
/home2/windows/home/android/froyo/pandaboard/L27.10.2-P1/mydroid/ndk/isl-project/jni/IRlight_Linuxc.c:5:
/home2/android/L27.10.2-P1/build_tools/arm-2010q1/lib/gcc/arm-none-linux-gnueabi/4.4.1/include/stddef.h:411:
warning: "offsetof" redefined
/home2/windows/home/android/froyo/pandaboard/L27.10.2-P1/mydroid/ndk/build/platforms/android-3/arch-arm/usr/include/linux/stddef.h:28:
note: this is the location of the previous definition
Assembler messages:
Fatal error: Invalid -march= option: `armv5te'
make: ***
[/home2/windows/home/android/froyo/pandaboard/L27.10.2-P1/mydroid/ndk/isl-project/obj/local/armeabi/objs/isl29011/IRlight_Linuxc.o]
Error 1
mike@mike-laptop:/home2/windows/home/android/froyo/pandaboard/L27.10.2-P1/mydroid/ndk/isl-project/jni$




As you can see it is complaining about the machine arch option set to
armv5te. This is on an intel machine with ubuntu for the pandaboard. I have
attempted to change my Android.mk file and included the option
"TARGET_ARCH_ABI" to be armeabi for armv5te. Then I attempted to use
armeabi-v7a but no difference and the same error happens.

Same error with both options

My build line is " $NDK/ndk-build V=1 NDK_LOG=1"

The board is an A1 and i am using L27.10.2-P1

Seems lik

Any ideas, thanks.

/mpd

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to