From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Thu, 09 Dec 2010 08:27:19 +0100 Subject: [U-Boot] can't build u-boot-2010.12-rc2 for at91rm9200ek In-Reply-To: <8b9250.6973.12cc9f4ea12.Coremail.zzs213@126.com> References: <4D007227.7020106@free.fr> <254449.55bd.12cc9b36881.Coremail.zzs213@126.com> <8b9250.6973.12cc9f4ea12.Coremail.zzs213@126.com> Message-ID: <4D0084D7.8050808@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi 'zzs213', Le 09/12/2010 08:07, zzs213 a ??crit : > I chang 'adr r1, r9' to 'add r1, r1, r9' and then rebuild it > but I got another error. the error message is: > > arm-linux-ld: -static and -shared may not be used together > make[1]: *** [/home/zzs/DownLoad/uboot/xx/build/u-boot] Error 1 > make[1]: Leaving directory `/home/zzs/DownLoad/uboot/xx/u-boot-2010.12-rc2' > make: *** [at91rm9200ek] Error 2 > > > Is this caused by the toolchain too? Apparently it is. Building v2010.12-rc2 for at91rm9200ek with ELDK 4.2 gives: albert at lilith:~/src/u-boot$ ./MAKEALL at91rm9200ek Configuring for at91rm9200ek board... at91rm9200_usart.c:39:2: warning: #warning Please update to use C structur SoC access ! text data bss dec hex filename 196564 5576 287296 489436 777dc ./u-boot --------------------- SUMMARY ---------------------------- Boards compiled: 1 Boards with warnings or errors: 1 ( at91rm9200ek ) ---------------------------------------------------------- albert at lilith:~/src/u-boot$ > thanks! You're welcome. Amicalement, -- Albert.