您尚未登录。

楼主 #1 2021-02-26 15:05:28

拉轰的脚踏车
会员
注册时间: 2020-03-20
已发帖子: 288
积分: 222

【分享】buildroot 另外勾选部分package, make编译出现uuid出错的解决方案

checking for ZLIB... yes
checking for UUID... no
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
checking whether /opt/v3s/buildroot_GC0308/output/host/bin/arm-linux-gnueabihf-gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for lzo1x_1_15_compress in -llzo2... yes
checking openssl/rand.h usability... yes
checking openssl/rand.h presence... yes
checking for openssl/rand.h... yes
checking for OPENSSL... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
configure: WARNING: cannot find uuid library required for mkfs.ubifs
configure: mtd-utils can optionally be built without mkfs.ubifs
configure: error: missing one or more dependencies
package/pkg-generic.mk:254: recipe for target '/opt/v3s/buildroot_GC0308/output/build/mtd-2.1.1/.stamp_configured' failed
make[1]: *** [/opt/v3s/buildroot_GC0308/output/build/mtd-2.1.1/.stamp_configured] Error 1
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2

删掉这几个包, 重新make 即可

rm output/build/util-linux-2.35.1/ -rf
rm output/build/host-util-linux-2.35.1/ -rf
rm output/build/host-e2fsprogs-1.45.6/ -rf

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn