From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Fri, 26 Jun 2009 14:41:35 +0200 Subject: [U-Boot] Compiling the latest u-boot-2009.06 with Cross-2.95, and errors came out In-Reply-To: <4A448CEA.6070506@yahoo.co.uk> (Johnson Yu's message of "Fri, 26 Jun 2009 16:55:06 +0800") References: <4A448CEA.6070506@yahoo.co.uk> 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 Johnson Y, > I met several compiling errors as below: > > make -C cpu/arm920t/at91rm9200/ > make[1]: Entering directory > `/home/johnson-yn/GEARI/u-boot-2009.06/cpu/arm920t/at91rm9200' > arm-linux-gcc: lowlevel_init.o: No such file or directory > arm-linux-gcc: unrecognized option `-MQ' [...] > > Is that possibly because of the version of the cross compiler?? and > should I raise it to cross 3.2 or higher to solve this problem?? The error message is clear - the U-Boot build uses an option which your compiler does not understand. You have two ways of fixing this 1) upgrade your toolchain to a compiler understanding -MQ 2) "downgrade" the U-Boot buildprocess for your toolchain I advise 1) as 2) invests time into something you will need to abandon sometime anyhow. Cheers Detlev -- Those who would trade safety for freedom deserve neither. -- Thomas Jefferson -- 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