Re: x11/nvidia-driver issues compiling on 9.X

2016-01-11 Thread Ultima
Thank you Jan Beich. That was it!. Also thanks for providing all the detailed information. Vary helpful =] On Sun, Jan 10, 2016 at 11:59 PM, Jan Beich wrote: > Ultima writes: > > > nvidia-modeset-freebsd.c:563:29: error: sys/caprights.h: No such file or > > directory > > Drop the line. is imp

Re: x11/nvidia-driver issues compiling on 9.X

2016-01-10 Thread Jan Beich
Ultima writes: > nvidia-modeset-freebsd.c:563:29: error: sys/caprights.h: No such file or > directory Drop the line. is implicitly included on 10+ systems. > nvidia-modeset-freebsd.c:593: warning: implicit declaration of function > 'cap_rights_init' See how nv-freebsd.h and nvidia_linux.c fix

x11/nvidia-driver issues compiling on 9.X

2016-01-10 Thread Ultima
Working on updating nvidia-driver to the newest version (361.16) and stuck with an issue building on 9.X. there is a new kernel module that calls a function cap_rights_init, which does not exist on 9.X. It looks like it was new code added in 10.X. The patch builds perfectly in 10.X and head. If so