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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

4,208件の閲覧回数
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

 

ラベル(3)
タグ(1)
0 件の賞賛
返信
12 返答(返信)

4,190件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @lidongxu 

Try to cleanall this package and rebuild it again.

0 件の賞賛
返信

4,187件の閲覧回数
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,184件の閲覧回数
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,181件の閲覧回数
lidongxu
Contributor II
I have installed all of these because they can be successfully compiled the first time 。
0 件の賞賛
返信

4,158件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Which Linux Distro you are using ? Ubuntu or other?

We recommand Ubuntu20.04+

0 件の賞賛
返信

4,152件の閲覧回数
lidongxu
Contributor II
i using Ubuntu 18.04
0 件の賞賛
返信

4,147件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信

4,145件の閲覧回数
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,143件の閲覧回数
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,141件の閲覧回数
lidongxu
Contributor II
i using REV.LF 6.1.22, Also needed ubuntu 20.04?
0 件の賞賛
返信

4,140件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Zhiming_Liu_0-1702006470473.png

 

0 件の賞賛
返信

4,138件の閲覧回数
lidongxu
Contributor II
I understand now, thank you very much for your help!
0 件の賞賛
返信