[oe] Problems building binutils-cross_2.18.50.0.7.bb
jorge fernandez monteagudo
jorgefm at cirsa.com
Wed Nov 4 15:49:45 UTC 2009
> On 04-11-09 12:17, Koen Kooi wrote:
> > On 04-11-09 11:27, jorge fernandez monteagudo wrote:
> >> Hi OE list members!
> >>
> >> It's my first message on this list, and it's related to the problems
I
> >> have building
> >> OE for my beagleboard. My host machine is a mandriva 2008.0.
> >>
> >> I'm following the steps from
> >> http://elinux.org/BeagleBoardAndOpenEmbeddedGit
> >
> > If you're going to build for beagleboard, don't use that guide, but
use
> > http://www.angstrom-distribution.org/building-angstrom
>
> Before someone says "it's a wiki, fix it!" I must point that this it's a
> wiki and people have already unfixed it multiple times. The amount of
> unfixing is just too vast, which is why the official angstrom
> instructions aren't in a wiki!
>
> regards,
>
> Koen
>
Hi again!
I think I was so fast saying that it was ok!
I get the same error:
NOTE: Running task 570 of 2946 (ID: 2357,
/mnt/hdb1/arm-beagle/openembedded/recipes/perl/perl-native_5.8.8.bb,
do_configure)
NOTE: Running task 571 of 2946 (ID: 1256,
/mnt/hdb1/arm-beagle/openembedded/recipes/binutils/binutils-cross_2.18.50.0.7.bb,
do_qa_configure)
NOTE: Running task 572 of 2946 (ID: 1257,
/mnt/hdb1/arm-beagle/openembedded/recipes/binutils/binutils-cross_2.18.50.0.7.bb,
do_compile)
NOTE: Running task 573 of 2946 (ID: 1765,
/mnt/hdb1/arm-beagle/openembedded/recipes/python/python-native_2.6.1.bb,
do_install)
NOTE: Running task 574 of 2946 (ID: 1766,
/mnt/hdb1/arm-beagle/openembedded/recipes/python/python-native_2.6.1.bb,
do_populate_staging)
ERROR: function do_compile failed
ERROR: see log in
/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/temp/log.do_compile.26067
NOTE: Task failed:
/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/temp/log.do_compile.26067
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/mnt/hdb1/arm-beagle/openembedded/recipes/binutils/binutils-cross_2.18.50.0.7.bb
do_compile failed
ERROR: Task 1257
(/mnt/hdb1/arm-beagle/openembedded/recipes/binutils/binutils-cross_2.18.50.0.7.bb,
do_compile) failed
NOTE: Waiting for 3 active tasks to finish
NOTE: 1:
/mnt/hdb1/arm-beagle/openembedded/recipes/perl/perl-native_5.8.8.bb,
do_configure (25414)
NOTE: 2:
/mnt/hdb1/arm-beagle/openembedded/recipes/glib-2.0/glib-2.0-native_2.18.0.bb,
do_configure (21833)
NOTE: 3:
/mnt/hdb1/arm-beagle/openembedded/recipes/python/python-native_2.6.1.bb,
do_populate_staging (2781)
NOTE: Waiting for 2 active tasks to finish
NOTE: 1:
/mnt/hdb1/arm-beagle/openembedded/recipes/perl/perl-native_5.8.8.bb,
do_configure (25414)
NOTE: 2:
/mnt/hdb1/arm-beagle/openembedded/recipes/python/python-native_2.6.1.bb,
do_populate_staging (2781)
NOTE: Waiting for 1 active tasks to finish
NOTE: 1:
/mnt/hdb1/arm-beagle/openembedded/recipes/python/python-native_2.6.1.bb,
do_populate_staging (2781)
NOTE: Tasks Summary: Attempted 570 tasks of which 0 didn't need to be
rerun and 1 failed.
ERROR:
'/mnt/hdb1/arm-beagle/openembedded/recipes/binutils/binutils-cross_2.18.50.0.7.bb'
failed
and the error log:
NOTE: make configure-build-libiberty all
make[1]: Entering directory
`/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/build.i686-li
make[2]: Entering directory
`/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/build.i686-li
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H
-isystem/mnt/hdb1/arm-beagle/angstrom-dev/staging/i686-linux/usr/include
-O2 -I. -I/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-
else true; fi
gcc -c -DHAVE_CONFIG_H
-isystem/mnt/hdb1/arm-beagle/angstrom-dev/staging/i686-linux/usr/include
-O2 -I. -I/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-l
Use of uninitialized value in concatenation (.) or string at
/usr/share/colorgcc/gcc line 200.
/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c:
In function 'fibheap_
/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c:151:
warning: implicit
/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c:
In function 'fibheap_
/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c:258:
error: 'LONG_MIN'
/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c:258:
error: (Each unde
/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c:258:
error: for each f
/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c:
In function 'fibheap_
/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c:360:
warning: implicit
/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/libiberty/fibheap.c:360:
warning: incompat
make[2]: *** [fibheap.o] Error 1
make[2]: Leaving directory
`/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/build.i686-lin
make[1]: *** [all-libiberty] Error 2
make[1]: Leaving directory
`/mnt/hdb1/arm-beagle/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/binutils-cross-2.18.50.0.7-r6/binutils-2.18.50.0.7/build.i686-lin
make: *** [all] Error 2
FATAL: oe_runmake failed
I've check the 'fibheap.c' file and I've seen:
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#include "libiberty.h"
#include "fibheap.h"
#define FIBHEAPKEY_MIN LONG_MIN
The problem is that HAVE_LIMITS_H is undefined in config.h then LONG_MIN
is undefined. Where can I check how the 'config.h'
is generated?
Regards,
Jorge
More information about the Openembedded-devel
mailing list