|
|
这些天我终于在学校安装完了Gentoo linux 的基本系统,开始桌面的安装
机子是Gforce2 Mx400的老显卡,用
#emerge x11-drivers/nvidia-drivers
命令,系统总是自动下载 x11-driver/nvidia-drivers-100.14.19新的驱动,如何使系统下下载老版本的驱动?
问题解决了,系统能下载驱动了,接下来安装又出现了如下问题,
Calculating dependencies ... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-71.86.01 to /
* NVIDIA-Linux-x86-71.86.01-pkg0.run RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking NVIDIA-Linux-x86-71.86.01-pkg0.run ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.24-gentoo-r5/build
* Found sources for kernel version:
* 2.6.24-gentoo-r5
* Checking for MTRR support ...
[ ok ]
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86-71.86.01-pkg0
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 71.86.01........................................................................
* Applying NVIDIA_glx-defines.patch ...
[ ok ]
* Applying NVIDIA_glx-glheader.patch ...
[ ok ]
* Converting Makefile.kbuild to use M= instead of SUBDIRS= ...
[ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-71.86.01/work/NVIDIA-Linux-x86-71.86.01-pkg0/usr/src/nv ...
* Preparing nvidia module
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.
If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.
Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
*** Unable to determine the target kernel version. ***
make: *** [select_makefile] Error 1
*
* ERROR: x11-drivers/nvidia-drivers-71.86.01 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3527: Called linux-mod_src_compile
* environment, line 2599: Called die
* The specific snippet of code:
* emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
* The die message:
* Unable to make IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.24-gentoo-r5/build clean module.
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-71.86.01/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-71.86.01/temp/environment'.
*
* Messages for package x11-drivers/nvidia-drivers-71.86.01:
*
* ERROR: x11-drivers/nvidia-drivers-71.86.01 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3527: Called linux-mod_src_compile
* environment, line 2599: Called die
* The specific snippet of code:
* emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
* The die message:
* Unable to make IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.24-gentoo-r5/build clean module.
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-71.86.01/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-71.86.01/temp/environment'.
*
我的英文很不好,呢位大侠帮忙看看,这是什么原因,应如何才能解决 |
|