7/21/2009

Android 1.5 source code build error in Ubuntu 9.04

Issue:
make: *** [out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/sockets.o] Error 1

Solution:
Modify "external/qemu/Makefile.android"
Original:
# this is needed to build the emulator on 64-bit Linux systems
ifeq ($(HOST_OS)-$(HOST_ARCH),linux-x86)
MY_CFLAGS += -Wa,--32
endif

Modified:
# this is needed to build the emulator on 64-bit Linux systems
ifeq ($(HOST_OS)-$(HOST_ARCH),linux-x86)
MY_CFLAGS += -Wa,--32 -D_GNU_SOURCE
endif

1 則留言:

匿名 提到...

Hello