Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 2015 08:43:13 -0700
From:      Leonardo Fogel <leonardofogel@yahoo.com.br>
To:        freebsd-arm@freebsd.org
Subject:   How to Xbuild to BBB?
Message-ID:  <1436542993.46776.YahooMailBasic@web120803.mail.ne1.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi.
I've been trying to cross-build the kernel and modules to BeagleBone Black =
from FreeBSD-10.1-RELEASE-i386 on a VirtualBox VM. I've installed svn and d=
ownloaded CURRENT (revision 285358 now). However, the building of the toolc=
hain fails:

$ env MAKEOBJDIRPREFIX=3D/home/lfogel/obj make buildenv DESTDIR=3D/home/lfo=
gel/dst KERNCONF=3DBEAGLEBONE TARGET=3Darm TARGET_ARCH=3Darmv6
Entering world for armv6:arm

$ env MAKEOBJDIRPREFIX=3D/home/lfogel/obj make toolchain DESTDIR=3D/home/lf=
ogel/dst KERNCONF=3DBEAGLEBONE TARGET=3Darm TARGET_ARCH=3Darmv6
(... stripped output)
=3D=3D=3D> kerberos5/tools/asn1_compile (obj,depend,all,install)
(... stripped output)
cc  -O -pipe  -I/usr/home/lfogel/src/kerberos5/tools/asn1_compile/../../../=
crypto/heimdal/lib/roken -I/usr/home/lfogel/src/kerberos5/tools/asn1_compil=
e/../../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/home/lfogel/s=
rc/kerberos5/tools/asn1_compile/../../include -std=3Dgnu99 -Qunused-argumen=
ts -I/home/lfogel/obj/usr/home/lfogel/src/tmp/legacy/usr/include  -static -=
L/home/lfogel/obj/usr/home/lfogel/src/tmp/legacy/usr/lib -o asn1_compile as=
n1parse.o gen.o gen_copy.o gen_decode.o gen_encode.o gen_free.o gen_glue.o =
gen_length.o gen_seq.o gen_template.o hash.o lex.o main.o symbol.o /home/lf=
ogel/obj/usr/home/lfogel/src/tmp/usr/home/lfogel/src/kerberos5/tools/asn1_c=
ompile/../../lib/libroken/libroken.a -L/home/lfogel/obj/usr/home/lfogel/src=
/tmp/usr/home/lfogel/src/kerberos5/lib/libvers -lvers -legacy
make[5]: "/home/lfogel/obj/usr/home/lfogel/src/tmp/usr/home/lfogel/src/kerb=
eros5/tools/asn1_compile/.depend" line 3: warning: Zero byte read from file=
, skipping rest of line.
make[5]: "/home/lfogel/obj/usr/home/lfogel/src/tmp/usr/home/lfogel/src/kerb=
eros5/tools/asn1_compile/.depend" line 3: Need an operator
make[5]: "/home/lfogel/obj/usr/home/lfogel/src/tmp/usr/home/lfogel/src/kerb=
eros5/tools/asn1_compile/.depend" line 4: Need an operator
make[5]: Fatal errors encountered -- cannot continue
make[5]: stopped in /usr/home/lfogel/src/kerberos5/tools/asn1_compile
*** Error code 1


I'd also tried different instructions that Google had suggested. They'd all=
 failed too. Please, could you kindly point me to right instructions on how=
 to cross-build to BBB?
Thank you for your time.
Leonardo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1436542993.46776.YahooMailBasic>