AnsweredAssumed Answered

AndroidM6 build error for the SABRE-AI board

Question asked by yuuki on Mar 16, 2017
Latest reply on Apr 6, 2017 by yuuki

Dear all,

We want to build AndroidM6 for MX6SABRE-AI boards.
We refer to Android User's Guide(Rev. M6.0.1_2.1.0, 07/2016).


When make of system image is executed, an error occurs when is built.


Would you tell me the method avoiding this error?


$ cd ~/myandroid
$ source build/
$ lunch sabreauto_6q-user
$ make PRODUCT-sabreauto_6q-user 2>&1 | tee build-log.txt


target thumb C++: libttspico <= external/svox/pico/tts/svox_ssml_parser.cpp
make: Circular out/target/product/sabreauto_6q/obj/SHARED_LIBRARIES/libttspico_intermediates/LINKED/ <- out/target/product/sabreauto_6q/obj/lib/ dependency dropped.
target SharedLib: libttspico (out/target/product/sabreauto_6q/obj/SHARED_LIBRARIES/libttspico_intermediates/LINKED/
/home/androidm6/myandroid/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9.x-google/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lttspico
external/svox/pico/tts/com_svox_picottsengine.cpp:1058: error: undefined reference to 'pico_initialize'
external/svox/pico/tts/com_svox_picottsengine.cpp:181: error: undefined reference to 'pico_disposeEngine'


collect2: error: ld returned 1 exit status
make: *** [out/target/product/sabreauto_6q/obj/SHARED_LIBRARIES/libttspico_intermediates/LINKED/] Error 1


#### make failed to build some targets (07:05 (mm:ss)) ####


Please refer to an attached file for the detailed log.
 - build-log.txt

This error does not occur if built for SABRE-SD.
Make is completed normally. Build succeeds.

May I have advice?


Best Regards,

Original Attachment has been moved to: