yocto - 核心图像最小失败
问题描述
我正在使用 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 库,但如果没有其他选择,我想我别无选择。
解决方案
您使用的是什么 oe-core 版本?是宙斯吗?我认为它已经在刚刚发布的 dunfell 中修复了。
参见 oe-core 提交 2cca75155baec8358939e2aae822e256bed4cfe0
推荐阅读
- aws-sdk - 每个设备或每组设备的 AWS IoT 证书?
- visual-c++ - Visual Studio 跳转到调试器中的活动线程
- c++ - C++ 尽可能快地将字符串逐行保存到文件中
- android - 修改 Firebase 通知以将电话号码替换为联系人姓名
- makefile - 当配方改变时如何重建
- c++ - 为什么只有一个库的链接器错误“多个定义”?在 Android Studio 中使用 CMake (3.4.1)
- c# - 标签文本不会更新
- angular - 如何在 Angular 中翻译 mat-paginator 并选择 pageSizeOptions ALL
- html - 引导卡没有响应
- maven - 如何使用类似选项的命令覆盖 Maven 属性?