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>

next in thread | raw e-mail | index | archive | help
--Sig_/WKjDQmDV5I67ceD.tRsPTt5
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable


I receive this error while building a new kernel:

[...]
=3D=3D=3D> ibcore (all)
cc  -O2 -pipe -O3 -O3 -pipe -DINET6 -DINET -march=3Dnative  -fno-strict-ali=
asing -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-po=
inter
-I/usr/obj/usr/src/sys/GATE  -MD  -MF.depend.addr.o -MTaddr.o -mcmodel=3Dke=
rnel
-mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tabl=
es
-ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-e=
xterns
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q=
ual  -Wundef
-Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__  -Wmissing-include-dirs
-fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-co=
mpare
-Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-fu=
nction
-Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx
-std=3Diso9899: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: 'arpres=
olve' 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_gate=
way : dst_in,
edst, NULL); ^ /usr/src/sys/netinet6/nd6.h:430:1: note: 'nd6_resolve' decla=
red here int
nd6_resolve(struct ifnet *, int, struct mbuf *, ^ 2 errors generated. *** E=
rror code 1

Stop.
make[4]: stopped in /usr/src/sys/modules/ibcore

--Sig_/WKjDQmDV5I67ceD.tRsPTt5
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

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

--Sig_/WKjDQmDV5I67ceD.tRsPTt5--



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