building module with dkms against 2.6.33-rc fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-180 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
running:
dkms build -m nvidia -v 185.18.36 -k 2.6.33-rc2 --kernelsourcedir /usr/src/
gives me:
sudo dkms build -m nvidia -v 185.18.36 -k 2.6.33-rc2 --kernelsourcedir /usr/src/
Preparing kernel 2.6.33-rc2 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper....(bad exit status: 2)
using /usr/src/
(I hope this is the correct config for this kernel)
make oldconfig....
make prepare-all....(bad exit status: 2)
Building module:
cleaning build area....
su nobody -c "make KERNELRELEASE=
Error! Bad return status for module build on kernel: 2.6.33-rc2 (x86_64)
Consult the make.log in the build directory
/var/lib/
0
0
/var/lib/
DKMS make.log for nvidia-185.18.36 for kernel 2.6.33-rc2 (x86_64)
Tue Jan 5 17:49:14 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
same result here with 190.53 and rc6