ºìÁªLinuxÃÅ»§
Linux°ïÖú

ÇóÖú¡­¡­NVIDIAÇý¶¯×°²»ÉÏ£¬Ã»ÓÐkernel-source£¡£ÛÒѽâ¾ö£Ý

·¢²¼Ê±¼ä:2009-03-25 21:04:36À´Ô´:ºìÁª×÷Õß:¹â²ÊÏÈÉú
[i=s] ±¾Ìû×îºóÓÉ ¹â²ÊÏÈÉú ÓÚ 2009-3-25 23:08 ±à¼­ [/i]

ÏÔ¿¨£ºNVIDIA 8400M G
Çý¶¯£ºNVIDIA-Linux-x86-180.29-pkg1.run
ϵͳ£º ubuntu 2.6.27-14-generic 32λ

build-essentialÒÔǰװ¹ý£¬ËµÊÇ×îеÄÁË¡£

ϵͳ×Ô´øµÄÊÜÏÞÇý¶¯²»ÄÜ¿ª3D£¬×Ô¼º×°µÄʱºò¶¼ÊÇ×°²»ÉÏ£¬ºóÀ´°ÑÊÜÏÞÇý¶¯Ð¶ÁË£¬»¹ÊÇ×°²»ÉÏ¡£

ERROR:
Unable to find the kernel source tree for the currently running kernel.
Please make sure you have installed the kernel source files for your
kernel and that they are properly configured; on Red Hat Linux systems,
for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
installed. If you know the correct kernel source files are installed,
you may specify the kernel source path with the '--kernel-source-path'
command line option.
£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­
lustersir@lustersir-laptop:~$ sudo apt-get install kernel-source
ÕýÔÚ¶ÁÈ¡Èí¼þ°üÁбí... Íê³É
ÕýÔÚ·ÖÎöÈí¼þ°üµÄÒÀÀµ¹ØÏµÊ÷
ÕýÔÚ¶Áȡ״̬ÐÅÏ¢... Íê³É
ÏÖÔÚûÓпÉÓõÄÈí¼þ°ü kernel-source£¬µ«ÊÇËü±»ÆäËüµÄÈí¼þ°üÒýÓÃÁË¡£
Õâ¿ÉÄÜÒâζ×ÅÕâ¸öȱʧµÄÈí¼þ°ü¿ÉÄÜÒѱ»·ÏÆú£¬
»òÕßÖ»ÄÜÔÚÆäËû·¢²¼Ô´ÖÐÕÒµ½
E: Èí¼þ°ü kernel-source »¹Ã»Óпɹ©°²×°µÄºòÑ¡Õß
£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­
ubuntuÏÂÃæ 'kernel-source' or 'kernel-devel' µÄÃû×ÖÊDz»ÊÇ ²»ÊÇÕâ¸öÃû°¡£¿

sudo apt-get install linux-sourceµ½ÊÇ¿ÉÒÔ×°ÉÏlinux-source£¬
µ«ÊÇ×°Çý¶¯Ê±»¹ÊDZ¨ÉÏÃæµÄ´í£¬Ð¡µÜ»¹ÊǸölinux²ËÄñ£¬¸÷ÃÇ´óÏÀ°ï°ï棡
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 2 ÌõÆÀÂÛ

  1. me26659408 ÓÚ 2009-03-26 09:09:46·¢±í:

    ÇåÀíʲô¶«¶« ×°Éϵģ¿

  2. ¹â²ÊÏÈÉú ÓÚ 2009-03-25 23:07:02·¢±í:

    ¹þ¹þ£¬ÖÕÓڸ㶨ÁË£¡
    ²»¹Økernel-sourceµÄÊ£¬³¹µ×ÇåÀí¾ÍÄÜ×°ÉÏ¡­¡­