Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2015 18:15:54 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   r291302: f_enc.c:104:43: error: use of undeclared identifier 'IPSEC_ENC_BEFORE' static
Message-ID:  <20151125181554.712e3cd4.ohartman@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
--Sig_/ItBhC6G67M3ld3yHhd/iGxB
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

The recent CURRENT (r291302) sources won't build anymore due to the error s=
hown below:

[...]
--- if_enc.o ---
cc  -c -O3 -pipe -fno-strict-aliasing -march=3Dnative  -nostdinc  -I. -I/us=
r/src/sys
-I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -inclu=
de
opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=
=3Dkernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tabl=
es
-ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-e=
xterns
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q=
ual  -Wundef
-Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__  -Wmissing-include-dirs
-fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-co=
mpare
-Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-fu=
nction
-Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx
-std=3Diso9899:1999 -Werror  /usr/src/sys/net/if_enc.c --- if_mib.o --- ctf=
convert -L
VERSION if_mib.o ERROR: ctfconvert: if_mib.o doesn't have type data to conv=
ert ---
if_vlan.o --- cc  -c -O3 -pipe -fno-strict-aliasing -march=3Dnative  -nostd=
inc  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION=
_HEADERS
-include opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -W=
all
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
-D__printf__=3D__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-sh=
ow-option
-Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body
-Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-poin=
ter-sign
-Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=3Diso9899:1999
-Werror  /usr/src/sys/net/if_vlan.c --- modules-all --- --- all_subdir_aac =
--- =3D=3D=3D> aac
(all) --- if_enc.o --- /usr/src/sys/net/if_enc.c:104:43: error: use of unde=
clared
identifier 'IPSEC_ENC_BEFORE' static VNET_DEFINE(int, filter_mask_in) =3D I=
PSEC_ENC_BEFORE;
^ /usr/src/sys/net/if_enc.c:105:40: error: use of undeclared identifier
'IPSEC_ENC_BEFORE' static VNET_DEFINE(int, bpf_mask_in) =3D IPSEC_ENC_BEFOR=
E;
^ /usr/src/sys/net/if_enc.c:106:44: error: use of undeclared identifier
'IPSEC_ENC_BEFORE' static VNET_DEFINE(int, filter_mask_out) =3D IPSEC_ENC_B=
EFORE;
^ /usr/src/sys/net/if_enc.c:107:41: error: use of undeclared identifier
'IPSEC_ENC_BEFORE' static VNET_DEFINE(int, bpf_mask_out) =3D IPSEC_ENC_BEFO=
RE |
IPSEC_ENC_AFTER; ^ /usr/src/sys/net/if_enc.c:107:60: error: use of undeclar=
ed identifier
'IPSEC_ENC_AFTER' static VNET_DEFINE(int, bpf_mask_out) =3D IPSEC_ENC_BEFOR=
E |
IPSEC_ENC_AFTER; ^ /usr/src/sys/net/if_enc.c:226:9: error: incomplete defin=
ition of type
'struct ipsec_ctx_data' if (ctx->af !=3D hhook_id)
~~~^ /usr/src/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'str=
uct
ipsec_ctx_data' struct ipsec_ctx_data; ^ --- modules-all --- --- all_subdir=
_aacraid ---

--Sig_/ItBhC6G67M3ld3yHhd/iGxB
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWVezKAAoJEOgBcD7A/5N88dUIAMdDFJHqfT5gadTGJAzZLz4V
aXCyGsyZ6ycKcBSnMDSE1fSRmuyNT3cNvkasBMi5OrMDLcYwrno6txE29l6BMOUe
iJfKy4g2ldRyeo6mzmHCQnboCvE3PmMeoSGxVJc03zsCsV43O1fcYEiu9HWImGsY
RJzdrMVRzEN7mE1qX3Q51vLjThXcLjy5q32+2K73YzIVNDDqxLR37A67IpGtcD4+
szI3BY6t6S3YT/0rXW7gZ1eMIrYUNCuSkJbd5SYyKb3k+CgZZIAFe95ximdvLpyE
LocO8hMlPaNF2aXJW5TCGiLEMfbs73K9qo6uzD/boc20ZaaJNbjZ0BvuhBzX3W8=
=oHa7
-----END PGP SIGNATURE-----

--Sig_/ItBhC6G67M3ld3yHhd/iGxB--



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