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

[...]
--- if_enc.o ---
cc  -c -O3 -pipe -fno-strict-aliasing -march=native  -nostdinc  -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=kernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables
-ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef
-Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs
-fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare
-Wno-error-empty-body  -Wno-error-parentheses-equality 
-Wno-error-unused-function
-Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx
-std=iso9899:1999 -Werror  /usr/src/sys/net/if_enc.c --- if_mib.o --- 
ctfconvert -L
VERSION if_mib.o ERROR: ctfconvert: if_mib.o doesn't have type data to convert 
---
if_vlan.o --- cc  -c -O3 -pipe -fno-strict-aliasing -march=native  -nostdinc  
-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=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs 
-fdiagnostics-show-option
-Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body
-Wno-error-parentheses-equality -Wno-error-unused-function  
-Wno-error-pointer-sign
-Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999
-Werror  /usr/src/sys/net/if_vlan.c --- modules-all --- --- all_subdir_aac --- 
===> aac
(all) --- if_enc.o --- /usr/src/sys/net/if_enc.c:104:43: error: use of 
undeclared
identifier 'IPSEC_ENC_BEFORE' static VNET_DEFINE(int, filter_mask_in) = 
IPSEC_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) = IPSEC_ENC_BEFORE;
^ /usr/src/sys/net/if_enc.c:106:44: error: use of undeclared identifier
'IPSEC_ENC_BEFORE' static VNET_DEFINE(int, filter_mask_out) = IPSEC_ENC_BEFORE;
^ /usr/src/sys/net/if_enc.c:107:41: error: use of undeclared identifier
'IPSEC_ENC_BEFORE' static VNET_DEFINE(int, bpf_mask_out) = IPSEC_ENC_BEFORE |
IPSEC_ENC_AFTER; ^ /usr/src/sys/net/if_enc.c:107:60: error: use of undeclared 
identifier
'IPSEC_ENC_AFTER' static VNET_DEFINE(int, bpf_mask_out) = IPSEC_ENC_BEFORE |
IPSEC_ENC_AFTER; ^ /usr/src/sys/net/if_enc.c:226:9: error: incomplete 
definition of type
'struct ipsec_ctx_data' if (ctx->af != hhook_id)
~~~^ /usr/src/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct
ipsec_ctx_data' struct ipsec_ctx_data; ^ --- modules-all --- --- 
all_subdir_aacraid ---

Attachment: pgpblRX7klWc2.pgp
Description: OpenPGP digital signature

Reply via email to