On Thu, 1 Mar 2018 10:48+0100, Johan Hendriks wrote:
> I get an builderror on my 11.1 stable machine after the latest svn
> update Revision: 330235
>
>
> --------------------------------------------------------------
> >>> stage 3.1: building everything
> --------------------------------------------------------------
> cd /usr/obj/usr/src/sys/KRNL; MAKEOBJDIRPREFIX=/usr/obj?
> MACHINE_ARCH=amd64? MACHINE=amd64? CPUTYPE= BUILD_TOOLS_META=.NOMETA
> GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin?
> GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font?
> GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac CC="cc
"
> CXX="c++? "? CPP="cpp "? AS="as"
AR="ar" LD="ld" NM=nm? OBJDUMP=objdump
> OBJCOPY="objcopy"? RANLIB=ranlib STRINGS=? SIZE="size"?
INSTALL="sh
> /usr/src/tools/install.sh"?
>
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin
> make? -m /usr/src/share/mk? KERNEL=kernel all -DNO_MODULES_OBJ
> Building /usr/obj/usr/src/sys/KRNL/if_iwi.o
> In file included from /usr/src/sys/dev/iwi/if_iwi.c:76:
> /usr/src/sys/net80211/ieee80211_input.h:138:19: error: no member named
> 'c_pktflags' in 'struct ieee80211_rx_stats'
> ??????? return (!! (rxs->c_pktflags & IEEE80211_RX_F_AMSDU));
> ??????????????????? ~~~? ^
> /usr/src/sys/net80211/ieee80211_input.h:138:32: error: use of undeclared
> identifier 'IEEE80211_RX_F_AMSDU'; did you mean
'IEEE80211_S_ASSOC'?
> ??????? return (!! (rxs->c_pktflags & IEEE80211_RX_F_AMSDU));
> ????????????????????????????????????? ^~~~~~~~~~~~~~~~~~~~
> ????????????????????????????????????? IEEE80211_S_ASSOC
> /usr/src/sys/net80211/ieee80211_proto.h:39:2: note:
'IEEE80211_S_ASSOC'
> declared here
> ??????? IEEE80211_S_ASSOC?????? = 3,??? /* try to assoc */
> ??????? ^
> In file included from /usr/src/sys/dev/iwi/if_iwi.c:76:
> /usr/src/sys/net80211/ieee80211_input.h:154:12: error: no member named
> 'c_pktflags' in 'struct ieee80211_rx_stats'
> ??????? if ((rxs->c_pktflags & IEEE80211_RX_F_AMSDU) == 0)
> ???????????? ~~~? ^
> /usr/src/sys/net80211/ieee80211_input.h:154:25: error: use of undeclared
> identifier 'IEEE80211_RX_F_AMSDU'; did you mean
'IEEE80211_S_ASSOC'?
> ??????? if ((rxs->c_pktflags & IEEE80211_RX_F_AMSDU) == 0)
> ?????????????????????????????? ^~~~~~~~~~~~~~~~~~~~
> ?????????????????????????????? IEEE80211_S_ASSOC
> /usr/src/sys/net80211/ieee80211_proto.h:39:2: note:
'IEEE80211_S_ASSOC'
> declared here
> ??????? IEEE80211_S_ASSOC?????? = 3,??? /* try to assoc */
> ??????? ^
> In file included from /usr/src/sys/dev/iwi/if_iwi.c:76:
> /usr/src/sys/net80211/ieee80211_input.h:158:11: error: no member named
> 'c_pktflags' in 'struct ieee80211_rx_stats'
> ??????? if (rxs->c_pktflags & IEEE80211_RX_F_AMSDU_MORE) {
> ??????????? ~~~? ^
> /usr/src/sys/net80211/ieee80211_input.h:158:24: error: use of undeclared
> identifier 'IEEE80211_RX_F_AMSDU_MORE'
> ??????? if (rxs->c_pktflags & IEEE80211_RX_F_AMSDU_MORE) {
> ????????????????????????????? ^
> /usr/src/sys/net80211/ieee80211_input.h:266:39: error: use of undeclared
> identifier 'rxs'
> ??????? if (ieee80211_check_rxseq_amsdu_more(rxs)) {
> ???????????????????????????????????????????? ^
> /usr/src/sys/net80211/ieee80211_input.h:268:8: error: use of undeclared
> identifier 'rxs'
> ??????????????? if ((rxs != NULL) &&
ieee80211_check_rxseq_amsdu(rxs))
> ???????????????????? ^
> /usr/src/sys/net80211/ieee80211_input.h:268:52: error: use of undeclared
> identifier 'rxs'
> ??????????????? if ((rxs != NULL) &&
ieee80211_check_rxseq_amsdu(rxs))
> ???????????????????????????????????????????????????????????????? ^
> 9 errors generated.
> *** Error code 1
>
> Stop.
> make[2]: stopped in /usr/obj/usr/src/sys/KRNL
> .ERROR_TARGET='if_iwi.o'
> .ERROR_META_FILE='/usr/obj/usr/src/sys/KRNL/if_iwi.o.meta'
> .MAKE.LEVEL='2'
> MAKEFILE=''
> .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes
verbose
> curdirOk=yes'
> _ERROR_CMD='cc? -c -O2 -pipe -fno-strict-aliasing? -g -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
> -gdwarf-2 -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
> -Wno-error-address-of-packed-member? -mno-aes -mno-avx?
> -std=iso9899:1999 -Werror? /usr/src/sys/dev/iwi/if_iwi.c; ctfconvert -L
> VERSION -g if_iwi.o;'
> .CURDIR='/usr/obj/usr/src/sys/KRNL'
> .MAKE='make'
> .OBJDIR='/usr/obj/usr/src/sys/KRNL'
> .TARGETS='all'
> DESTDIR=''
> LD_LIBRARY_PATH=''
> MACHINE='amd64'
> MACHINE_ARCH='amd64'
> MAKEOBJDIRPREFIX='/usr/obj'
> MAKESYSPATH='/usr/src/share/mk'
> MAKE_VERSION='20170720'
>
PATH='/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin'
> SRCTOP='/usr/src'
> OBJTOP='/usr/src'
> .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk
> /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk
> /etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf
> /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk
> /etc/src.conf Makefile /usr/src/sys/conf/kern.pre.mk
> /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk
> /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk
> /usr/src/share/mk/bsd.compiler.mk /usr/src/sys/conf/kern.opts.mk
> /usr/src/sys/conf/kern.post.mk /usr/src/sys/conf/kern.mk'
> .PATH='. /usr/obj/usr/src/sys/KRNL'
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/src
> .ERROR_TARGET='buildkernel'
> .ERROR_META_FILE=''
> .MAKE.LEVEL='1'
> MAKEFILE=''
> .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes
verbose'
> _ERROR_CMD='.PHONY'
> .CURDIR='/usr/src'
> .MAKE='make'
> .OBJDIR='/usr/obj/usr/src'
> .TARGETS='buildkernel'
> DESTDIR=''
> LD_LIBRARY_PATH=''
> MACHINE='amd64'
> MACHINE_ARCH='amd64'
> MAKEOBJDIRPREFIX='/usr/obj'
> MAKESYSPATH='/usr/src/share/mk'
> MAKE_VERSION='20170720'
> PATH='/sbin:/bin:/usr/sbin:/usr/bin'
> SRCTOP='/usr/src'
> OBJTOP='/usr/obj/usr/src'
> .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk
> /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk
> /etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf
> /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk
> /etc/src.conf /usr/src/Makefile.inc1 /usr/src/share/mk/bsd.compiler.mk
> /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk
> /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk
> /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk
> /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk'
> .PATH='. /usr/src'
> *** Error code 1
>
> Stop.
> make: stopped in /usr/src
> .ERROR_TARGET='buildkernel'
> .ERROR_META_FILE=''
> .MAKE.LEVEL='0'
> MAKEFILE=''
> .MAKE.MODE='normal'
> _ERROR_CMD='.PHONY'
> .CURDIR='/usr/src'
> .MAKE='make'
> .OBJDIR='/usr/obj/usr/src'
> .TARGETS='kernel'
> DESTDIR=''
> LD_LIBRARY_PATH=''
> MACHINE='amd64'
> MACHINE_ARCH='amd64'
> MAKEOBJDIRPREFIX='/usr/obj'
> MAKESYSPATH='/usr/src/share/mk'
> MAKE_VERSION='20170720'
> PATH='/sbin:/bin:/usr/sbin:/usr/bin'
> SRCTOP='/usr/src'
> OBJTOP='/usr/obj/usr/src'
> root at lb50:/usr/src #
>
> regards
> Johan
If you revert to r330229, i.e. svn up -r330229 /usr/src, you should be
able to build a working kernel.
r330230 added "17" to line 1939 of sys/conf/files breaking iwm(fw),
and I suspect "17" should be "22", or maybe the
"D" should be removed.
r330233 caused the errors you reported.
I hope these errors will be corrected shortly.
--
Trond.