Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1572916
  • 博文数量: 317
  • 博客积分: 10283
  • 博客等级: 上将
  • 技术积分: 3566
  • 用 户 组: 普通用户
  • 注册时间: 2007-09-04 11:38
个人简介

哥使用Linux

文章分类

全部博文(317)

分类: LINUX

2008-10-01 23:49:11

用官方的内核安装,编译nvidia的时候,只需要

apt-get install linux-headers-$(uname -r)

然后sh NVIDIA-Linux-x86-171.06.01-pkg1.run即可安装成功

但我用自己新编译的内核的时候,

在make-kpkg --rootcmd fakeroot --initrd binary-arch后,

把相应的linux-image和linux-headers安装后,重启新编的内核,发现

老是安装nvidia不成功。提示:

“No precompiled kernel interface was found to match your kernel”

是啥原因?



原来也有参数设定的。

sh NVIDIA-Linux-x86-171.06.01-pkg1.run -A



  --kernel-include-path=KERNEL-INCLUDE-PATH
      The directory containing the kernel include files that
      should be used when compiling the NVIDIA kernel module.
      This option is deprecated; please use
      '--kernel-source-path' instead.

  --kernel-source-path=KERNEL-SOURCE-PATH
      The directory containing the kernel source files that
      should be used when compiling the NVIDIA kernel module.
      When not specified, the installer will use
      '/lib/modules/`uname -r`/build', if that directory exists.
      Otherwise, it will use '/usr/src/linux'.
阅读(1920) | 评论(0) | 转发(0) |
0

上一篇:国庆快乐!

下一篇:大闸蟹的做法

给主人留下些什么吧!~~