[U-Boot-Users] U-boot not compiling--may be bug..

Wolfgang Denk wd at denx.de
Tue Sep 4 20:46:30 CEST 2007


In message <098f01c7eeff$8a2f5f20$9c02a8c0 at socpassion> you wrote:
> 
> I have taken u-boot code from u-boot-1.1.6 ( =
> http://www.denx.de/wiki/UBoot )

Why are you using such old code for any recent work?

Why don't you follow the recommendation to use current code, i. e. op
of tree from the git repository?

> I tried to compile for omap1510inn(which is having arm926ejs core), I
> want to compile it for arm926ejs. 
> I have done, 
> 
> $make omap1510inn_config
> $make
> 
> It is throwing me errors, 
> 
> board.c: In function `start_armboot':
> board.c:331: error: incompatible types in assignment
> board.c:373: warning: passing arg 1 of `smc_set_mac_addr' from
> incompatible pointer type
> make[1]: *** [board.o] Error 1
> make[1]: Leaving directory `/home/bhagwat/u-boot/u-boot-1.1.6/lib_arm'
> 
> seems some bug.. 

This is probably a toolchain issue on your side, then. Or you modified
the code. For me, 1.1.6 is building fine:

with U-Boot 1.1.6 = commit c5920044:

	-> ./MAKEALL omap1510inn
	Configuring for omap1510inn board...
	   text    data     bss     dec     hex filename
	  93503    3340   19512  116355   1c683 ./u-boot

with current = commit ff13ac8c:

	-> ./MAKEALL omap1510inn
	Configuring for omap1510inn board...
	   text    data     bss     dec     hex filename
	  95223    3352   19536  118111   1cd5f ./u-boot

> ------=_NextPart_000_098C_01C7EF2D.A3CAEB60
> Content-Type: text/html;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable

Please never post HTML on thi slist!

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
God made machine language; all the rest is the work of man.




More information about the U-Boot mailing list