[U-Boot] can't build u-boot-2010.12-rc2 for at91rm9200ek
Albert ARIBAUD
albert.aribaud at free.fr
Thu Dec 9 08:27:19 CET 2010
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.
More information about the U-Boot
mailing list