[U-Boot-Users] u-boot compilation

Wolfgang Denk wd at denx.de
Tue Nov 5 19:56:29 CET 2002

In message <20021105184520.GS21366 at pengutronix.de> you wrote:
> > i?ve problems compiling u-boot. I use cross compiler 2.95.3. When i 
> > compile u-boot i get an errer that he cant finde a file called 
> > "mach-types.h". What could it be? How can i fix this problems? I haven?t 
> > found the file in my filesystem.. not in the kernel directory (2.4.18 
> > and 2.5.0) and not in the directory of the cross compiler!
> mach-types.h should be in the include/asm-arm/ directory of your kernel
> tree. Are you sure you have installed a correct toolchain and kernel
> source? 

No. No file "mach-types.h" is needed anywhere in  the  U-Boot  source
code.  If  the compiler thinks it needs it (and cannot find it), then
the cross compiler is misconfigured.

Get a working set of tools. 

Best regards,

Wolfgang Denk

Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
See us @ electronica 2002 in Munich, Nov 12-15, Hall A3, Booth A3.325 

More information about the U-Boot mailing list