[U-Boot-Users] u-boot compilation

Hello,
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!
André

On Tue, Nov 05, 2002 at 07:36:24PM +0100, André Stierenberg 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?
Robert

In message 20021105184520.GS21366@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
participants (3)
-
André Stierenberg
-
Robert Schwebel
-
Wolfgang Denk