Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 2015 09:51:16 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Leonardo Fogel <leonardofogel@yahoo.com.br>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: How to Xbuild to BBB?
Message-ID:  <34801934-D06E-491D-B30D-EEBDE54E253F@bsdimp.com>
In-Reply-To: <1436542993.46776.YahooMailBasic@web120803.mail.ne1.yahoo.com>
References:  <1436542993.46776.YahooMailBasic@web120803.mail.ne1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 =
<leonardofogel@yahoo.com.br> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34801934-D06E-491D-B30D-EEBDE54E253F>