git clone -b gatesgarth git://git.yoctoproject.org/poky.git
source oe-init-build-env
报错了
bitbake --version
BitBake Build Tool Core version 1.48.0
[root@iZbp1cgthh0yibb7tvfzdiZ build]# bitbake
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
chrpath diffstat rpcgen
解决方法 安装依赖包
yum install chrpath diffstat
wget https://github.com/thkukuk/rpcsvc-proto/archive/v1.4.1.tar.gz
./autogen
./configure
make && make install
博客记录了在Yocto项目中使用git clone克隆代码、执行source命令报错,以及使用bitbake --version查看版本后,运行bitbake出现工具不可用的错误。指出错误原因是所需工具chrpath、diffstat、rpcgen未安装在PATH中,并给出安装依赖包的解决方法。
5万+

被折叠的 条评论
为什么被折叠?



