Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jun 2016 22:15:30 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   r301227: buildkernel fails in ibcore: error: too few arguments to function call, expected 7, have 6
Message-ID:  <20160602221530.220cc8a2.ohartman@zedat.fu-berlin.de>

index | next in thread | raw e-mail

[-- Attachment #1 --]

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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXUJPiAAoJEOgBcD7A/5N81LoH+wXJ6wTqbx03y4GNn8iJ+WCc
WtH5FyfgjTKCNeaDXp4gSf5Rs5baDalRr/KI7S8ZysGwoPVKU3Y7JKR+Y2HoEEDO
lrA7wDKq2336Stafk8ebvoNdvESP8KS8HQIGv7Grqx5gvWNK+6QqE4O2LGIBfvi4
VUbiyJ8nmr+PsLER9ovePs60WooMRP1f4uB32psOmQIVMG9Em1zARAltU3AEy5JC
AUAygYuYj0H6E81cYMmMWHXQC6Egx0TxIiGRQSn3azFTGiuds9cSFleaZsV7eLiM
vKVvG4x7iia3F3kcx2tkMLUp6qW/Vtoy8hL0UVYTFX8psemIrFrkypWOxfWzfFY=
=rsuo
-----END PGP SIGNATURE-----
help

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