[U-Boot] u-boot build error [from v2013.01 onwards]

Jagan Teki jagannadh.teki at gmail.com
Mon Jan 28 07:00:34 CET 2013


Hi Albert,

Please find the below comments.

On Sun, Jan 27, 2013 at 8:44 PM, Albert ARIBAUD
<albert.u.boot at aribaud.net> wrote:
> Hi Jagan,
>
> On Sun, 27 Jan 2013 12:30:45 +0530, Jagan Teki
> <jagannadh.teki at gmail.com> wrote:
>
>> Hi Vikram,
>>
>> On Sun, Jan 27, 2013 at 9:24 AM, Vikram Narayanan <vikram186 at gmail.com> wrote:
>> > On 1/27/2013 7:10 AM, Jagan Teki wrote:
>> >> This error occurred for all boards in the u-boot, I have used
>> >> arm-none-linux-gnueabi- xtool for versatilepb board.
>> >> I saw this issue specially from 2013.01 on-wards.
>> >
>> > Can you check your host setup once?
>> >
>> > Below is the output from my setup. I don't see any error.
>> >
>> > $ git describe
>> > v2013.01
>> > $ make ARCH=arm versatilepb_config
>> > Configuring for versatilepb - Board: versatile, Options: ARCH_VERSATILE_PB
>> > $ lsb_release -a
>> > No LSB modules are available.
>> > Distributor ID: Ubuntu
>> > Description:    Ubuntu 11.04
>> > Release:        11.04
>> > Codename:       natty
>>
>> Here is my LSB host settings
>>
>> Mr.J> lsb_release -a
>> LSB Version:
>> :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
>> Distributor ID: RedHatEnterpriseClient
>> Description:    Red Hat Enterprise Linux Client release 5.6 (Tikanga)
>> Release:        5.6
>> Codename:       Tikanga
>>
>> I am getting same error irrespective any board.
>> Does v2013.01 release builds depends on any perl versions
>>
>> Mr.J> perl -v
>> This is perl, v5.8.5 built for x86_64-linux
>
> Actually I'd be more interested in the result of the following commands:
>
> 1)      $CROSS_COMPILE}gcc -v

Mr.J> ${CROSS_COMPILE}gcc -v
Using built-in specs.
Target: arm-none-linux-gnueabi
....
Thread model: posix
gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202)

>
> 2)      git rev-parse HEAD

Mr.J> git rev-parse HEAD
54b08efcf2f4ff532ce99c53f341a59c193331a5

>
> 3)      git clean -xfd
>         git status

Mr.J> git clean -xfd
Removing .boards.depend
Removing LOG/
Removing arch/arm/include/asm/arch
Removing arch/arm/include/asm/proc
Removing arm-none-linux-gnueabi-gcc
Removing include/asm
Removing include/config.h
Removing include/config.mk
Removing include/generated/

Mr.J> git status
# On branch master
nothing to commit (working directory clean)

Mr.J> ./MAKEALL versatilepb_config
Makefile:597: *** missing `endif'.  Stop.
Makefile:597: *** missing `endif'.  Stop.
arm-none-linux-gnueabi-size: './u-boot': No such file
Makefile:597: *** missing `endif'.  Stop.

--------------------- SUMMARY ----------------------------
Boards compiled: 1
Boards with warnings but no errors: 1 ( versatilepb_config )
----------------------------------------------------------

Thanks,
Jagan.


More information about the U-Boot mailing list