From owner-freebsd-arm@FreeBSD.ORG Tue Mar 17 07:24:47 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 D6E72939 for ; Tue, 17 Mar 2015 07:24:47 +0000 (UTC) Received: from mx0.deglitch.com (backbone.deglitch.com [78.110.53.255]) by mx1.freebsd.org (Postfix) with ESMTP id 89E24D46 for ; Tue, 17 Mar 2015 07:24:46 +0000 (UTC) Received: from [192.168.11.8] (unknown [98.248.95.7]) by mx0.deglitch.com (Postfix) with ESMTPSA id 93DF48FC27; Tue, 17 Mar 2015 11:24:37 +0400 (MSK) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: Building Cross Compiler and u-boot From: Stanislav Sedov In-Reply-To: Date: Tue, 17 Mar 2015 00:24:31 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5505CD50.2050503@ambient-md.com> To: Russell Haley X-Mailer: Apple Mail (2.2070.6) 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: Tue, 17 Mar 2015 07:24:47 -0000 > On Mar 16, 2015, at 11:54 PM, Russell Haley = wrote: >=20 > 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=3Darm-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