Hello,
My system is 10.0-ALPHA-3 and I have a roblem compiling the driver.
Platform is amd64.
Beri
My system is 10.0-ALPHA-3 and I have a roblem compiling the driver.
Code:
root@brzi:/usr/ports/x11/nvidia-driver-304 # uname -a
FreeBSD brzi 10.0-ALPHA3 FreeBSD 10.0-ALPHA3 #0 r255930M: Mon Sep 30 17:40:44 CEST 2013 root@brzi:/usr/obj/usr/src/sys/PILA amd64
root@brzi:/usr/ports/x11/nvidia-driver-304 # make
===> Building for nvidia-driver-304.88_1
--- all ---
===> src (all)
--- nvidia_subr.o ---
--- nvidia_sysctl.o ---
--- nvidia_subr.o ---
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"304.88\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I. -I@ -I@/contrib/altq -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -c nvidia_subr.c
--- nvidia_sysctl.o ---
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"304.88\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I. -I@ -I@/contrib/altq -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -c nvidia_sysctl.c
--- nvidia_subr.o ---
nvidia_subr.c:1071: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
make[3]: stopped in /usr/ports/x11/nvidia-driver-304/work/NVIDIA-FreeBSD-x86_64-304.88/src
1 error
make[3]: stopped in /usr/ports/x11/nvidia-driver-304/work/NVIDIA-FreeBSD-x86_64-304.88/src
*** [all] Error code 2
make[2]: stopped in /usr/ports/x11/nvidia-driver-304/work/NVIDIA-FreeBSD-x86_64-304.88
1 error
make[2]: stopped in /usr/ports/x11/nvidia-driver-304/work/NVIDIA-FreeBSD-x86_64-304.88
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/x11/nvidia-driver-304
*** Error code 1
Stop.
make: stopped in /usr/ports/x11/nvidia-driver-304
root@brzi:/usr/ports/x11/nvidia-driver-304 #
Platform is amd64.
Beri