How to Xbuild to BBB?
Warner Losh
imp at bsdimp.com
Fri Jul 10 15:51:24 UTC 2015
Sure looks like that .depend file is AFU. Try removing it. If that fails, try removing the entire obj tree. Try adding WITHOUT_KERBEROS=y if it keeps failing after that.
Warner
> On Jul 10, 2015, at 9:43 AM, Leonardo Fogel <leonardofogel at yahoo.com.br> wrote:
>
> 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 downloaded CURRENT (revision 285358 now). However, the building of the toolchain fails:
>
> $ env MAKEOBJDIRPREFIX=/home/lfogel/obj make buildenv DESTDIR=/home/lfogel/dst KERNCONF=BEAGLEBONE TARGET=arm TARGET_ARCH=armv6
> Entering world for armv6:arm
>
> $ env MAKEOBJDIRPREFIX=/home/lfogel/obj make toolchain DESTDIR=/home/lfogel/dst KERNCONF=BEAGLEBONE TARGET=arm TARGET_ARCH=armv6
> (... stripped output)
> ===> 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_compile/../../../crypto/heimdal/lib/asn1 -I. -DHAVE_CONFIG_H -I/usr/home/lfogel/src/kerberos5/tools/asn1_compile/../../include -std=gnu99 -Qunused-arguments -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 asn1parse.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/lfogel/obj/usr/home/lfogel/src/tmp/usr/home/lfogel/src/kerberos5/tools/asn1_compile/../../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/kerberos5/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/kerberos5/tools/asn1_compile/.depend" line 3: Need an operator
> make[5]: "/home/lfogel/obj/usr/home/lfogel/src/tmp/usr/home/lfogel/src/kerberos5/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
>
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20150710/c130b663/attachment.bin>
More information about the freebsd-arm
mailing list