OE bitbake时问题

In file included from /myPart1/stuff/workspace/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50+csl-arm-2008q1-126-r0/binutils-stable/bfd/archive.c:132:
| /myPart1/stuff/workspace/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50+csl-arm-2008q1-126-r0/binutils-stable/bfd/sysdep.h:151: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ftello64'
| /myPart1/stuff/workspace/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50+csl-arm-2008q1-126-r0/binutils-stable/bfd/sysdep.h:163: error: expected declaration specifiers or '...' before 'off64_t'
| /myPart1/stuff/workspace/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50+csl-arm-2008q1-126-r0/binutils-stable/bfd/archive.c: In function '_bfd_write_archive_contents':
| /myPart1/stuff/workspace/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50+csl-arm-2008q1-126-r0/binutils-stable/bfd/archive.c:1766: error: 'PACKAGE' undeclared (first use in this function)
| /myPart1/stuff/workspace/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50+csl-arm-2008q1-126-r0/binutils-stable/bfd/archive.c:1766: error: (Each undeclared identifier is reported only once
| /myPart1/stuff/workspace/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50+csl-arm-2008q1-126-r0/binutils-stable/bfd/archive.c:1766: error: for each function it appears in.)
| /myPart1/stuff/workspace/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50+csl-arm-2008q1-126-r0/binutils-stable/bfd/archive.c: In function '_bfd_archive_bsd_update_armap_timestamp':
| /myPart1/stuff/workspace/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50+csl-arm-2008q1-126-r0/binutils-stable/bfd/archive.c:2029: error: 'PACKAGE' undeclared (first use in this function)
| make[4]: *** [archive.lo] Error 1
| make[4]: Leaving directory `/myPart1/stuff/workspace/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50+csl-arm-2008q1-126-r0/binutils-stable/build.i686-linux.arm-angstrom-linux-gnueabi/bfd'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/myPart1/stuff/workspace/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50+csl-arm-2008q1-126-r0/binutils-stable/build.i686-linux.arm-angstrom-linux-gnueabi/bfd'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/myPart1/stuff/workspace/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50+csl-arm-2008q1-126-r0/binutils-stable/build.i686-linux.arm-angstrom-linux-gnueabi/bfd'
| make[1]: *** [all-bfd] Error 2
| make[1]: Leaving directory `/myPart1/stuff/workspace/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50+csl-arm-2008q1-126-r0/binutils-stable/build.i686-linux.arm-angstrom-linux-gnueabi'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: /myPart1/stuff/workspace/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50+csl-arm-2008q1-126-r0/temp/log.do_compile.29644
NOTE: package binutils-cross-2.18.50+csl-arm-2008q1-126-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package binutils-cross-2.18.50+csl-arm-2008q1-126: failed
ERROR: Build of /myPart1/stuff/org.openembedded.dev/packages/binutils/binutils-cross_csl-arm-2008q1.bb do_compile failed
ERROR: Task 935 (/myPart1/stuff/org.openembedded.dev/packages/binutils/binutils-cross_csl-arm-2008q1.bb, do_compile) failed
NOTE: Waiting for 1 active tasks to finish
NOTE: 1: /myPart1/stuff/org.openembedded.dev/packages/linux-libc-headers/linux-libc-headers_2.6.24.bb, do_install (29666)
NOTE: package linux-libc-headers-2.6.24-r1: task do_install: completed
NOTE: package linux-libc-headers-2.6.24: completed
NOTE: Tasks Summary: Attempted 165 tasks of which 164 didn't need to be rerun and 1 failed.
ERROR: '/myPart1/stuff/org.openembedded.dev/packages/binutils/binutils-cross_csl-arm-2008q1.bb' failed

 

这个是在fedora7上出现的问题,同样的sources和org.openembedded.dev文件,在fedora10上就顺利通过。更让人不解的是之前在fedora7上 编译过的代码,怎么换台机器就出问题了,OE配置都检查了,这个问题让我无奈!

 

于是放弃后,我在另一台机器上fedora10(同开发环境),也遇到该问题,其解决方法如下通过安装了java-1.6.0-openjdk-devel,java-1.6.0-openjdk,antlr,antlr-javadoc

你可能感兴趣的:(linux操作系统)