[pkg-nvidia-devel] Bug#523727: Bug#523727: nvidia-kernel-source: does not build against kernels older than 2.6.29
lsorense at csclub.uwaterloo.ca
Mon Apr 13 15:39:23 UTC 2009
On Sun, Apr 12, 2009 at 10:01:29AM +0200, Sven Joachim wrote:
> Package: nvidia-kernel-source
> Version: 180.44-1
> Severity: important
> Even after fixing #523716, the nvidia kernel module does not build
> against kernels older than 2.6.29. Here is what I get with both
> 22.214.171.124 and 126.96.36.199:
> | % LANG=C fakeroot make-kpkg modules-image
> | [...]
> | /usr/src/modules/nvidia-kernel/nv.c: In function 'nv_kern_cpu_callback':
> | /usr/src/modules/nvidia-kernel/nv.c:1265: error: too many arguments to function 'smp_call_function'
> | /usr/src/modules/nvidia-kernel/nv.c:1271: error: too many arguments to function 'smp_call_function'
> | make: *** [/usr/src/modules/nvidia-kernel/nv.o] Error 1
I suspect you are trying to compile against an old 180.29 directory.
Make sure your nvidia modules package was extracted recently, or better
yet, use module-assitant which does all that.
I have no problem building against 2.6.26, 2.6.24, etc.
More information about the Pkg-nvidia-devel