1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在尝试构建 Yocto 映像,但在编译 glibc 时构建失败。
我运行了这个命令: bitbake 精简版图像 我收到如下编译错误: | /media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/build-aarch64-poky-linux/nptl/libpthread_nonshared.a(pthread_atfork.oS): In function `__pthread_atfork': | /usr/src/debug/glibc/2.27-r0/git/nptl/pthread_atfork.c:51: undefined reference to `__dso_handle' | /usr/src/debug/glibc/2.27-r0/git/nptl/pthread_atfork.c:51: undefined reference to `__dso_handle' | /media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux.gcc-cross-initial-aarch64/../../libexec/aarch64-poky-linux.gcc-cross-initial-aarch64/gcc/aarch64-poky-linux/7.3.0/ld: /media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/build-aarch64-poky-linux/rt/librt.so: hidden symbol `__dso_handle' isn't defined | /media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux.gcc-cross-initial-aarch64/../../libexec/aarch64-poky-linux.gcc-cross-initial-aarch64/gcc/aarch64-poky-linux/7.3.0/ld: final link failed: Bad value | collect2: error: ld returned 1 exit status | ../Makerules:599: recipe for target '/media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/build-aarch64-poky-linux/rt/librt.so' failed | make[2]: *** [/media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/build-aarch64-poky-linux/rt/librt.so] Error 1 | make[2]: Leaving directory '/media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/git/rt' | Makefile:235: recipe for target 'rt/others' failed | make[1]: *** [rt/others] Error 2 | make[1]: Leaving directory '/media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/git' | Makefile:9: recipe for target 'all' failed | make: *** [all] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/temp/log.do_compile.9024) ERROR: Task (/media/ubu/LocalDisk/yocto-test/sources/poky/meta/recipes-core/glibc/glibc_2.27.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 431 tasks of which 428 didn't need to be rerun and 1 failed. Summary: 1 task failed: /media/ubu/LocalDisk/yocto-test/sources/poky/meta/recipes-core/glibc/glibc_2.27.bb:do_compile Summary: There was 1 WARNING message shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code. 构建配置: BB_VERSION = "1.38.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "ubuntu-18.04" TARGET_SYS = "aarch64-poky-linux" MACHINE = "maaxboard-ddr4-2g-sdcard" DISTRO = "fsl-imx-wayland-lite" DISTRO_VERSION = "4.14-sumo" TUNE_FEATURES = "aarch64" TARGET_FPU = "" meta meta-poky = "HEAD:5ddf7fff992b065ee512878d2fe65f3e35d818cf" meta-oe meta-multimedia = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f" meta-freescale = "HEAD:86772601e7f6ea188dfaf64097edafc05e15aef3" meta-freescale-3rdparty = "HEAD:82037216280a39957fb4272581637abec734ad50" meta-freescale-distro = "HEAD:f7e2216e93aff14ac32728a13637a48df436b7f4" meta-maaxboard = "sumo:c3e7f70181888748ded4c20d3bda6a947d639fe7" meta-bsp meta-sdk = "HEAD:1cbae2bed5b31eedcc96aec462fd3c66f42aeef6" meta-browser = "HEAD:75640e14e325479c076b6272b646be7a239c18aa" meta-networking meta-python meta-filesystems = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f" meta-qt5 = "HEAD:d4e7f73d04e8448d326b6f89908701e304e37d65" 你有什么建议吗? 我已经进行了一些解决方案如下: 干净的 bitbake -c 清理 glibc 编译配方 bitbake -f -c 编译 glibc 但这仍然产生了同样的错误。 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
1936个成员聚集在这个小组
加入小组我的项目我做主,使用GN+Ninja来完成构建系统(VSCode开发RT106X)
36437 浏览 0 评论
NXP IMX8应用处理器快速入门必备:技巧、使用、设计指南
5097 浏览 1 评论
6121 浏览 1 评论
6825 浏览 0 评论
NXP i.MX6UL开发板(linux系统烧录+规格+硬件+模块移植)使用手册
4255 浏览 0 评论
656浏览 2评论
求助,S32G上Core M启动后如何让Core A在Flash指定位置加载uboot?
646浏览 2评论
ESP32-WROVER-IE + LAN8720以太网,GPIO0电压只有1.6v,无法正常进入spi flash boot模式如何解决?
648浏览 2评论
求分享适用于PN7160 Android的NFC工厂测试应用程序
738浏览 2评论
855浏览 2评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-31 01:31 , Processed in 1.068099 second(s), Total 75, Slave 59 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号