Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2017 12:31:10 -0400
From:      Randy Westlund <rwestlun@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Build fails in libpcap with WITHOUT_INET6
Message-ID:  <20170328163110.GD78849@gmail.com>

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

--7DO5AaGCk89r4vaK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Building r315872 for the Tegra (arm/armv6) board with WITHOUT_INET6 set fai=
ls
in libpcap:

> --- klm_prot_xdr.pico ---
> cc -target armv6-gnueabihf-freebsd12.0 --sysroot=3D/usr/home/randy/tegra/=
freebs
> d-obj/arm.armv6/usr/home/randy/tegra/freebsd/tmp -B/usr/home/randy/tegra/=
free
> bsd-obj/arm.armv6/usr/home/randy/tegra/freebsd/tmp/usr/bin -fpic -DPIC -g=
 -O
> -pipe   -DYP -I/usr/home/randy/tegra/freebsd-obj/arm.armv6/usr/home/randy=
/teg
> ra/freebsd/tmp/usr/include/rpcsvc -MD  -MF.depend.klm_prot_xdr.pico -MTkl=
m_pr
> ot_xdr.pico -std=3Dgnu99 -Wsystem-headers -Werror -Wno-pointer-sign -Wno-=
empty-
> body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-co=
mpar
> e -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-e=
num-
> conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-s=
witc
> h -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses  -Qunused=
-arg
> uments  -c klm_prot_xdr.c -o klm_prot_xdr.pico
> --- all_subdir_lib/libpcap ---
> /usr/home/randy/tegra/freebsd/contrib/libpcap/gencode.c:695:9: error: no =
memb
> er named 'ai' in 'struct _compiler_state'
>         cstate.ai =3D NULL;
>         ~~~~~~ ^
> --- all_subdir_lib/librpcsvc ---
> --- mount_xdr.pico ---
> cc -target armv6-gnueabihf-freebsd12.0 --sysroot=3D/usr/home/randy/tegra/=
freebs
> d-obj/arm.armv6/usr/home/randy/tegra/freebsd/tmp -B/usr/home/randy/tegra/=
free
> bsd-obj/arm.armv6/usr/home/randy/tegra/freebsd/tmp/usr/bin -fpic -DPIC -g=
 -O
> -pipe   -DYP -I/usr/home/randy/tegra/freebsd-obj/arm.armv6/usr/home/randy=
/teg
> ra/freebsd/tmp/usr/include/rpcsvc -MD  -MF.depend.mount_xdr.pico -MTmount=
_xdr
> .pico -std=3Dgnu99 -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-=
body -
> Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare =
-Wno
> -unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-co=
nver
> sion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch =
-Wno
> -switch-enum -Wno-knr-promoted-parameter -Wno-parentheses  -Qunused-argum=
ents
>   -c mount_xdr.c -o mount_xdr.pico
> --- all_subdir_lib/libpcap ---
> /usr/home/randy/tegra/freebsd/contrib/libpcap/gencode.c:4916:13: error: u=
se o
> f undeclared identifier 'cstate'
>                 bpf_error(cstate, "direction applied to 'gateway'");
>                           ^
> /usr/home/randy/tegra/freebsd/contrib/libpcap/gencode.c:4923:11: error: u=
se o
> f undeclared identifier 'cstate'
>                 switch (cstate->linktype) {
>                         ^
> /usr/home/randy/tegra/freebsd/contrib/libpcap/gencode.c:4961:17: error: u=
se o
> f undeclared identifier 'cstate'
>                 b1 =3D gen_host(cstate, **alist++, 0xffffffff, proto, Q_O=
R, Q_H
> OST);
>                               ^
> /usr/home/randy/tegra/freebsd/contrib/libpcap/gencode.c:4963:19: error: u=
se o
> f undeclared identifier 'cstate'
>                         tmp =3D gen_host(cstate, **alist++, 0xffffffff, p=
roto,
> Q_OR,
>                                        ^
> /usr/home/randy/tegra/freebsd/contrib/libpcap/gencode.c:4972:12: error: u=
se o
> f undeclared identifier 'cstate'
>         bpf_error(cstate, "illegal modifier of 'gateway'");
>                   ^
> 6 errors generated.
> *** [gencode.o] Error code 1
>=20
> make[5]: stopped in /usr/home/randy/tegra/freebsd/lib/libpcap
> 1 error
>=20
> make[5]: stopped in /usr/home/randy/tegra/freebsd/lib/libpcap
> *** [all_subdir_lib/libpcap] Error code 2



--7DO5AaGCk89r4vaK
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEAjssMridOhQY6jcWZrB5ePM2yakFAljaj84ACgkQZrB5ePM2
yalK4wf+P1utcqWi+OCaxcBbc380tF4rf0yUZedG/nWHb1HF50R8zIDHJbHFzbDf
wLhELWhorDbSkqmR/fkQ4RvpwbgLDPKDbbJCZjjy+R1v6QsmiDQKuYnMtmvrSo1F
kJ578B7BaIVPtU/1v9TTdrLWYj9t36aIW35tKSTPnDCez2OU8eIdte9s2oxWX8Yp
uOe1Cj2uUF2rbvLnUbqDYOGKTnBX84AWXRLLB6k3QZRYL5ZJddsMwyTL/uWDxoWy
7G9flTTIgFiu3GiSTQ4U+WcGcDakmyAIAA2/QXZQ9zMYOHRZlIyFJqfJzU33U9VL
gBE4QYXPMTxwZsKu4l5xZKnkgb8jMg==
=C/Pd
-----END PGP SIGNATURE-----

--7DO5AaGCk89r4vaK--



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