From owner-freebsd-arm@freebsd.org Fri Jul 10 15:43:21 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5CED997329 for ; Fri, 10 Jul 2015 15:43:21 +0000 (UTC) (envelope-from leonardofogel@yahoo.com.br) Received: from nm20-vm3.bullet.mail.ne1.yahoo.com (nm20-vm3.bullet.mail.ne1.yahoo.com [98.138.91.150]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 741C41BE7 for ; Fri, 10 Jul 2015 15:43:20 +0000 (UTC) (envelope-from leonardofogel@yahoo.com.br) Received: from [98.138.100.111] by nm20.bullet.mail.ne1.yahoo.com with NNFMP; 10 Jul 2015 15:43:14 -0000 Received: from [98.138.87.3] by tm100.bullet.mail.ne1.yahoo.com with NNFMP; 10 Jul 2015 15:43:13 -0000 Received: from [127.0.0.1] by omp1003.mail.ne1.yahoo.com with NNFMP; 10 Jul 2015 15:43:13 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 975372.51355.bm@omp1003.mail.ne1.yahoo.com Received: (qmail 51826 invoked by uid 60001); 10 Jul 2015 15:43:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.br; s=s1024; t=1436542993; bh=OJ6tCKWhzO0wq/cDRYurTGc8P/b5s7lzVheVfYizb6E=; h=Message-ID:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XuJng8o9Q2sYQkmjN8GJnn7S8TvfP4WjG4gSMhtTr+RZUpFs+uodhajA+vVbVvD/YFje8GIb45jTHDopGbnU/r94Hr0W4LF7Hvbdl/jjEqN4zpSkM21uZuhgfNjQzXJuF9dGWVvRfMNYGlQxQy4H0IfyKijUTF292hhbls2Sp/c= X-YMail-OSG: f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bC9vYmogbWFrZSABMAEBAQE- X-Mailer: YahooMailBasic/566 YahooMailWebService/0.8.203.802 Message-ID: <1436542993.46776.YahooMailBasic@web120803.mail.ne1.yahoo.com> Date: Fri, 10 Jul 2015 08:43:13 -0700 From: Leonardo Fogel Subject: How to Xbuild to BBB? To: freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2015 15:43:21 -0000 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