のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

ICS 4.0.3_r1のビルドでエラーlibbfd.a __asprintf_chk

host Executable: opannotate (out/host/linux-x86/obj/EXECUTABLES/opannotate_intermediates/opannotate)
out/host/linux-x86/obj/STATIC_LIBRARIES/libbfd_intermediates/libbfd.a(bfd.o): In function `asprintf':
/usr/include/bits/stdio2.h:158: undefined reference to `__asprintf_chk'
out/host/linux-x86/obj/STATIC_LIBRARIES/libbfd_intermediates/libbfd.a(elf32-arm.o): In function `asprintf':
/usr/include/bits/stdio2.h:158: undefined reference to `__asprintf_chk'
/usr/include/bits/stdio2.h:158: undefined reference to `__asprintf_chk'
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/opannotate_intermediates/opannotate] エラー 1

android-4.0.1_r1 build pb on oprofile - Google グループ

ifeq ($(HOST_OS)-$(HOST_ARCH),darwin-x86)
HAVE_LIBBFD := true
common_host_cflags += -DMISSING_MREMAP
common_host_ldlibs_libiconv := -liconv
else
ifeq ($(HOST_OS)-$(HOST_ARCH),linux-x86)
#HAVE_LIBBFD := true
HAVE_LIBBFD := false <=暫定対応
endif
endif