← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 503446] [NEW] building module with dkms against 2.6.33-rc fails

 

Public bug reported:

running: 
dkms build -m nvidia -v 185.18.36 -k 2.6.33-rc2 --kernelsourcedir /usr/src/linux-headers-2.6.33-rc2

gives me:
sudo dkms build -m nvidia -v 185.18.36 -k 2.6.33-rc2 --kernelsourcedir /usr/src/linux-headers-2.6.33-rc2

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/linux-headers-2.6.33-rc2/.config
(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=2.6.33-rc2 module KERNDIR=/lib/modules/2.6.33-rc2 IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/usr/src/linux-headers-2.6.33-rc2"....(bad exit status: 2)

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/dkms/nvidia/185.18.36/build/ for more information.
0
0


/var/lib/dkms/nvidia/185.18.36/build/make.log:
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

** Affects: nvidia-graphics-drivers-180 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
building module with dkms against 2.6.33-rc fails
https://bugs.launchpad.net/bugs/503446
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers-180 in ubuntu.



Follow ups

References