[U-Boot-Users] compilation problems with M5272C3

David van Geest david at rhythmreloaded.com
Wed Jan 9 06:26:36 CET 2008


Thanks TsiChung, that fixed the problem.

-David van Geest
[ Rhythm Reloaded ]
www.rhythmreloaded.com

On Jan 7, 2008 1:20 PM, Liew Tsi Chung <Tsi-chung.Liew at freescale.com> wrote:

>  David,
>
>     Your compiler is old. Please download the latest compiler at
> www.codesourcery.com/gnu_toolchains/coldfire/download.html
>
> Regards,
> TsiChung
>
>  ------------------------------
> *From:* u-boot-users-bounces at lists.sourceforge.net [mailto:
> u-boot-users-bounces at lists.sourceforge.net] *On Behalf Of *David van Geest
> *Sent:* Sunday, January 06, 2008 7:21 PM
> *To:* u-boot-users
> *Subject:* [U-Boot-Users] compilation problems with M5272C3
>
> Hi all,
>
> I'm trying to compile U-Boot for the M5272C3 board.  I'm using
> m68k-elf-tools-20030314, and have downloaded u-boot using
>
> git clone git://www.denx.de/git/u-boot.git u-boot/
>
> First, I run make distclean, that seems to work fine.  Then I do the following:
>
> david at chiron:~/u-boot$ make M5272C3_config
> Configuring for M5272C3 board...
> david at chiron:~/u-boot$ make
> Generating include/autoconf.mk
> m68k-elf-gcc: /home/david/u-boot/include/autoconf.mk: No such file or directory
> m68k-elf-gcc: unrecognized option `-MQ'
> m68k-elf-gcc: Compilation of header file requested
> for dir in tools examples ; do make -C $dir _depend ; done
> make[1]: Entering directory `/home/david/u-boot/tools'
> ln -s ../common/environment.c environment.c
> ln -s ../lib_generic/crc32.c crc32.c
> ln -s ../lib_generic/sha1.c sha1.c
> make[1]: Leaving directory `/home/david/u-boot/tools'
> make[1]: Entering directory `/home/david/u-boot/tools'
> make[1]: Nothing to be done for `_depend'.
> make[1]: Leaving directory `/home/david/u-boot/tools'
> make[1]: Entering directory `/home/david/u-boot/examples'
> m68k-elf-gcc: hello_world.o: No such file or directory
> m68k-elf-gcc: unrecognized option `-MQ'
> m68k-elf-gcc: stubs.o: No such file or directory
> m68k-elf-gcc: unrecognized option `-MQ'
> make[1]: *** No rule to make target `.depend', needed by `_depend'.  Stop.
> make[1]: Leaving directory `/home/david/u-boot/examples'
> make: *** [depend] Error 2
>
> Any ideas on what's going on here?  Do I need a different version of the m68k-elf-tools?
>
> Thanks,
>
> -David van Geest
> [ Rhythm Reloaded ]
> www.rhythmreloaded.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080109/9ab71fbd/attachment.htm 


More information about the U-Boot mailing list