编译yocto报错怎么解决?

内核编译和嵌入式产品的设计与开发
回复
yhm2046
帖子: 69
注册时间: 2008-11-20 19:20
送出感谢: 0
接收感谢: 0

编译yocto报错怎么解决?

#1

帖子 yhm2046 » 2022-07-09 17:38

代码: 全选

Your configuration files at build-x9h-plus_ref_cluster have not been touched.
BSPDIR=
BUILD_DIR=.
meta-semidrive directory found
NOTE: Your conf/bblayers.conf has been automatically updated.
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Fetcher failure for URL: 'https://www.example.com/'. URL https://www.example.com/ doesn't work.
    Please ensure your host's network is configured correctly,
    or set BB_NO_NETWORK = "1" to disable network access if
    all required sources are on local disk.


Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Fetcher failure for URL: 'https://www.example.com/'. URL https://www.example.com/ doesn't work.
    Please ensure your host's network is configured correctly,
    or set BB_NO_NETWORK = "1" to disable network access if
    all required sources are on local disk.


Summary: There was 1 ERROR message shown, returning a non-zero exit code.
cp: cannot stat '/buildsystem-x9-ptg3.8/yocto/build-x9h-plus_ref_cluster/tmp/deploy/images/x9h-plus_ref_cluster/Image': No such file or directory
我尝试修改 ./yocto/poky/meta/conf/sanity.conf 加入 set BB_NO_NETWORK = "1" 编译提示报错
yhm2046
帖子: 69
注册时间: 2008-11-20 19:20
送出感谢: 0
接收感谢: 0

Re: 编译yocto报错怎么解决?

#2

帖子 yhm2046 » 2022-07-11 10:54

有人知道怎么解决吗?
头像
astolia
论坛版主
帖子: 5766
注册时间: 2008-09-18 13:11
送出感谢: 1 次
接收感谢: 999 次

Re: 编译yocto报错怎么解决?

#3

帖子 astolia » 2022-07-13 18:09

不懂英文?不是说的很清楚了吗?
检查配置文件时失败,无法访问 https://www.example.com/ 。请确认网络配置正确,也可能是配置文件没弄对。
如果需要的文件在本地,可以设置BB_NO_NETWORK=1来禁止访问网络
或者修改sanity.conf禁用此项检查
回复