AnsweredAssumed Answered

Error in make: i.MX6 Sololite - Android version M6.0.1_2.1.0

Question asked by Prasad Tandale on Jul 13, 2018
Latest reply on Jul 20, 2018 by gusarambula

Hi, I am trying to build android image for i.MX6 Sololite Eval board.

I have been referring to the steps from the Android User Guide from the official Documentation page.

 

The version I am working with is: IMX6_M6.0.1_2.1.0_ANDROID_DOCS (REV M6.0.1_2.1.0) 

 

After some problems, I have managed to add patch for i.MX6 as directed in the document section: 3.2 Patch standard features code package.

I am attaching the log file for the c_patch function for reference in case if it is required.

 

As the next step, I am trying to build the android image for i.MX6 Sololite with evk_6sl-user type.

It results in an error about some shared object files. 

The full log for the same is also attached for reference.

The section that indicates error is as below:

 

No private recovery resources for TARGET_DEVICE evk_6sl
Yacc: aidl <= frameworks/base/tools/aidl/aidl_language_y.y
prebuilts/misc/linux-x86/bison/bison -d -o out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp frameworks/base/tools/aidl/aidl_language_y.y
prebuilts/misc/linux-x86/bison/bison: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
build/core/binary.mk:609: recipe for target 'out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp' failed
make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp] Error 127

 

Can someone help me to find the solution to the problem?

Outcomes