CURRENT r255426: x11/nvidia-driver: nvidia_subr.c:835:46: error: too few arguments to function call, expected 10, have 9 (VM_PROT_READ | VM_PROT_WRITE), 0);

O. Hartmann ohartman at zedat.fu-berlin.de
Mon Sep 9 20:38:02 UTC 2013


x11/nvidia-driver (as well as emulators/virtualbox-ose-kmod) do not
compile on  FreeBSD 10.0-CURRENT #0 r255426: Mon Sep  9 21:35:43 CEST
2013 amd64.

The error is:

x11/nvidia-driver:

--- nvidia_subr.o ---
nvidia_subr.c:835:46: error: too few arguments to function call,
expected 10, have 9 (VM_PROT_READ | VM_PROT_WRITE), 0);
                                             ^
@/vm/vm_map.h:368:1: note: 'vm_map_find' declared here
int vm_map_find(vm_map_t, vm_object_t, vm_ooffset_t, vm_offset_t *,
vm_size_t, ^
1 error generated.
*** [nvidia_subr.o] Error code 1


emulators/virtualbox-ose-kmod:

[...]
 /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/alloc-r0drv-freebsd.c:83:76:
error: too few arguments to function call, expected 10, have 9
cbAllocated, TRUE, VM_PROT_ALL, VM_PROT_ALL, 0); ^ @/vm/vm_map.h:368:1:
note: 'vm_map_find' declared here int vm_map_find(vm_map_t,
vm_object_t, vm_ooffset_t, vm_offset_t *, vm_size_t,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130909/8534f671/attachment.sig>


More information about the freebsd-ports mailing list