[i.MX] yocto编译问题

[复制链接]
5727|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 | 显示全部楼层
怎么都说开英语了啊
mini1986 发表于 2015-11-24 21:34 | 显示全部楼层
thanks for your experience......
您需要登录后才可以回帖 登录 | 注册

本版积分规则

11

主题

38

帖子

1

粉丝
快速回复 在线客服 返回列表 返回顶部