From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Mon, 20 Feb 2012 13:03:22 -0500 Subject: [U-Boot] error compiling U-boot tools In-Reply-To: References: Message-ID: <201202201303.23813.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 20 February 2012 09:23:00 Kopac Drago wrote: > I tried to compile U-boot tools with > make env > or > make tools-all > > It reports error: > > fw_env.c: In function `flash_write_buf': > fw_env.c:860: error: `MTD_DATAFLASH' undeclared (first use in this > function) the kernel headers installed in your host system are out of date. looking at the kernel history, it seems they're *very* old as MTD_DATAFLASH was added in Feb 2005. i could understand making concessions for semi-recent additions, but not for something this old. not a bug in u-boot ... update your distro's kernel headers. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: