freebsd8.0安装nvidia驱动出现"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"错误,解决办法

转载 2010年06月16日 21:48:00

[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



linux里面编译安装显卡驱动失败:ERROR:Unable to find the kernel source tree for the currently running kernel.

ERROR:Unable to find the kernel source tree for the currently running kernel. Please make sure you h...
  • chris_pei
  • chris_pei
  • 2018-01-30 10:43:05
  • 273

virtualbox安装centos 6 增强工具提示“Unable to find the kernel source tree for the currently running kernel”

virtualbox安装centos 6之增强工具时,在错误日志中会提示:unable to find the source of your current linux kernel #sudo ...
  • fengda2870
  • fengda2870
  • 2013-10-24 01:33:37
  • 6850

freebsd8.0安装nvidia驱动出现"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"错误,解决办法

freebsd nvidia "/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"
  • wowoto
  • wowoto
  • 2010-06-16 21:48:00
  • 2122

FreeBSD开发手册(一)

The FreeBSD Documentation ProjectFreeBSD 中文计划版权 © 2000, 2001, 2002, 2003, 2004, 2005 The FreeBSD Doc...
  • eroswang
  • eroswang
  • 2007-09-02 13:25:00
  • 7742

安装Nvidia驱动时问题解决——unable to locate the kernel source

1.目的:本人在Ubuntu16.04LTS系统上搭建CUDA8.0+CUDNN5.1环境,具体的安装方法见大神的博客http://blog.csdn.net/yhaolpz https://blog...
  • BigBossZjz
  • BigBossZjz
  • 2018-04-01 14:44:57
  • 40

Mysql 5.6 [error] Can't find messagefile '/usr/share/mysql/errmsg.sys'

Mysql 5.6 [error] Can't find messagefile '/usr/share/mysql/errmsg.sys'
  • feifeilyj
  • feifeilyj
  • 2015-06-17 12:02:19
  • 5623

unix命令大全网站!!!!!!!

http://cb.vu/unixtoolbox.xhtml   太细了,看不过来,存上吧。
  • an_zhenwei
  • an_zhenwei
  • 2012-08-29 22:14:53
  • 3156

史上最牛最全的LINUX命令集

Unix ToolboxThis document is a collection of Unix/Linux/BSD commands and tasks which are useful for ...
  • luoyanqing119
  • luoyanqing119
  • 2010-05-06 17:07:00
  • 14238

Linux-CentOS安装N卡驱动以及解决屏幕亮度不可调问题

首先,去Nvidia官网下载相应的显卡驱动,注意语言选择英文,中文的下载不下来。 http://www.nvidia.cn/Download/index.aspx?lang=cn (使用wget下载...
  • xhz1234
  • xhz1234
  • 2013-06-24 08:51:58
  • 7187

mysql启动错误: [ERROR] Can't find messagefile '/usr/share/errmsg.sys'

我的mysql是安装在/usr/local/mysql目录下,bin/mysqld_safe --user=mysql &启动后,从日志文件中发现如下错误: 110623 21:49:41 mysql...
  • jackvs
  • jackvs
  • 2011-06-24 13:19:00
  • 39607
收藏助手
不良信息举报
您举报文章:freebsd8.0安装nvidia驱动出现"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"错误,解决办法
举报原因:
原因补充:

(最多只允许输入30个字)