打印
[i.MX]

yocto编译问题

[复制链接]
5439|4
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
z593512754|  楼主 | 2015-11-23 11:32 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
最近编译老是遇到这个问题,还请遇到过的分享一下解决方法,用的 bitbake -c compile -f linux-imx编译的

linux-gnueabi/eglibc/2.19-r0/build-arm-poky-linux-gnueabi/elf/interp.os /home/junius/yocto-dev-DA/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/eglibc/2.19-r0/build-arm-poky-linux-gnueabi/elf/ld.so -lgcc
| /home/junius/yocto-dev-DA/build/tmp/sysroots/x86_64-linux/usr/libexec/cortexa9hf-vfp-neon-poky-linux-gnueabi.gcc-cross-initial/gcc/arm-poky-linux-gnueabi/4.8.2/ld:/home/junius/yocto-dev-DA/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/eglibc/2.19-r0/build-arm-poky-linux-gnueabi/shlib.lds:150: syntax error
| collect2: error: ld returned 1 exit status
| make[2]: *** [/home/junius/yocto-dev-DA/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/eglibc/2.19-r0/build-arm-poky-linux-gnueabi/libc.so] Error 1
| make[2]: Leaving directory `/home/junius/yocto-dev-DA/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/eglibc/2.19-r0/eglibc-2.19/libc/elf'
| make[1]: *** [elf/subdir_lib] Error 2
| make[1]: Leaving directory `/home/junius/yocto-dev-DA/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/eglibc/2.19-r0/eglibc-2.19/libc'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/junius/yocto-dev-DA/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/eglibc/2.19-r0/temp/run.do_compile.13277:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /home/junius/yocto-dev-DA/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/eglibc/2.19-r0/temp/log.do_compile.13277)
ERROR: Task 153 (/home/junius/yocto-dev-DA/sources/poky/meta/recipes-core/eglibc/eglibc_2.19.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 244 tasks of which 240 didn't need to be rerun and 1 failed.

相关帖子

沙发
z593512754|  楼主 | 2015-11-23 12:51 | 只看该作者
As I could not reproduce that error, I haven't figure it out.
Please try to clean and rebuild the eglibc. It might solve the issue.

$ bitbake -c cleansstate eglibc
$ bitbake fsl-image-minimal

使用特权

评论回复
板凳
小狗爱吃骨头| | 2015-11-23 16:54 | 只看该作者
z593512754 发表于 2015-11-23 12:51
As I could not reproduce that error, I haven't figure it out.
Please try to clean and rebuild the eg ...

is this the solution?

使用特权

评论回复
地板
追逐浪花| | 2015-11-23 20:59 | 只看该作者
怎么都说开英语了啊

使用特权

评论回复
5
mini1986| | 2015-11-24 21:34 | 只看该作者
thanks for your experience......

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

11

主题

38

帖子

1

粉丝