The change to use mkimage was my change.  The intent to was to simplify the
patchsets required for uboot.  Interestingly, I'm compiling on AMD64 too.

Here is what I have for gcc.  Is this what you have (other than that I have
4.6)

[root@bernice /storage/home/tom/crochet/crochet-freebsd]# gcc --version

gcc (FreeBSD Ports Collection) 4.6.4

Copyright (C) 2011 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@bernice /storage/home/tom/crochet/crochet-freebsd]# ls -lat
/usr/local/bin/gcc

lrwxr-xr-x  1 root  wheel  20 Feb  2 18:51 /usr/local/bin/gcc ->
/usr/local/bin/gcc46








On Mon, Mar 17, 2014 at 4:03 AM, Lundberg, Johannes <
johan...@brilliantservice.co.jp> wrote:

> Hi
>
> A new version of the crochet script told me I could install u-boot from
> ports. Trying but keep getting error.
>
> First error: Can't find gcc
> Fixed by installing gcc47 and creating a symbolink link
> /usr/local/bin/gcc47 /usr/local/bin/gcc
>
> Next error:
>
> mkenvimage.c: In function 'main':
> mkenvimage.c:137:35: error: 'PLAIN_VERSION' undeclared (first use in this
> function)
> mkenvimage.c:137:35: note: each undeclared identifier is reported only once
> for each function it appears in
> gmake[2]: *** [mkenvimage.o] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/sysutils/u-boot-beaglebone-eabi/work/u-boot-2013.04/tools'
> gmake[1]: *** [tools] Error 2
> gmake[1]: Leaving directory
> `/usr/ports/sysutils/u-boot-beaglebone-eabi/work/u-boot-2013.04'
> *** Error code 2
>
> What am I doing wrong?
>
> On 11-current amd64.
>
> --
> Johannes Lundberg
> BRILLIANTSERVICE CO., LTD.
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
> もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
> 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
> ---
> CONFIDENTIALITY NOTE: The information in this email is confidential
> and intended solely for the addressee.
> Disclosure, copying, distribution or any other action of use of this
> email by person other than intended recipient, is prohibited.
> If you are not the intended recipient and have received this email in
> error, please destroy the original message.
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscr...@freebsd.org"
>



-- 
A better world shall emerge based on faith and understanding  - Douglas
MacArthur
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to