I receive this error while building a new kernel: [...] ===> ibcore (all) cc -O2 -pipe -O3 -O3 -pipe -DINET6 -DINET -march=native -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/sys/modules/ibcore/../../ofed/drivers/infiniband/core -I/usr/src/sys/modules/ibcore/../../ofed/include -I/usr/src/sys/modules/ibcore/../../compat/linuxkpi/common/include -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GATE/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/GATE -MD -MF.depend.addr.o -MTaddr.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 -mno-aes -mno-avx -std=iso9899:1999 -Wno-cast-qual -Wno-pointer-arith -c /usr/src/sys/modules/ibcore/../../ofed/drivers/infiniband/core/addr.c -o addr.o /usr/src/sys/modules/ibcore/../../ofed/drivers/infiniband/core/addr.c:398:51: error: too few arguments to function call, expected 7, have 6 is_gw ? rte->rt_gateway : dst_in, edst, NULL); ^ /usr/src/sys/netinet/if_ether.h:121:1: note: 'arpresolve' declared here int arpresolve(struct ifnet *ifp, int is_gw, struct mbuf *m, ^ /usr/src/sys/modules/ibcore/../../ofed/drivers/infiniband/core/addr.c:404:51: error: too few arguments to function call, expected 7, have 6 is_gw ? rte->rt_gateway : dst_in, edst, NULL); ^ /usr/src/sys/netinet6/nd6.h:430:1: note: 'nd6_resolve' declared here int nd6_resolve(struct ifnet *, int, struct mbuf *, ^ 2 errors generated. *** Error code 1 Stop. make[4]: stopped in /usr/src/sys/modules/ibcore
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:05 UTC