[pkg-nvidia-devel] Bug#523727: Bug#523727: nvidia-kernel-source: does not build against kernels older than 2.6.29
Sven Joachim
svenjoac at gmx.de
Mon Apr 13 16:09:04 UTC 2009
On 2009-04-13 17:39 +0200, Lennart Sorensen wrote:
> 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
>> 2.6.27.21 and 2.6.28.9:
>>
>> ,----
>> | % 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[5]: *** [/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.
Well, I did rm -rf /usr/src/modules/nvidia-kernel before, and actually
it's the same with module-assistant.
> I have no problem building against 2.6.26, 2.6.24, etc.
It builds against 2.6.26 or 2.6.29, but not 2.6.27 or 2.6.28.
Sven
More information about the Pkg-nvidia-devel
mailing list