From mboxrd@z Thu Jan 1 00:00:00 1970 From: M. Warner Losh Date: Sat, 19 Jan 2008 20:48:23 -0700 (MST) Subject: [U-Boot-Users] latest (1.3.1) doesn't compile: files missing In-Reply-To: <20080120010721.EA1B424764@gemini.denx.de> References: <20080118.185100.1159141701.imp@bsdimp.com> <20080120010721.EA1B424764@gemini.denx.de> Message-ID: <20080119.204823.387223958.imp@bsdimp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message: <20080120010721.EA1B424764@gemini.denx.de> Wolfgang Denk 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