From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 11 Dec 2009 00:29:01 +0100 Subject: [U-Boot] problem building fw_printenv In-Reply-To: References: <4B215B55.4050103@ge.com> <4B215C6E.3000404@freescale.com> Message-ID: <20091210232901.CCDDF19F3F@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear twebb, In message you wrote: > > > > I think it comes from the libc, so it wouldn't be present if someone just > > installed binutils+gcc for standalone development. > > > Great, that was the clue. I was compiling using cross-compile tools > from android that don't use a standard libc. When I changed to using > Codesourcery tools, I got farther... I'm tempted to try a malapropism on Tom Christiansen's quote: "The use of Android crippleware systems is a sin that carries with it its own punishment." ;-) > 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? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If you use modules, you pay the price. Sane embedded solutions running in "tight" environments don't use modules :-) -- Benjamin Herrenschmidt in <1258234866.2140.451.camel@pasglop>