Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2015 00:24:31 -0700
From:      Stanislav Sedov <stas@freebsd.org>
To:        Russell Haley <russ.haley@gmail.com>
Cc:        Tim Kientzle <tim@kientzle.com>, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Building Cross Compiler and u-boot
Message-ID:  <A6BF600B-F5DD-4FD1-9DF3-49C9684DC1F0@freebsd.org>
In-Reply-To: <CABx9NuSsJF_OBbtOvhM%2BNn4%2Bbs6t2Zs5JSGdg7dKUv8wHp%2B93Q@mail.gmail.com>
References:  <CABx9NuQXb_FJMw%2BqwbaGuFX94LkEMRf_9kAuowk6ctYBEDQn=A@mail.gmail.com> <CALFUBVFVDLz=NCuTT5LTYm%2BCycW5C2GmcK6TB%2B7cdvG2zZHgKg@mail.gmail.com> <5505CD50.2050503@ambient-md.com> <CABx9NuRH7a5H2quHUiBAL6M%2BbHBqBP-jK9CbNCPOsjhJmtngGw@mail.gmail.com> <CABx9NuSyT2xdejw-p6sS=HGZgVB-fqWf1oK1gWHswy9hKvYDZw@mail.gmail.com> <E3580587-BD6C-4F63-A33F-5ABD88048C52@kientzle.com> <CABx9NuSDiMXD%2BMAC=OKwrHcRrT1Jzr7ADJ9_C5mQs14B-%2BDiQQ@mail.gmail.com> <B40A580E-3ED9-4957-891F-C3A244B9646D@kientzle.com> <CABx9NuRToRgV9KzwiNNePO6b42E=4sFzaJiCOAYrr_eb1bgpcw@mail.gmail.com> <CABx9NuSsJF_OBbtOvhM%2BNn4%2Bbs6t2Zs5JSGdg7dKUv8wHp%2B93Q@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail


> On Mar 16, 2015, at 11:54 PM, Russell Haley <russ.haley@gmail.com> wrote:
> 
> root@Jailbird:/usr/uboot# gmake SED=gsed HOSTCC=cc
> CROSS_COMPILE=arm-none-eabi- ccwmx53js_config
> Configuring a wireless module
> Configuring for ccwmx53 board...
> root@Jailbird:/usr/uboot# gmake SED=gsed HOSTCC=cc CROSS_COMPILE=arm-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 “cc1"

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=0x77800000 -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





help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A6BF600B-F5DD-4FD1-9DF3-49C9684DC1F0>