From owner-freebsd-arm@FreeBSD.ORG Thu Mar 19 06:48:43 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EE2E67D9; Thu, 19 Mar 2015 06:48:42 +0000 (UTC) Received: from mail-yh0-x22b.google.com (mail-yh0-x22b.google.com [IPv6:2607:f8b0:4002:c01::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A13EAE2A; Thu, 19 Mar 2015 06:48:42 +0000 (UTC) Received: by yhle43 with SMTP id e43so10726646yhl.2; Wed, 18 Mar 2015 23:48:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=obt46X4b3owvGgCnFtcM3Es+8zcL0cpeVePg4QKAvGE=; b=Nl/rjihb52zSfTXkiZIe2iHy+IAWvMoeCm6kLNioHHgP3ZkaOVAZJjgCc7vQNoghz8 FCmtugJwGTgOZquMUEQXBkhAm6fc7iLJ5WQt8HnyP0WtJyURMY7nEbDp1lqiGNropZVD 1uqruul3gU7mBXEIPmp1NrMaC0qBjL0DmHaZPSktwRvHHfav4ccHkwUtp30t/nlmqlW4 a2oQfVNaDsluWfRxssCU0mB3ualXO99zRuooXl/8xV3cLuAQ6gM7gJVPeuJJgzyODuXv hbMppMUdx6gSsBH2BlW7z1SXbXbjvI6i8utX/CswJ4UWu144KkNnSxuBUGTijpC+1H5c v2aw== MIME-Version: 1.0 X-Received: by 10.170.116.83 with SMTP id i80mr69075945ykb.31.1426747721733; Wed, 18 Mar 2015 23:48:41 -0700 (PDT) Received: by 10.170.182.81 with HTTP; Wed, 18 Mar 2015 23:48:41 -0700 (PDT) In-Reply-To: References: <5505CD50.2050503@ambient-md.com> Date: Wed, 18 Mar 2015 23:48:41 -0700 Message-ID: Subject: Re: Building Cross Compiler and u-boot From: Russell Haley To: Stanislav Sedov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Tim Kientzle , freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2015 06:48:43 -0000 Thanks Stanislav, I was able to install the mpc dependancy, but am still getting the fdt error. It has something to do with Flattened Device Tree tools? I will have to ask Rui. On Tue, Mar 17, 2015 at 12:24 AM, Stanislav Sedov wrote: > >> On Mar 16, 2015, at 11:54 PM, Russell Haley wrote= : >> >> root@Jailbird:/usr/uboot# gmake SED=3Dgsed HOSTCC=3Dcc >> CROSS_COMPILE=3Darm-none-eabi- ccwmx53js_config >> Configuring a wireless module >> Configuring for ccwmx53 board... >> root@Jailbird:/usr/uboot# gmake SED=3Dgsed HOSTCC=3Dcc CROSS_COMPILE=3Da= rm-none-eabi- >> Generating include/autoconf.mk >> Shared object "libmpc.so.3" not found, required by "cc1" >> Generating include/autoconf.mk.dep >> Shared object "libmpc.so.3" not found, required by =E2=80=9Ccc1" > > Looks like you are missing one of the cc dependencies. Is you cc gcc? > If so, you might want to recompile it (or install the missing dependency = (mpc). > >> for dir in tools examples/standalone examples/api ; do gmake -C $dir >> _depend ; done >> gmake[1]: Entering directory '/usr/uboot/tools' >> gmake[1]: Nothing to be done for '_depend'. >> gmake[1]: Leaving directory '/usr/uboot/tools' >> gmake[1]: Entering directory '/usr/uboot/examples/standalone' >> gmake[1]: Nothing to be done for '_depend'. >> gmake[1]: Leaving directory '/usr/uboot/examples/standalone' >> gmake[1]: Entering directory '/usr/uboot/examples/api' >> gmake[1]: Nothing to be done for '_depend'. >> gmake[1]: Leaving directory '/usr/uboot/examples/api' >> gmake -C tools all >> gmake[1]: Entering directory '/usr/uboot/tools' >> cc -g -Wall -idirafter /usr/uboot/include -idirafter >> /usr/uboot/include2 -idirafter /usr/uboot/include -I /usr/uboot/libfdt >> -I /usr/uboot/tools -DTEXT_BASE=3D0x77800000 -DUSE_HOSTCC >> -D__KERNEL_STRICT_NAMES -O -c -o fdt.o > > Sounds like a Makefile problem. The command line is definitely missing > the source file. But this might be a fallout from the problem above. > > -- > ST4096-RIPE > > >