Gentoo Archives: gentoo-amd64

From: Frank Peters <frank.peters@×××××××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Kernel-3.3.0 and Nvidia-drivers
Date: Mon, 19 Mar 2012 18:02:53
Message-Id: 20120319121229.0a9ecd3b.frank.peters@comcast.net
1 Linux-3.3.0 is released and, as is my usual habit, I downloaded and compiled
2 the plain vanilla source.
3
4 After rebooting to the command console, and before starting X, I needed
5 to re-install the nvidia-driver module for the new kernel. Doing
6 "emerge nvidia-drivers" gave me the following error (the entire build log
7 is attached):
8
9 >>> Source prepared.
10 >>> Configuring source in /tmp/portage-acc/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work ...
11 >>> Source configured.
12 >>> Compiling source in /tmp/portage-acc/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work ...
13 Preparing nvidia module
14 make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/3.3.0/build CC=x86_64-pc-linux-gnu-gcc clean module
15
16 *** Unable to determine the target kernel version. ***
17
18 make: *** [select_makefile] Error 1
19 emake failed
20 ERROR: x11-drivers/nvidia-drivers-295.20-r1 failed (compile phase):
21 Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=-m elf_x86_64 IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/3.3.0/build CC=x86_64-pc-linux-gnu-gcc clean module
22
23 Call stack:
24 ebuild.sh, line 85: Called src_compile
25 environment, line 3711: Called linux-mod_src_compile
26 environment, line 2668: Called die
27 The specific snippet of code:
28 eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"
29
30
31 The first part of the build log (see attached file) indicates that the
32 kernel source was correctly found (at /usr/src/linux), but for some
33 reason the make process fails.
34
35 Could this be due to some changes in the kernel-3.3.0 tree?
36
37 Frank Peters

Attachments

File name MIME type
nvidia-build.log text/plain

Replies

Subject Author
Re: [gentoo-amd64] Kernel-3.3.0 and Nvidia-drivers Mark Knecht <markknecht@×××××.com>
Re: [gentoo-amd64] Kernel-3.3.0 and Nvidia-drivers Cheng Renquan <crquan@×××××.com>
Re: [gentoo-amd64] Kernel-3.3.0 and Nvidia-drivers Mark Knecht <markknecht@×××××.com>
Re: [gentoo-amd64] Kernel-3.3.0 and Nvidia-drivers Mark Knecht <markknecht@×××××.com>