I followed the normal construction steps of yocto and used bitbake imx image full - c population for the first time SDK compilation was successful(My operation steps are based on the attachment), but when I ran this command for the second time, it prompted me that there was an issue with tensorflow-lite-host-tools-native, May I ask how to solve this problem ?
Hi @lidongxu
Try to cleanall this package and rebuild it again.
Make sure you have installed all host packages in ubuntu, seems relates to pthread library,
$ sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential \
chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils \
iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
python3-subunit mesa-common-dev zstd liblz4-tool file locales -y
$ sudo locale-gen en_US.UTF-8
Which Linux Distro you are using ? Ubuntu or other?
We recommand Ubuntu20.04+
Please update your Ubuntu Version or try to update glibc version[not recommand].
1.The host requirement has written in guide:
2. If you have checked the error , all about pthread library compatible issue.
3.NXP can't control the tensorflow-lite-host-tools-native layer requirement, it needs glibc in Ubuntu20.04+. This is controlled by Google, this software is not maintained by NXP.
4. Each verison ofBSP, we all export SDK. The Ubuntu18.04 has lots of compatible issues when internal test.
5. Please refer the guide, update your Ubuntu version or use docker.