Date: Thu, 14 Jan 2021 16:36:01 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 252675] emulators/virtualbox-ose-kmod: build failure/compiler error: 'vm_map_protect' declared here Message-ID: <bug-252675-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252675 Bug ID: 252675 Summary: emulators/virtualbox-ose-kmod: build failure/compiler error: 'vm_map_protect' declared here Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: vbox@FreeBSD.org Reporter: ohartmann@walstatt.org Flags: maintainer-feedback?(vbox@FreeBSD.org) Assignee: vbox@FreeBSD.org On recent CURRENT (FreeBSD 13.0-ALPHA1 #19 main-c255955-g37bd3aa6fac8: Thu = Jan 14 17:12:23 CET 2021 amd64) building port emulators/virtualbox-ose-kmod fai= ls due to the error shown below: [...] --- memobj-r0drv-freebsd.o --- nostics-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-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=3Diso9899:1999 -c /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-5.2.44/out/freebsd= .amd64/release/bin/src/vboxdrv/r0drv/freebsd/memobj-r0drv-freebsd.c -o memobj-r0drv-freebsd.o /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-5.2.44/out/freebsd= .amd64/release/bin/src/vboxdrv/r0drv/freebsd/memobj-r0drv-freebsd.c:887:80: error: too few arguments to function call, expected 6, have 5 int krc =3D vm_map_protect(pVmMap, AddrStart, AddrEnd, ProtectionFlags, FALSE); ~~~~~~~~~~~~~~=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 ^ /usr/src/sys/vm/vm_map.h:517:5: note: 'vm_map_protect' declared here int vm_map_protect(vm_map_t map, vm_offset_t start, vm_offset_t end, ^ 1 error generated. *** [memobj-r0drv-freebsd.o] Error code 1 --=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-252675-7788>