[Bug 252675] emulators/virtualbox-ose-kmod: build failure/compiler error: 'vm_map_protect' declared here

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 14 16:36:01 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252675

            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 at FreeBSD.org
          Reporter: ohartmann at walstatt.org
             Flags: maintainer-feedback?(vbox at FreeBSD.org)
          Assignee: vbox at 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 fails
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=iso9899: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 = vm_map_protect(pVmMap, AddrStart, AddrEnd, ProtectionFlags,
FALSE);
              ~~~~~~~~~~~~~~                                                  
^
/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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list