Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

nvidia-drivers error [SOLVED]

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
sk8harddiefast
Guru
Guru
User avatar
Posts: 335
Joined: Sun Feb 15, 2009 12:16 pm
Location: athens

nvidia-drivers error [SOLVED]

  • Quote

Post by sk8harddiefast » Sat Nov 21, 2009 1:18 pm

george@gentoo ~ # emerge nvidia-drivers

* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-185.18.36
* NVIDIA-Linux-x86-185.18.36-pkg0.run RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.30-gentoo-r8/build
* Found sources for kernel version:
* 2.6.30-gentoo-r8
* Checking for MTRR support ... [ ok ]
/usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-185.18.36.ebuild: line 18 5: compat_device_check: command not found
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86-185.18.36-pkg0.run to /var/tmp/portage/x11-drivers/n vidia-drivers-185.18.36/work/NVIDIA-Linux-x86-185.18.36-pkg0
>>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-185.18.36/work
>>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-185.18.36/work/NVIDIA-Linux-x86-185.18.36-pkg0 ...
* Applying NVIDIA_glx-defines.patch ... [ ok ]
* Applying NVIDIA_glx-glheader.patch ... [ ok ]
* Converting NVIDIA-Linux-x86-185.18.36-pkg0/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS= ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-185.18.36/work/NVIDIA-Linux-x86-185.18.36-pkg0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-185.18.36/work/NVIDIA-Linux-x86-185.18.36-pkg0 ...
* Preparing nvidia module
make HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.30-gentoo-r8/build HOST_CC=i686-pc-linux-gnu-gcc clean 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-185.18.36 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3881: Called linux-mod_src_compile
* environment, line 2884: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.30-gentoo-r8/build HOST_CC=i686-pc-linux-gnu-gcc 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-185.18.36/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-185.18.36/temp/environment'.
*

>>> Failed to emerge x11-drivers/nvidia-drivers-185.18.36, Log file:

>>> '/var/tmp/portage/x11-drivers/nvidia-drivers-185.18.36/temp/build.log'

* Messages for package x11-drivers/nvidia-drivers-185.18.36:

*
* ERROR: x11-drivers/nvidia-drivers-185.18.36 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3881: Called linux-mod_src_compile
* environment, line 2884: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.30-gentoo-r8/build HOST_CC=i686-pc-linux-gnu-gcc 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-185.18.36/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-185.18.36/temp/environment'.
*

* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
Last edited by sk8harddiefast on Sun Nov 22, 2009 9:56 am, edited 1 time in total.
Compile The Universe
Top
sebaro
Veteran
Veteran
User avatar
Posts: 1141
Joined: Mon Jul 03, 2006 5:49 am
Location: Romania
Contact:
Contact sebaro
Website

  • Quote

Post by sebaro » Sat Nov 21, 2009 2:28 pm

"make mrproper" in /usr/src/linux
Top
Telamon
Tux's lil' helper
Tux's lil' helper
Posts: 129
Joined: Mon Dec 29, 2003 5:58 pm

Fix that worked for me

  • Quote

Post by Telamon » Sun Nov 22, 2009 8:04 am

cd /usr/src/linux
cp .config .config.bak
make mrproper
cp .config.bak .config
make modules_prepare
emerge x11-drivers/nvidia-drivers
Top
sk8harddiefast
Guru
Guru
User avatar
Posts: 335
Joined: Sun Feb 15, 2009 12:16 pm
Location: athens

  • Quote

Post by sk8harddiefast » Sun Nov 22, 2009 9:55 am

ok.done :D .thanks :D
Compile The Universe
Top
Post Reply

4 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy