I am getting the build error while building Android 12 Automotive source code . Please find the error below . Please help us to fix the issue.
Note : I am using Linux system with Ubuntu-16.04.5-LTS with 16GB RAM (Not using virtual machine)
FAILED:
Generating camx supplementary makefiles.
/bin/bash: /home/emb-smartcluster/QuectelSource/QCM2290_4290_Android12.0_R02_r004/UM.9.15/prebuilts/python/linux-x86/2.7.5/bin/python: No such file or directory
In file included from vendor/qcom/proprietary/camx/Android.mk:136:
In file included from vendor/qcom/proprietary/chi-cdk/Android.mk:74:
vendor/qcom/proprietary/chi-cdk/api/generated/build/android/Android.mk:46: error: Cannot generate supplementary makefiles.
17:00:17 ckati failed with: exit status 1
In my case, I first check if “prebuilts/python/linux-x86/2.7.5/bin/python” is running successfully.
In fact, prebuilts/python/linux-x86/2.7.5/bin/python is a linker to prebuilts/python/linux-x86/2.7.5/bin/python2.7.
And use ldd to check it, like this:
# ldd prebuilts/python/linux-x86/2.7.5/bin/python2.7
is not a dynamic executable
and then run `apt-get install gcc-multilib’. Then check again.