Quadro FX 550
NVIDIA-FreeBSD-x86-304.125.tar.gzをダウンロード
解凍したディレクトリでmake install そしてエラー
# tar zxvf NVIDIA-FreeBSD-x86-304.125.tar.gz
# cd NVIDIA-FreeBSD-x86-304.125
# make install
Building kernel module… make: “/usr/share/mk/bsd.kmod.mk” line 12: Unable to locate the kernel source tree. Set SYSDIR to override.
build failed. Exiting.
FreeBSDのフォーラムから情報を得た。
https://forums.freebsd.org/threads/unable-to-locate-the-kernel-source-tree-set-sysdir.49779/
relengがいいのか?順次セキュリティ等対応されているのがrelengらしいが。
# svnlite checkout https://svn0.us-west.freebsd.org/base/release/10.1.0/ /usr/src
# tar zxvf NVIDIA-FreeBSD-x86-304.125.tar.gz
# cd NVIDIA-FreeBSD-x86-304.125
# make install
nvidia_subr.c:904:5: error: implicit declaration of function ‘VM_OBJECT_LOCK’ is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
VM_OBJECT_LOCK(sc->AGP_object);
^
nvidia_subr.c:906:5: error: implicit declaration of function ‘VM_OBJECT_UNLOCK’
is invalid in C99 [-Werror,-Wimplicit-function-declaration]
VM_OBJECT_UNLOCK(sc->AGP_object);
^
nvidia_subr.c:906:5: note: did you mean ‘VM_OBJECT_LOCK’?
nvidia_subr.c:904:5: note: ‘VM_OBJECT_LOCK’ declared here
VM_OBJECT_LOCK(sc->AGP_object);
^
2 errors generated.
*** Error code 1
————————————————–
portsから
# cd /usr/ports/x11/nvidia-driver-304
# make install
===> linux_base-c6-6.6_4 linuxulator is not (kld)loaded.
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/emulators/linux_base-c6
*** 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