Building Cross Compiler and u-boot

Russell Haley russ.haley at gmail.com
Thu Mar 19 06:48:43 UTC 2015


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 <stas at freebsd.org> wrote:
>
>> 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