Date: Fri, 14 Oct 2022 20:59:21 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267060] net/dpdk: error: too many arguments to function call, expected 3, have 4 Message-ID: <bug-267060-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267060 Bug ID: 267060 Summary: net/dpdk: error: too many arguments to function call, expected 3, have 4 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: freebsd@sysctl.cz CC: bruce.richardson@intel.com Flags: maintainer-feedback?(bruce.richardson@intel.com) CC: bruce.richardson@intel.com Hi, i tried compile your port and i have issue with code =3D=3D=3D> Building for dpdk20.11-20.11.5 [ 50% 1/2] /usr/bin/make -f ../kernel/freebsd/BSDmakefile.meson KMOD_OBJDIR=3Dkernel/freebsd KMOD_SRC=3D../kernel/freebsd/contigmem/contigm= em.c KMOD=3Dcontigmem 'KMOD_CFLAGS=3D-I/usr/ports/net/dpdk-20.11/work/dpdk-stable-20.11.5/_build -I/usr/ports/net/dpdk-20.11/work/dpdk-stable-20.11.5/config -include rte_config.h' CC=3Dclang FAILED: kernel/freebsd/contigmem.ko=20 /usr/bin/make -f ../kernel/freebsd/BSDmakefile.meson KMOD_OBJDIR=3Dkernel/f= reebsd KMOD_SRC=3D../kernel/freebsd/contigmem/contigmem.c KMOD=3Dcontigmem 'KMOD_CFLAGS=3D-I/usr/ports/net/dpdk-20.11/work/dpdk-stable-20.11.5/_build -I/usr/ports/net/dpdk-20.11/work/dpdk-stable-20.11.5/config -include rte_config.h' CC=3Dclang clang -pipe -g -fno-strict-aliasing -include rte_config.h -Werror -D_KERN= EL -DKLD_MODULE -nostdinc=20 -I/usr/ports/net/dpdk-20.11/work/dpdk-stable-20.11.5/_build -I/usr/ports/net/dpdk-20.11/work/dpdk-stable-20.11.5/config -I. -I/usr/src/= sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -MD -MF.depend.con= tigmem.o -MTcontigmem.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-flo= at=20 -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Dtautological-co= mpare -Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality -Wno-error=3Dunused-function -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value -Wno-address-of-packed-member -Wno-error=3Dunused-but-set-variable -Wno-format-zero-length -mno-aes -mno= -avx=20 -std=3Diso9899:1999 -c /usr/ports/net/dpdk-20.11/work/dpdk-stable-20.11.5/kernel/freebsd/contigmem= /contigmem.c -o contigmem.o /usr/ports/net/dpdk-20.11/work/dpdk-stable-20.11.5/kernel/freebsd/contigmem= /contigmem.c:309:50: error: too many arguments to function call, expected 3, have 4 vm_page_replace(page, object, (*mres)->pindex, *mres); ~~~~~~~~~~~~~~~ ^~~~~ /usr/src/sys/vm/vm_page.h:572:11: note: 'vm_page_replace' declared here vm_page_t vm_page_replace(vm_page_t mnew, vm_object_t object, ^ --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267060-7788>