[root@wowoto ~]# cd /root/Desktop/NVIDIA-FreeBSD-x86-195.36.15
[root@wowoto ~/Desktop/NVIDIA-FreeBSD-x86-195.36.15]# make
===> src (all)
"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"
*** Error code 1
Stop in /root/Desktop/NVIDIA-FreeBSD-x86-195.36.15.
-----------
原因: /usr/src/sys 是空的。
-----------
解决:
-----------
Note: If there is not a /usr/src/sys directory on your system, then the kernel source has not been installed. The easiest way to do this is by running sysinstall as root, choosing Configure, then Distributions, then src, then base and sys. If you have an aversion to sysinstall and you have access to an “official” FreeBSD CDROM, then you can also install the source from the command line:
# mount /cdrom
# mkdir -p /usr/src/sys
# ln -s /usr/src/sys /sys
# cat /cdrom/src/ssys.[a-d]* | tar -xzvf -
# cat /cdrom/src/sbase.[a-d]* | tar -xzvf -
-------------
cd
make
make install