bitbake faile about tensorflow-lite-host-tools-native

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

bitbake faile about tensorflow-lite-host-tools-native

4,196 次查看
lidongxu
Contributor II

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 ?

lidongxu_0-1701834113083.png

lidongxu_1-1701834194099.png

 

标记 (1)
0 项奖励
回复
12 回复数

4,178 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @lidongxu 

Try to cleanall this package and rebuild it again.

0 项奖励
回复

4,175 次查看
lidongxu
Contributor II
I have tried using bitbake -c cleanall and bitbake -c cleanstate ,bit -c clean, Then use bitbake tensorflow-lite-host-native , But getting the same error message.
0 项奖励
回复

4,172 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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

 

 

0 项奖励
回复

4,169 次查看
lidongxu
Contributor II
I have installed all of these because they can be successfully compiled the first time 。
0 项奖励
回复

4,146 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Which Linux Distro you are using ? Ubuntu or other?

We recommand Ubuntu20.04+

0 项奖励
回复

4,140 次查看
lidongxu
Contributor II
i using Ubuntu 18.04
0 项奖励
回复

4,135 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please update your Ubuntu Version or try to update glibc version[not recommand].

0 项奖励
回复

4,133 次查看
lidongxu
Contributor II
Update the system? I don't understand why it was possible before, but it wasn't possible after the second compilation? If there are system issues, the first compilation should also be unsuccessful, right
0 项奖励
回复

4,131 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

1.The host requirement has written in guide:

Zhiming_Liu_0-1702005813225.png

 

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.

 

0 项奖励
回复

4,129 次查看
lidongxu
Contributor II
i using REV.LF 6.1.22, Also needed ubuntu 20.04?
0 项奖励
回复

4,128 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Zhiming_Liu_0-1702006470473.png

 

0 项奖励
回复

4,126 次查看
lidongxu
Contributor II
I understand now, thank you very much for your help!
0 项奖励
回复