From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 10 Dec 2009 17:45:29 -0600 Subject: [U-Boot] problem building fw_printenv In-Reply-To: <20091210232901.CCDDF19F3F@gemini.denx.de> References: <4B215B55.4050103@ge.com> <4B215C6E.3000404@freescale.com> <20091210232901.CCDDF19F3F@gemini.denx.de> Message-ID: <4B218819.3090909@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: >> fw_env.c:43:27: error: mtd/mtd-user.h: No such file or directory >> >> So then, I have this problem with mtd-user.h not being found. If I >> define MTD_VERSION=old, it then uses mtd.h and gets further but >> encounters another error within mtd.h. > > There will probably more problems to follow... > >> Seems like I shouldn't have to define MTD_VERSION=old in the first >> place, but without it no mtd-user.h file. Any more suggestions? > > Try a sane build environment? I have the same problems building this. We need to define phys_addr_t somewhere if we're going to include u-boot internal headers in a user tool. -Scott