
In message: 20080120010721.EA1B424764@gemini.denx.de Wolfgang Denk wd@denx.de writes: : In message 20080118.185100.1159141701.imp@bsdimp.com you wrote: : > There are two missing files from the distribution that prevents uboot : > from compiling. : : What sort of toolchain are you using?
binutils 2.15 and gcc 4.2.1. The problem turned out to be the combination: gcc 4.2.1 produced code that binutils couldn't assemble properly. That was what was causing the relocation error.
: > stddef.h is included by a few different things, but can be a blank : > file. : > : > stdarg.h is included by a couple of things, and can be a trivial : > implementation (attached). : > : > These are both host includes, and likely shouldn't be included at all : > in the boot loader code proper. : > : > This is when building the MPC8548CDS config. : > : > I also get link errors on this out of the box: : : It seems you have a toolchain issue. This is not a problem with U-Boot : code.
The two include files aren't a toolchain issue. They can't be because uboot's makefile has said not to include anything from the standard include files. These files aren't included with u-boot.
Warner