Compiling Android 4.0 to Panda Board

First patch I need to apply:

https://github.com/jlebar/android-build/commit/96d5e8f1a10acef523ccf7e9f47d33398f98ffdc

build/core/combo/HOST_linux-x86.mk
# Disable new longjmp in glibc 2.11 and later. See bug 2967937.
-HOST_GLOBAL_CFLAGS += -D_FORTIFY_SOURCE=0
+HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0

Other error caused on oprofile could be fixed with this patch:
http://permalink.gmane.org/gmane.linux.oprofile/9152

Create symbolic link to fix -lX11 and -lGL errors:

$ sudo ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so
$ sudo ln -s /usr/lib32/libGL.so.1.2 /usr/lib32/libGL.so

One thought on “Compiling Android 4.0 to Panda Board

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s