host Executable: rgb2565 (out/host/linux-x86/obj/EXECUTABLES/rgb2565_intermediates/rgb2565) host Executable: soslim (out/host/linux-x86/obj/EXECUTABLES/soslim_intermediates/soslim) true host Executable: sqlite3 (out/host/linux-x86/obj/EXECUTABLES/sqlite3_intermediates/sqlite3) true host Executable: stack_dump (out/host/linux-x86/obj/EXECUTABLES/stack_dump_intermediates/stack_dump) /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `PC' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetflag' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetent' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `UP' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tputs' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgoto' /usr/lib/gcc/i386-redhat-linux/4.1.2/../.true ./../libreadline.so: undefined reference to `tgetnum' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `BC' /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined reference to `tgetstr' collect2: ld returned 1 exit status make: *** [out/host/linux-x86/obj/EXECUTABLES/sqlite3_intermediates/sqlite3] 오류 1 make: *** 끝나지 않은 작업을 기다리고 있습니다....
위와 같은 에러가 발생시 아래의 작업을 수행한다. centos5.5#> centos5.5#> yum install -y readline* centos5.5#> vi ./external/sqlite/dist/Android.mk ifneq ($(strip $(have_readline)),) -LOCAL_LDLIBS += -lreadline +LOCAL_LDLIBS += -lreadline -lncurses endif centos5.5#>
이 버그는 최근의 버젼에서는 버그픽스가 아래와 같이 수행되었으므로 cupcake버젼에서만 발생한다.
ifeq ($(BUILD_OS),linux)
build_arch := $(shell uname -m)
-ifneq (64,$(findstring 64,$(build_arch)))
+ifneq (i686,$(findstring i686,$(build_arch)))
$(warning ************************************************************)
$(warning You are attempting to build on a 32-bit system.)
$(warning Only 64-bit build environments are supported beyond froyo/2.2.)