[U-Boot-Users] OT (probably) - Broke my host compiler - can't build tools directory

Wolfgang Denk wd at denx.de
Tue Aug 7 23:44:55 CEST 2007


In message <46B8E66F.2070902 at alum.mit.edu> you wrote:
>
> decided to update my Gentoo Linux, as is often recommended (not my 
> timing, of course!).  In the process, gcc was updated from 3.4.4 to 
> 3.4.6; unfortunately, something didn't get done completely right, and 
> now I get failures when trying to build u-boot.  Specifically, this:
> 
>     make[1]: Entering directory `/root/polychromix/u-boot/tools'
>     make[1]: *** No rule to make target 
> `/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h', needed by 
> `img2srec.o'.  Stop.
> 
> My PATH and GCC_PATH settings have been updated to point to 
> .../3.4.6/... and stddef.h does exist there.  I don't know how to tell 
> the u-boot make system point to the correct compiler.

Just make it throw away all obsolete information. Try:

	make mrproper

followed by

	make <board>_config
	make all

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
Often it is fatal to live too long.                          - Racine




More information about the U-Boot mailing list