Skip to contentSkip to conversation

Help!

U-Boot-Users clubet 2 participants 2 messages Nov 11, 2007 – Nov 12, 2007

lore
Share & tools
lore

clubet

author
#0 lore raw

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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071111/649d18ad/attachment.htm

#1 lore raw

Hi,

Quoted 19 lines

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

(quoted diff) +0 -2
-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

Quoted 1 line

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

Signature · 5 lines
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