All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] problem building fw_printenv
Date: Fri, 11 Dec 2009 00:29:01 +0100	[thread overview]
Message-ID: <20091210232901.CCDDF19F3F@gemini.denx.de> (raw)
In-Reply-To: <dbdb2ea60912101320u5ce0d93asf8f748a05c29c414@mail.gmail.com>

Dear twebb,

In message <dbdb2ea60912101320u5ce0d93asf8f748a05c29c414@mail.gmail.com> 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>

  reply	other threads:[~2009-12-10 23:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-10  0:38 [U-Boot] problem building fw_printenv twebb
2009-12-10 20:18 ` twebb
2009-12-10 20:34   ` Jerry Van Baren
2009-12-10 20:39     ` Scott Wood
2009-12-10 21:20       ` twebb
2009-12-10 23:29         ` Wolfgang Denk [this message]
2009-12-10 23:45           ` Scott Wood
2010-01-18 10:31         ` Kári Davíðsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091210232901.CCDDF19F3F@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.