[pkg-nvidia-devel] Bug#523716: nvidia-kernel-source: fails to build
Fabio Rosciano
malmostoso at sunrise.ch
Mon Apr 13 18:06:47 UTC 2009
Hello everyone,
180.44-2 still does not build against 2.6.28, but it does build fine
against 2.6.29, both debian stock kernels and headers.
linux-kbuild are homemade since they seem to be missing from unstable
and they are built according to:
http://wiki.debian.org/HowToRebuildAnOfficialDebianKernelPackage
Here is the output of:
# m-a a-i nvidia
for 2.6.28-1-amd64:
/usr/bin/make -C . LINUXDIR=/lib/modules/2.6.28-1-amd64/build
KVERREL=2.6.28-1-amd64 clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
rm -rf *.o *.ko .depend .*.flags .*.d .*.cmd *.mod.c .tmp_versions
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
dh_clean
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
/usr/bin/make -C . LINUXDIR=/lib/modules/2.6.28-1-amd64/build
KVERREL=2.6.28-1-amd64 clean
make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
rm -rf *.o *.ko .depend .*.flags .*.d .*.cmd *.mod.c .tmp_versions
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
dh_clean
/usr/bin/make -w -f debian/rules configure
make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
sed 's/#KVERS#/2.6.28-1-amd64/g' debian/control.template
> /usr/src/modules/nvidia-kernel/debian/control
sed 's/#KVERS#/2.6.28-1-amd64/g' debian/dirs.template
> /usr/src/modules/nvidia-kernel/debian/dirs
sed 's/#KVERS#/2.6.28-1-amd64/g' debian/override.template
> /usr/src/modules/nvidia-kernel/debian/override
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
sed 's/#KVERS#/2.6.28-1-amd64/g' debian/control.template
> /usr/src/modules/nvidia-kernel/debian/control
sed 's/#KVERS#/2.6.28-1-amd64/g' debian/dirs.template
> /usr/src/modules/nvidia-kernel/debian/dirs
sed 's/#KVERS#/2.6.28-1-amd64/g' debian/override.template
> /usr/src/modules/nvidia-kernel/debian/override
dh_testroot
dh_prep
# Build the modules
/usr/bin/make -C . LINUXDIR=/lib/modules/2.6.28-1-amd64/build
KVERREL=2.6.28-1-amd64
make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
make -C /lib/modules/2.6.28-1-amd64/build M=`/bin/pwd` modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.28-1-amd64'
CC [M] /usr/src/modules/nvidia-kernel/nv.o
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:19,
from /usr/src/modules/nvidia-kernel/nv.c:14:
/usr/src/linux-headers-2.6.28-1-amd64/arch/x86/include/asm/bitops.h: In
function ‘set_bit’:
/usr/src/linux-headers-2.6.28-1-amd64/arch/x86/include/asm/bitops.h:60:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.28-1-amd64/arch/x86/include/asm/bitops.h: In
function ‘clear_bit’:
/usr/src/linux-headers-2.6.28-1-amd64/arch/x86/include/asm/bitops.h:97:
warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel/nv-linux.h:19,
from /usr/src/modules/nvidia-kernel/nv.c:14:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2025: warning: pointer of type ‘void *’ used in
arithmetic
In file included
from /usr/src/linux-headers-2.6.28-1-amd64/arch/x86/include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:57,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.28-1-amd64/arch/x86/include/asm/pci.h:94,
from include/linux/pci.h:1002,
from /usr/src/modules/nvidia-kernel/nv-linux.h:86,
from /usr/src/modules/nvidia-kernel/nv.c:14:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
in arithmetic
In file included
from /usr/src/linux-headers-2.6.28-1-amd64/arch/x86/include/asm/hardirq_64.h:5,
from /usr/src/linux-headers-2.6.28-1-amd64/arch/x86/include/asm/hardirq.h:4,
from include/linux/hardirq.h:7,
from include/linux/interrupt.h:12,
from /usr/src/modules/nvidia-kernel/nv-linux.h:87,
from /usr/src/modules/nvidia-kernel/nv.c:14:
include/linux/irq.h: In function ‘irq_to_desc’:
include/linux/irq.h:189: warning: comparison between signed and unsigned
In file included from /usr/src/modules/nvidia-kernel/nv-linux.h:113,
from /usr/src/modules/nvidia-kernel/nv.c:14:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:136: warning: pointer of type ‘void *’ used in
arithmetic
include/linux/highmem.h:139: warning: pointer of type ‘void *’ used in
arithmetic
In file included from include/linux/compat.h:14,
from /usr/src/linux-headers-2.6.28-1-amd64/arch/x86/include/asm/mtrr.h:141,
from /usr/src/modules/nvidia-kernel/nv-linux.h:142,
from /usr/src/modules/nvidia-kernel/nv.c:14:
/usr/src/linux-headers-2.6.28-1-amd64/arch/x86/include/asm/compat.h: In
function ‘compat_alloc_user_space’:
/usr/src/linux-headers-2.6.28-1-amd64/arch/x86/include/asm/compat.h:210:
warning: pointer of type ‘void *’ used in arithmetic
/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[4]: *** [/usr/src/modules/nvidia-kernel/nv.o] Error 1
make[3]: *** [_module_/usr/src/modules/nvidia-kernel] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.28-1-amd64'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
make: *** [kdist_build] Error 2
Hope this helps.
--
Injustice anywhere is a threat to justice everywhere. -- Martin Luther
King, Jr.
More information about the Pkg-nvidia-devel
mailing list