[pkg-nvidia-devel] Bug#504124: nvidia-kernel-source: does not build with too many arguments to function 'smp_call_function'

Marc Haber mh+debian-bugs at zugschlus.de
Fri Oct 31 19:04:37 UTC 2008

Package: nvidia-kernel-source
Version: 173.14.09-5
Severity: important


this is a similiar issue to the one discussed in #500285, but I have
done rm -rf /usr/src/modules/nvidia-kernel and manually unpacked the
/usr/src/nvidia-kernel.tar.bz2 before trying

fakeroot make-kpkg --append-to-version=-weave \
  --revision= --added-modules=nvidia-kernel modules_image

in an unpacked vanilla kernel tree where a configure and build run
successfully completed immediately before.

The build of nvidia-kernel failed with:

In file included from /usr/src/modules/nvidia-kernel/nv.c:14:
/usr/src/modules/nvidia-kernel/nv-linux.h: In function 'nv_execute_on_all_cpus':
/usr/src/modules/nvidia-kernel/nv-linux.h:669: error: too many arguments to function 'on_each_cpu'
/usr/src/modules/nvidia-kernel/nv.c: In function 'nv_kern_cpu_callback':
/usr/src/modules/nvidia-kernel/nv.c:1299: error: too many arguments to function 'smp_call_function'
/usr/src/modules/nvidia-kernel/nv.c:1306: error: too many arguments to function 'smp_call_function'
make[5]: *** [/usr/src/modules/nvidia-kernel/nv.o] Error 1
make[4]: *** [_module_/usr/src/modules/nvidia-kernel] Error 2
make[4]: Leaving directory `/home/mh/linux/'
nvidia.ko failed to build!
make[3]: *** [module] Error 1
make[3]: Leaving directory `/usr/src/modules/nvidia-kernel'
make[2]: *** [build-stamp] Error 2
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
Module /usr/src/modules/nvidia-kernel failed.
Perhaps /usr/src/modules/nvidia-kernel does not understand --rootcmd?
If you see messages that indicate that it is not
in fact being built as root, please file a bug
against /usr/src/modules/nvidia-kernel.
Hit return to Continue


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux (SMP w/1 CPU core; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

More information about the Pkg-nvidia-devel mailing list