On 10 June 2013 09:54, Cao Gao petergao3721@gmail.com wrote:
Hi, I'm trying to build 13.04 of linaro android for origen quad development board, but I always got error messages.
I downloaded the script, manifest xml from http://releases.linaro.org/13.04/android/origenquad/ and http://snapshots.linaro.org/android/binaries/origen_quad/20130422/vendor.tar... . Then I ran the following commands:
$ mkdir android $ cp pinned-manifest.xml android/ $ cp vendor.tar.bz2 android/ $ ./linaro_android_build_cmds.sh -t pinned-manifest.xml -o vendor.tar.bz2
This first attempt gave me the following error message:
cc1: error: unrecognized command line option ‘-mthumb-interwork’
Then I tried again by running these commands in the *android *folder: $ . build/envsetup.sh $ export ARCH=arm
Please set the toolchain variable before triggering the build:
export TARGET_TOOLS_PREFIX=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7-linaro/bin/arm-linux-androideabi-
$ make -j4 TARGET_PRODUCT=origen_quad boottarball systemtarball userdatatarball showcommands
But I still got this error message:
target thumb C: libbt-brcm_bta <= external/bluetooth/bluedroid/bta/./ag/bta_ag_sco.c
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc -I . -I external/bluetooth/bluedroid/bta/include -I external/bluetooth/bluedroid/bta/sys -I external/bluetooth/bluedroid/bta/dm -I external/bluetooth/bluedroid/bta/../gki/common -I external/bluetooth/bluedroid/bta/../gki/ulinux -I external/bluetooth/bluedroid/bta/../include -I external/bluetooth/bluedroid/bta/../stack/include -I external/bluetooth/bluedroid/bta/../stack/btm -I external/bluetooth/bluedroid/bta/../hcis -I external/bluetooth/bluedroid/bta/../hcis/patchram -I external/bluetooth/bluedroid/bta/../udrv/include -I external/bluetooth/bluedroid/bta/../brcm/include -I external/bluetooth/bluedroid/bta -I out/target/product/origen_quad/obj/STATIC_LIBRARIES/libbt-brcm_bta_intermediates -I libnativehelper/include/nativehelper -isystem system/core/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem hardware/ril/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem frameworks/base/opengl/include -isystem external/skia/include -isystem out/target/product/origen_quad/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libstdc++/include -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/arch-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -isystem bionic/libthread_db/include -c -fno-exceptions -Wno-multichar -msoft-float -fpic -fPIE -ffunction-sections -fdata-sections -funwind-tables -fstack-protector -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=1 -fno-short-enums -march=armv7-a -mfloat-abi=softfp -mfpu=neon -include build/core/combo/include/arch/linux-arm/AndroidConfig.h -I build/core/combo/include/arch/linux-arm/ -Wno-unused-but-set-variable -fno-builtin-sin -fno-strict-volatile-bitfields -Wno-psabi -mthumb-interwork -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -O3 -g -Wstrict-aliasing=2 -Werror=strict-aliasing -DNDEBUG -g -Wstrict-aliasing=2 -Werror=strict-aliasing -fgcse-after-reload -frerun-cse-after-loop -frename-registers -DNDEBUG -UDEBUG -mtune=cortex-a9 -mcpu=cortex-a9 -mthumb -O3 -fomit-frame-pointer -fstrict-aliasing -Wstrict-aliasing=2 -Werror=strict-aliasing -DBUILDCFG -DHAS_NO_BDROID_BUILDCFG -MD -MF out/target/product/origen_quad/obj/STATIC_LIBRARIES/libbt-brcm_bta_intermediates/./ag/bta_ag_sco.d -o out/target/product/origen_quad/obj/STATIC_LIBRARIES/libbt-brcm_bta_intermediates/./ag/bta_ag_sco.o external/bluetooth/bluedroid/bta/./ag/bta_ag_sco.c
make: *** [out/target/product/origen_quad/obj/STATIC_LIBRARIES/libbt-brcm_bta_intermediates/./dm/bta_dm_act.o] Error 1
Any hint or help would be greatly appreciated!
Thanks, Cao
linaro-android mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android