Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2017 10:07:10 -0800
From:      "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
To:        "Oleg V. Nauman" <oleg@opentransfer.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>, Xin Li <delphij@delphij.net>
Subject:   Re: Buildworld fails if WITHOUT_INET6=YES defined
Message-ID:  <758FDB4C-C8CA-43B5-B100-CAF871AEA550@gmail.com>
In-Reply-To: <6255771.COiSESJxsN@asus.theweb.org.ua>
References:  <6255771.COiSESJxsN@asus.theweb.org.ua>

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

[-- Attachment #1 --]

> On Feb 16, 2017, at 07:30, Oleg V. Nauman <oleg@opentransfer.com> wrote:
> 
> cc -target i386-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/tmp -
> B/usr/obj/usr/src/tmp/usr/bin  -O2 -pipe -march=core2  -DHAVE_CONFIG_H -
> I/usr/src/lib/libpcap -I/usr/obj/usr/src/lib/libpcap -
> D_U_="__attribute__((unused))" -DHAVE_SNPRINTF -DHAVE_VSNPRINTF -
> DBUILDING_PCAP -DHAVE_NET_PFVAR_H -I/usr/src/contrib/libpcap -MD  -
> MF.depend.fad-getad.o -MTfad-getad.o -std=gnu99 -fstack-protector-strong -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-conversion -Wno-unused-local-typedef -Wno-switch -
> Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses  -Qunused-
> arguments  -c /usr/src/contrib/libpcap/fad-getad.c -o fad-getad.o
> cc -target i386-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/tmp -
> B/usr/obj/usr/src/tmp/usr/bin  -O2 -pipe -march=core2  -DHAVE_CONFIG_H -
> I/usr/src/lib/libpcap -I/usr/obj/usr/src/lib/libpcap -
> D_U_="__attribute__((unused))" -DHAVE_SNPRINTF -DHAVE_VSNPRINTF -
> DBUILDING_PCAP -DHAVE_NET_PFVAR_H -I/usr/src/contrib/libpcap -MD  -
> MF.depend.gencode.o -MTgencode.o -std=gnu99 -fstack-protector-strong -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-conversion -Wno-unused-local-typedef -Wno-switch -
> Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses  -Qunused-
> arguments  -c /usr/src/contrib/libpcap/gencode.c -o gencode.o
> /usr/src/contrib/libpcap/gencode.c:695:9: error: no member named 'ai' in
> 'struct _compiler_state'
>        cstate.ai = NULL;
>        ~~~~~~ ^
> /usr/src/contrib/libpcap/gencode.c:4916:13: error: use of undeclared
> identifier 'cstate'
>                bpf_error(cstate, "direction applied to 'gateway'");
>                          ^
> /usr/src/contrib/libpcap/gencode.c:4923:11: error: use of undeclared
> identifier 'cstate'
>                switch (cstate->linktype) {
>                        ^
> /usr/src/contrib/libpcap/gencode.c:4961:17: error: use of undeclared
> identifier 'cstate'
>                b1 = gen_host(cstate, **alist++, 0xffffffff, proto, Q_OR,
> Q_HOST);
>                              ^
> /usr/src/contrib/libpcap/gencode.c:4963:19: error: use of undeclared
> identifier 'cstate'
>                        tmp = gen_host(cstate, **alist++, 0xffffffff, proto,
> Q_OR,
>                                       ^
> /usr/src/contrib/libpcap/gencode.c:4972:12: error: use of undeclared
> identifier 'cstate'
>        bpf_error(cstate, "illegal modifier of 'gateway'");
>                  ^
> 6 errors generated.
> *** Error code 1
> 
> Stop.
> make[5]: stopped in /usr/src/lib/libpcap
> *** Error code 1

CCing Xin, who did the libpcap upgrade.
-Ngie

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJYpepPAAoJEPWDqSZpMIYVHkEP/31r2/MGt7xX3N5gCV3hEpip
tBIOjLv4Uz06/4b5tZe6Dftvm9GBKzf1cKs2zGnBADN4ftS8AeylJmRmEEvULtNM
qOHAtegsnel0QAbw30NNrACjAHnNaqLAgx25/3u4wg/fXnxnVb4GXcw7Xm+nljwF
C8AmYJW54unZNtuydNNiI9SuWEAkQEfuP7Nqqdcs/CgwYghTWdfahFPkuDEXLzo4
URAlHcHOWE8x5+GoFlEwdYs15T4efQq2U8WyzFJLvo5gL5oaYmD405qofUk5Xdoo
KmEEW3HLsUQlSXEC9v0npOMFxQ6FgX/z8D8CSBBMoXAkmxCdGx9+f1ZEsL+N5+sH
qJ7zqb+fHDNntzbtxqvhFskLSpjyCWuHXyL8MggfQIlgS7YXRpJej97S8PImq/Nl
Fr/BjF2poBssrl4uPXoiS7uL4NC9QLKT3hQtjxExv9A9yjyXcyeiBUfwBrg0lszK
+v8Z+mDDsceHeWVT3JoKlNAS1pyfgQJR8m/Dflfz8fscO/kYOXC2jZgcOuZwHeV+
jmJRR0vJ+w210uFbN0BE1N8Gs8EUn+rWHejwDHsydnUVnC/PQOsPlyofV6gp5h/C
FX8HZQKHLHwGUTV5rWbNCeVCEuob8CqPJq8gnjTU8tN9tQV+A1xxeNh52B2cdsJR
Q5iSa/sQVjoewC07lI6t
=8ihC
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?758FDB4C-C8CA-43B5-B100-CAF871AEA550>