From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] M5282EVB undefined reference to `environment'
Date: Tue, 22 Nov 2011 05:51:15 +0100 [thread overview]
Message-ID: <201111220551.16053.marek.vasut@gmail.com> (raw)
In-Reply-To: <4ECAC9E7.7000209@gmail.com>
> Hi,
>
> I'm trying to build U-Boot for the above mentioned board. Basically,
> I've done the following on a Ubuntu 10.04:
>
> wget
> https://sourcery.mentor.com/public/gnu_toolchain/m68k-elf/freescale-coldfir
> e-4.4-215-m68k-elf-i686-pc-linux-gnu.tar.bz2
>
> sudo tar xvfj
> freescale-coldfire-4.4-215-m68k-elf-i686-pc-linux-gnu.tar.bz2 -C /opt
>
> export
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/free
> scale-coldfire-4.4/bin
>
> |sudo apt-get install git-core
>
> mkdir /home/james/u-boot-git && cd ||/home/james/u-boot-git
>
> git clone ||git://git.denx.de/u-boot-coldfire.git
>
> ||cd u-boot-coldfire
> ||
> ||make clean
>
> make M5282EVB_config
try ./MAKEALL M5282EVB ... I suspect you don't have CROSS_COMPILE=your-crosscc-
prefix variable set, and maybe ARCH=m68k variable too.
>
> ||make| all
>
> At the very last stage of linking, I get...
>
> common/libcommon.o:(.data.rel.env_ptr+0x0): undefined reference to
> `environment'
> make: *** [u-boot] Error 1
>
> Can someone help me fix this, please?
>
> Regards,
> James.
next prev parent reply other threads:[~2011-11-22 4:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-21 22:00 [U-Boot] M5282EVB undefined reference to `environment' James Steward
2011-11-22 4:51 ` Marek Vasut [this message]
2011-11-22 5:22 ` James Steward
2011-11-23 12:19 ` Igor Grinberg
2011-11-23 23:58 ` James Steward
2011-11-24 6:36 ` Igor Grinberg
2011-11-24 23:27 ` James Steward
2011-11-25 5:42 ` Wolfgang Denk
2011-11-25 3:52 ` [U-Boot] [Almost solved] " James Steward
2011-11-29 22:58 ` James Steward
2011-11-30 6:58 ` Igor Grinberg
2011-11-30 21:10 ` James Steward
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=201111220551.16053.marek.vasut@gmail.com \
--to=marek.vasut@gmail.com \
--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.