您尚未登录。

楼主 #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

离线

#2 2021-04-09 10:45:59

异乡是故乡
会员
注册时间: 2019-11-15
已发帖子: 74
积分: 73.5

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

完美解决, 感谢楼主,避免了重新花2小时编译。

离线

#3 2021-07-19 15:04:41

tigger
Moderator
注册时间: 2021-06-18
已发帖子: 172
积分: 111

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

checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
Disabling maintainer mode by default
Enabling symlinks for install
Disabling relative symlinks for install by default
Disabling symlinks for build by default
Disabling verbose make commands
Enabling ELF shared libraries
Disabling BSD shared libraries by default
Disabling profiling libraries by default
Disabling journal debugging by default
Disabling blkid debugging by default
Disabling testio debugging
checking pkg-config is at least version 0.9.0... yes
checking for uuid_generate in -luuid... no
configure: error: external uuid library not found
package/pkg-generic.mk:231: recipe for target '/opt/D1/buildroot-2021/output/build/e2fsprogs-1.45.6/.stamp_configured' failed
make[1]: *** [/opt/D1/buildroot-2021/output/build/e2fsprogs-1.45.6/.stamp_configured] Error 1
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2
$ rm output/build/util-linux-2.36.1/ -rf
$ rm output/build/host-util-linux-2.36.1/ -rf
$ rm output/build/host-e2fsprogs-1.45.6/ -rf
$ make -j3

感谢楼主, 搞定!

离线

#4 2022-02-15 23:06:54

ubuntu
会员
注册时间: 2020-03-30
已发帖子: 276
积分: 254

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

勾选 e2fs 工具出现了, 用楼主方法成功解决!

离线

页脚

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

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