From owner-freebsd-arm@freebsd.org Fri Jul 10 15:51:24 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 1599499751B for ; Fri, 10 Jul 2015 15:51:24 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E04BA106B for ; Fri, 10 Jul 2015 15:51:23 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: by pdjr16 with SMTP id r16so25037144pdj.3 for ; Fri, 10 Jul 2015 08:51:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=nmCi7UqQOmOsDtuU631CE52ydmY6ykO32rGY7bHec9k=; b=aUfljq0TqpZ03rqZnli4YiMIqBY39Wl7pZNkXyix8Aj7pbscCPnjTrSLyx+aZd4NPg f+Wl/s6gxBgTNZJ3A4B+6SCN/eUIOSmPzTCHOPEpk6bM153yjSslIkA2xPIHgkctPPyu hQCPdA0IGp6qobtlBu/MxO3yzH2ZhIEpUO7PI8L01SQOfNqzl0eBN1BUYrjlbjT0gKQF nbdE3hC8cooyPALBwXtW8lHGQUIUYrPJc6OH1TwiZ86E+ROhT+gyR3fN26IX8y3KHrJP zV5bPPfZT/usccaNcurPKvYJvLcE7mg3q5Tew1fA54aGZQiR46Jy1Ov/xmWRYBQzuyIL XsiQ== X-Gm-Message-State: ALoCoQm6U8E1lUQPP7wQDT2nIPIpSy3dEFSeSJAEwXBDQyiQQXTfREK+mVJMkRD07bwg/aOTXKgR X-Received: by 10.70.44.199 with SMTP id g7mr43344573pdm.27.1436543477266; Fri, 10 Jul 2015 08:51:17 -0700 (PDT) Received: from [10.64.26.138] ([69.53.236.236]) by smtp.gmail.com with ESMTPSA id fr2sm10002485pdb.22.2015.07.10.08.51.15 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 10 Jul 2015 08:51:16 -0700 (PDT) Sender: Warner Losh Subject: Re: How to Xbuild to BBB? Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Content-Type: multipart/signed; boundary="Apple-Mail=_3ACF911A-44D1-495C-8E9E-480C3FCC9BD3"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5 From: Warner Losh In-Reply-To: <1436542993.46776.YahooMailBasic@web120803.mail.ne1.yahoo.com> Date: Fri, 10 Jul 2015 09:51:16 -0600 Cc: freebsd-arm@freebsd.org Message-Id: <34801934-D06E-491D-B30D-EEBDE54E253F@bsdimp.com> References: <1436542993.46776.YahooMailBasic@web120803.mail.ne1.yahoo.com> To: Leonardo Fogel X-Mailer: Apple Mail (2.2102) 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:51:24 -0000 --Apple-Mail=_3ACF911A-44D1-495C-8E9E-480C3FCC9BD3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Sure looks like that .depend file is AFU. Try removing it. If that = fails, try removing the entire obj tree. Try adding WITHOUT_KERBEROS=3Dy = if it keeps failing after that. Warner > On Jul 10, 2015, at 9:43 AM, Leonardo Fogel = wrote: >=20 > 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: >=20 > $ env MAKEOBJDIRPREFIX=3D/home/lfogel/obj make buildenv = DESTDIR=3D/home/lfogel/dst KERNCONF=3DBEAGLEBONE TARGET=3Darm = TARGET_ARCH=3Darmv6 > Entering world for armv6:arm >=20 > $ env MAKEOBJDIRPREFIX=3D/home/lfogel/obj make toolchain = DESTDIR=3D/home/lfogel/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/heimda= l/lib/roken = -I/usr/home/lfogel/src/kerberos5/tools/asn1_compile/../../../crypto/heimda= l/lib/asn1 -I. -DHAVE_CONFIG_H = -I/usr/home/lfogel/src/kerberos5/tools/asn1_compile/../../include = -std=3Dgnu99 -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/too= ls/asn1_compile/../../lib/libroken/libroken.a = -L/home/lfogel/obj/usr/home/lfogel/src/tmp/usr/home/lfogel/src/kerberos5/l= ib/libvers -lvers -legacy > make[5]: = "/home/lfogel/obj/usr/home/lfogel/src/tmp/usr/home/lfogel/src/kerberos5/to= ols/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/to= ols/asn1_compile/.depend" line 3: Need an operator > make[5]: = "/home/lfogel/obj/usr/home/lfogel/src/tmp/usr/home/lfogel/src/kerberos5/to= ols/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 >=20 >=20 > 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 >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" --Apple-Mail=_3ACF911A-44D1-495C-8E9E-480C3FCC9BD3 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJVn+n0AAoJEGwc0Sh9sBEA4sEQAOEDZsCG1g2Gp2Eq/tb7QG2C dgrEakkuveiy+9iCDRlbQw6YYcMNozqBFB+zeTIHBr0jbGQ3SxVXWmfuNPdC0AkP Lsc9gcdDd6eK1BOiJ4oJJg1PHrljlsahVtHkZAS5D0Vp+TnLV4DNwO5oNW+lwTua x9Un5p7uYmaYEvcp2BUevb5xM8PVRHCO2V9tyUAunYp7XEuxCI5TH3hZeKCfS0sf vXsOzPQWYegB/L5KZS9LmLPEVqgh1HQ7l0y7O+y0EViIIVo8CmhKEkAAmI5zcqVR 2y+mX1CZfm0MpceQijbm6ydyI6w/SaRzEkkiJsTWeM4b5NcY9IHLrDHh+AiGBU2f 3AKNW8paIxKMuym174YQKRQKc0U3bG+Bd0tMJMZ8pUkiiHLyWqwTCK+Gr4GXguEf nszfzHSR5+kV9R+rjzL+HS/dwx+0YdElcRi1iyY1CuklmqYyetXpXqXRGRDFrov+ mMvZQwFtFcQk4iBncfz9En0OMxi9W/+Qbn5ga3+i+sufox5gF2H1P/IDZcP5/ppj CE7Hia/jD/v5UllKcJ3ZSFhZahN44Le8OcAJBHHDYwdWlrwhruPsD8R9YChkP++h am2qQwzz2YlhH+CoNjToGN/28e52zg/qvvxIJettkJK4noFrdBOSwWh0RGOvGidf FRn+YJCjKzW2dW23CTns =y1Ws -----END PGP SIGNATURE----- --Apple-Mail=_3ACF911A-44D1-495C-8E9E-480C3FCC9BD3--