From owner-freebsd-ports@FreeBSD.ORG Mon Mar 17 15:53:02 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A157E73 for ; Mon, 17 Mar 2014 15:53:02 +0000 (UTC) Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C570E615 for ; Mon, 17 Mar 2014 15:53:01 +0000 (UTC) Received: by mail-ob0-f172.google.com with SMTP id wm4so5702133obc.17 for ; Mon, 17 Mar 2014 08:52:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=mSDSkKLiBbJMpXBvqrUy03Eqb1SKdc9rngbWfogR7Nk=; b=S0tKrjdhACRLpGsOSb+d5k2bIralN9b8oWzD2K2TQ93HFbDgVuuS58IhAwS8mkXxHw XRpE3tO54HqEWEkJ0XNE+AFkAG9XwpISAGlqn0kFeWj6GWwCCd8ilWfB2LNu9HxhK6lh zkMIqg8ntZMNQq97v4a0uqzRJDtpCPsvAZIikXsdqpDWoYq7hs4JCK/Ka17aytVNraPj 5EX4olb6AhpT2rLbPg213OoRa0slM02nBWlRcJDdr1V9spDYZoq+g+Ux3F5vnDhfzbzk 8/Q+O86uNg4MiCHGIGPrX16fQaHL5J57qGKPsq7EW42bq5jhakJkFkyhOO3Heprqos7G bOdA== X-Gm-Message-State: ALoCoQlSpv2zxu45RSvxlrrZnjYP3wrACNZVSJexclcQBWZZERhGMQ1HJM+wnOfSJKpct/mve2EP MIME-Version: 1.0 X-Received: by 10.182.142.37 with SMTP id rt5mr1217626obb.76.1395071573737; Mon, 17 Mar 2014 08:52:53 -0700 (PDT) Received: by 10.182.104.169 with HTTP; Mon, 17 Mar 2014 08:52:53 -0700 (PDT) In-Reply-To: References: Date: Mon, 17 Mar 2014 09:52:53 -0600 Message-ID: Subject: Re: crochet and dependencies From: Tom Everett To: "Lundberg, Johannes" Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-arm@freebsd.org" , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Mar 2014 15:53:02 -0000 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 < johannes@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-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > -- A better world shall emerge based on faith and understanding - Douglas MacArthur