From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Mon, 12 Nov 2007 18:50:49 +0100 Subject: [U-Boot-Users] Help! In-Reply-To: (gbk's message of "Sun\, 11 Nov 2007 16\:29\:47 +0800") References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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