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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,495 Views
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

 

Tags (1)
0 Kudos
Reply
12 Replies

1,477 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @lidongxu 

Try to cleanall this package and rebuild it again.

0 Kudos
Reply

1,474 Views
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 Kudos
Reply

1,471 Views
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 Kudos
Reply

1,468 Views
lidongxu
Contributor II
I have installed all of these because they can be successfully compiled the first time 。
0 Kudos
Reply

1,445 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Which Linux Distro you are using ? Ubuntu or other?

We recommand Ubuntu20.04+

0 Kudos
Reply

1,439 Views
lidongxu
Contributor II
i using Ubuntu 18.04
0 Kudos
Reply

1,434 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

1,432 Views
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 Kudos
Reply

1,430 Views
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 Kudos
Reply

1,428 Views
lidongxu
Contributor II
i using REV.LF 6.1.22, Also needed ubuntu 20.04?
0 Kudos
Reply

1,427 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Zhiming_Liu_0-1702006470473.png

 

0 Kudos
Reply

1,425 Views
lidongxu
Contributor II
I understand now, thank you very much for your help!
0 Kudos
Reply