From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] error compiling U-boot tools
Date: Mon, 20 Feb 2012 13:03:22 -0500 [thread overview]
Message-ID: <201202201303.23813.vapier@gentoo.org> (raw)
In-Reply-To: <F3420A72FC49F64FA9558E3C3BC4DD8B19CF4907A8@NTMAILKR.iskratel.si>
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: <http://lists.denx.de/pipermail/u-boot/attachments/20120220/18a67614/attachment.pgp>
prev parent reply other threads:[~2012-02-20 18:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-20 14:23 [U-Boot] error compiling U-boot tools Kopac Drago
2012-02-20 18:03 ` Mike Frysinger [this message]
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=201202201303.23813.vapier@gentoo.org \
--to=vapier@gentoo.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox