I have to work on Omap34xx ZoomII board for developing an Android
application.

I am working on the middleware. Currently we do not have the ZoomII
board. So I am trying to debug the native code (gps.cpp). I found that
through Emulator we can do it

1. The question is how to invoke emulator on linux system to debug
Anroid native code?

2. I found the following steps in a discussion forum

$ out/host/linux-x86/bin/emulator -kernel kernel/arch/arm/boot/zImage
-
system out/target/product/generic/

Currently I do not have the "zImage" in the said directory, so I tried
to build the same using following steps

Go into kernel directory
$ cd ~/mydroid/kernel
$ make msm_defconfig ARCH=arm
$ make ARCH=arm CROSS_COMPILE=../prebuilt/linux-x86/toolchain/arm-
eabi-4.2.1/bin/arm-eabi-

But I get compilation error saying

CC      drivers/input/touchscreen/synaptics_i2c_rmi.o
drivers/input/touchscreen/synaptics_i2c_rmi.c:28:22: error: mach/
mux.h: No such file or directory
make[3]: *** [drivers/input/touchscreen/synaptics_i2c_rmi.o] Error 1
make[2]: *** [drivers/input/touchscreen] Error 2
make[1]: *** [drivers/input] Error 2
make: *** [drivers] Error 2

Is this the right steps to use emulator on Linux (Ubuntu) to debug
native code?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to