Skip to contentSkip to conversation

u-boot failure

DISCUSSION Jack Mitchell 2 participants 3 messages Mar 15, 2012

lore
Share & tools
lore
#0 lore raw

Trying to compile the systemd-image from Angstrom for the BeagleBone this morning and I ran into a few errors, the first one being in meta-ti and u-boot related:

ERROR: Function failed: do_compile (see /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/temp/log.do_compile.18432 for further information)
NOTE: make CROSS_COMPILE=arm-angstrom-linux-gnueabi- all
for dir in tools examples/standalone examples/api arch/arm/cpu/armv7 /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/arch/arm/cpu/armv7/ ; do \
make -C $dir _depend ; done
make[1]: Entering directory /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/tools' make[1]: Nothing to be done for _depend'.
make[1]: Leaving directory /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/tools' make[1]: Entering directory /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/examples/standalone' make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/examples/standalone' make[1]: Entering directory /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/examples/api' make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/examples/api' make[1]: Entering directory /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/arch/arm/cpu/armv7' make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/arch/arm/cpu/armv7' make[1]: Entering directory /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/arch/arm/cpu/armv7' make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/arch/arm/cpu/armv7' make -C tools all
make[1]: Entering directory `/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/tools' *make[1]: *** No rule to make target
`/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/include/stddef.h',
needed by `crc32.o'. Stop.*
make[1]: Leaving directory `/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/tools'
make: *** [tools] Error 2
ERROR: oe_runmake failed

Could anyone shed any light on this?

Regards,
Jack.

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#1 lore raw
Quoted 30 lines · Jack Mitchell

Trying to compile the systemd-image from Angstrom for the BeagleBone this morning and I ran into a few errors, the first one being in meta-ti and u-boot related:

    ERROR: Function failed: do_compile (see
    /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/temp/log.do_compile.18432 for further information)
    NOTE: make CROSS_COMPILE=arm-angstrom-linux-gnueabi- all
    for dir in tools examples/standalone examples/api arch/arm/cpu/armv7
    /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/arch/arm/cpu/armv7/ ; do \
    make -C $dir _depend ; done
    make[1]: Entering directory `/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/tools'
    make[1]: Nothing to be done for `_depend'.
    make[1]: Leaving directory `/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/tools'
    make[1]: Entering directory `/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/examples/standalone'
    make[1]: Nothing to be done for `_depend'.
    make[1]: Leaving directory `/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/examples/standalone'
    make[1]: Entering directory `/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/examples/api'
    make[1]: Nothing to be done for `_depend'.
    make[1]: Leaving directory `/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/examples/api'
    make[1]: Entering directory `/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/arch/arm/cpu/armv7'
    make[1]: Nothing to be done for `_depend'.
    make[1]: Leaving directory `/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/arch/arm/cpu/armv7'
    make[1]: Entering directory `/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/arch/arm/cpu/armv7'
    make[1]: Nothing to be done for `_depend'.
    make[1]: Leaving directory `/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/arch/arm/cpu/armv7'
    make -C tools all
    make[1]: Entering directory `/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/tools'
    *make[1]: *** No rule to make target `/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/include/stddef.h', needed by `crc32.o'. Stop.*
    make[1]: Leaving directory `/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/tools'
    make: *** [tools] Error 2
    ERROR: oe_runmake failed
Quoted 1 line

Could anyone shed any light on this?

What's your build host?

It looks like your host gcc has some install problems (that missing file is part of the base installation, at least on Fedora)

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#2 lore raw
Quoted 46 lines · Gary Thomas
Quoted 45 lines · Jack Mitchell

Trying to compile the systemd-image from Angstrom for the BeagleBone this morning and I ran into a few errors, the first one being in meta-ti and u-boot related:

ERROR: Function failed: do_compile (see

/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/temp/log.do_compile.18432 for further information)
NOTE: make CROSS_COMPILE=arm-angstrom-linux-gnueabi- all
for dir in tools examples/standalone examples/api arch/arm/cpu/armv7

/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/arch/arm/cpu/armv7/ ; do \
make -C $dir _depend ; done
make[1]: Entering directory
`/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/tools'
make[1]: Entering directory
`/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/examples/standalone'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/examples/standalone'
make[1]: Entering directory
`/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/examples/api'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/examples/api'
make[1]: Entering directory
`/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/arch/arm/cpu/armv7'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/arch/arm/cpu/armv7'
make[1]: Entering directory
`/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/arch/arm/cpu/armv7'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory
`/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/arch/arm/cpu/armv7'
make -C tools all
make[1]: Entering directory
`/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/tools'
*make[1]: *** No rule to make target
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/include/stddef.h', needed by crc32.o'. Stop.*
make[1]: Leaving directory
`/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/u-boot-2011.09+git-r26/git/tools'
make: *** [tools] Error 2
ERROR: oe_runmake failed

Quoted 7 lines
Quoted 1 line

Could anyone shed any light on this?

What's your build host?

It looks like your host gcc has some install problems (that missing file is part of the base installation, at least on Fedora)

Ok, I fixed it thanks for the nudge in the right direction Gary!

I had updated my hosts GCC inbetween builds, so I performed -c cleasstate u-boot recompiled and it picked up my new GCC 4.6.3 libraries, rather than the non-existant 4.6.2 libraries it was configured to use.

Cheers!

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--