Building Cross Compiler and u-boot
Stanislav Sedov
stas at freebsd.org
Tue Mar 17 07:24:47 UTC 2015
> On Mar 16, 2015, at 11:54 PM, Russell Haley <russ.haley at gmail.com> wrote:
>
> root at Jailbird:/usr/uboot# gmake SED=gsed HOSTCC=cc
> CROSS_COMPILE=arm-none-eabi- ccwmx53js_config
> Configuring a wireless module
> Configuring for ccwmx53 board...
> root at 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
More information about the freebsd-arm
mailing list