building nvidia module against 2.6.33 fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
xserver-xorg-driver-nv (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
trying to compile the nvidia module with dkms fails:
dkms build -m nvidia -v 190.53 -k 2.6.33-rc2 --kernelsourcedir /usr/src/
DKMS make.log for nvidia-190.53 for kernel 2.6.33-rc2 (x86_64)
Mon Jan 4 23:54:22 CET 2010
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
Changed in xserver-xorg-driver-nv (Ubuntu): | |
status: | New → Invalid |
Changed in nvidia-graphics-drivers (Ubuntu): | |
status: | New → Confirmed |
the attached patch fixes the issue ... for details:
http:// www.nvnews. net/vbulletin/ showthread. php?p=2159458