最近编译老是遇到这个问题,还请遇到过的分享一下解决方法,用的 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.
|