[U-Boot-Users] Help!

Detlev Zundel
2007-11-12T17:50:49Z

Hi,

> I had ask for help yesterday,your opinion is helpfull.
> But I had another problem:
> When "make"
> It said:
>
> .................
> .................
> gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC
> -O -c -o bmp_logo.o bmp_logo.c
> gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC
> -O
> -o bmp_logo bmp_logo.o
> strip bmp_logo
> ./bmp_logo logos/denx.bmp >/home/u-boot-1.1.3/include/bmp_logo.h
> /bin/sh: line 1: ./bmp_logo: cannot execute binary file
> make[1]: *** [/home/u-boot-1.1.3/include/bmp_logo.h] Error 126
> make[1]: Leaving directory `/home/u-boot-1.1.3/tools'
> make: *** [tools] Error 2
>
> Why?Can you tell me ?

The "gcc" that is called from the Makefile obviously cannot compile
programs for your platform (this must *not* be a cross-compiler).
Find out why this is the case - "file bmp_logo" might be helpful here.

Cheers
Detlev

--
Computer scientists do it depth-first.
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de