首页 > 解决方案 > 核心图像最小失败

问题描述

我正在使用 Opensuse Tumbleweed 构建 Yocto 最小图像,bitbake core-image-minimal但出现错误 qemu-native/4.1.0-r0/qemu-4.1.0/linux-user/syscall.c:7657: undefined reference to 'stime' | collect2: error: ld returned 1 exit status

一些谷歌搜索出现了一些引用此问题的已知错误,这似乎是由 glibc 在较新版本中从 time.h 中取出时间引起的。

来源: https ://wiki.gentoo.org/wiki/Glibc_2.31_porting_notes/stime_removal

所以我的问题是我该如何解决这个问题?如果可能,我想避免回滚 c 库,但如果没有其他选择,我想我别无选择。

标签: yocto

解决方案


您使用的是什么 oe-core 版本?是宙斯吗?我认为它已经在刚刚发布的 dunfell 中修复了。

参见 oe-core 提交 2cca75155baec8358939e2aae822e256bed4cfe0


推荐阅读