If I try to build most recent HEAD (r297407), I get the following error:
[..snip..]
===> bwn (all)
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h
/usr/local/bin/ccache cc -O2 -pipe -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/sys/RHURLIN/opt_global.h -I. -I/usr/src/sys -fno-common
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-I/usr/obj/usr/src/sys/RHURLIN -MD -MF.depend.if_bwn.o -MTif_bwn.o
-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
-Wno-error-sometimes-uninitialized -mno-aes -mno-avx -std=iso9899:1999
-c /usr/src/sys/modules/bwn/../../dev/bwn/if_bwn.c -o if_bwn.o
/usr/src/sys/modules/bwn/../../dev/bwn/if_bwn.c:2615:7: error: implicit
declaration of function 'time_before' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
if (time_before(lo->pwr_vec_read_time, expire)) {
^
1 error generated.
*** Error code 1
Stop.
make[4]: stopped in /usr/src/sys/modules/bwn
*** Error code 1
I suspect r297405 with its migration of time_* macros to be the reason?
Regards,
Rainer Hurling
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"