[meta-ti] u-boot failure

Jack Mitchell ml at communistcode.co.uk
Thu Mar 15 04:02:59 PDT 2012


On 15/03/12 10:45, Gary Thomas wrote:
> On 2012-03-15 04:29, Jack Mitchell wrote:
>> 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?
>
> 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!

-- 

   Jack Mitchell (jack at embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--




More information about the meta-ti mailing list