Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] nvidia-drivers-313.18 failed with kernel 3.7.6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Fri Feb 08, 2013 9:33 pm    Post subject: [SOLVED] nvidia-drivers-313.18 failed with kernel 3.7.6 Reply with quote

After compiling a new kernel and after make modules_install and modules_rebuild populate and modules_rebuild rebuild, evertything is fine like usually but I have an error during emerge nvidia-drivers-313.18. I was trying to do this manually by emerge, but the same... *** Unable to determine the target kernel version. ***

Code:
# emerge -1 nvidia-drivers
Calculating dependencies   * waiting for lock on /var/db/.pkg.portage_lockfile
 ...                                                                                                        [ ok ]
... done!

>>> Verifying ebuild manifests
>>> Running pre-merge checks for x11-drivers/nvidia-drivers-313.18
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.7.6-gentoo/build
 * Found sources for kernel version:
 *     3.7.6-gentoo
 * Checking for suitable kernel configuration options...                                                                                                         [ ok ]

>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-313.18
 * NVIDIA-Linux-x86_64-313.18.run SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                           [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.7.6-gentoo/build
 * Found sources for kernel version:
 *     3.7.6-gentoo
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86_64-313.18.run to /mnt/video/tmp/portage/x11-drivers/nvidia-drivers-313.18/work
>>> Source unpacked in /mnt/video/tmp/portage/x11-drivers/nvidia-drivers-313.18/work
>>> Preparing source in /mnt/video/tmp/portage/x11-drivers/nvidia-drivers-313.18/work ...
 * Converting /kernel/Makefile.kbuild to use M= instead of SUBDIRS= ...                                                                                          [ ok ]
>>> Source prepared.
>>> Configuring source in /mnt/video/tmp/portage/x11-drivers/nvidia-drivers-313.18/work ...
>>> Source configured.
>>> Compiling source in /mnt/video/tmp/portage/x11-drivers/nvidia-drivers-313.18/work ...
 * Preparing nvidia module
make -j2 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' ARCH=x86_64 IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/3.7.6-gentoo/build CC=x86_64-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-313.18 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-313.18'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-313.18'`.
 * The complete build log is located at '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-313.18/temp/build.log'.
 * The ebuild environment file is located at '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-313.18/temp/environment'.
 * Working directory: '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-313.18/work/kernel'
 * S: '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-313.18/work/'

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

>>>  '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-313.18/temp/build.log'

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

 * ERROR: x11-drivers/nvidia-drivers-313.18 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-313.18'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-313.18'`.
 * The complete build log is located at '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-313.18/temp/build.log'.
 * The ebuild environment file is located at '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-313.18/temp/environment'.
 * Working directory: '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-313.18/work/kernel'
 * S: '/mnt/video/tmp/portage/x11-drivers/nvidia-drivers-313.18/work/'


Last edited by Xywa on Sat Feb 09, 2013 2:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1213
Location: Massachusetts USA

PostPosted: Fri Feb 08, 2013 10:58 pm    Post subject: Reply with quote

See https://forums.gentoo.org/viewtopic-t-950330.html
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Sat Feb 09, 2013 8:46 am    Post subject: Reply with quote

Thanks.. fixed for me. :)
_________________
# touch it
touch: cannot touch `it': Permission denied
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Sat Feb 09, 2013 2:44 pm    Post subject: Reply with quote

Thanks! Works for me! SOLVED
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum