[pkg-nvidia-devel] Bug#468790: nvidia-kernel-source: does not build against kernel 2.6.24-1-amd64
Christian Heldt
kenoby at web.de
Sat Mar 1 13:21:33 UTC 2008
Package: nvidia-kernel-source
Version: 169.09-1
Severity: normal
"m-a a-i nvidia" failed to compile the module.
Ive attached the module-assistant build logfile.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-amd64
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages nvidia-kernel-source depends on:
ii debhelper 6.0.5 helper programs for debian/rules
ii dpatch 2.0.29 patch maintenance system for Debia
ii make 3.81-3 The GNU version of the "make" util
ii sed 4.1.5-5 The GNU sed stream editor
Versions of packages nvidia-kernel-source recommends:
ii devscripts 2.10.17 scripts to make the life of a Debi
ii kernel-package 11.001-0.1 A utility for building Linux kerne
ii nvidia-glx 169.09-1 NVIDIA binary Xorg driver
-- no debconf information
-------------- next part --------------
/usr/bin/make -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true
if [ 6 = 6 ]; then \
cd /usr/src/modules/nvidia-kernel/nv ; \
ln -s Makefile.kbuild Makefile ; \
cd .. ; \
if [ 0 = 1 ] ; then \
dpatch apply 04_minion ; \
fi ; \
if [ 0 = 1 ]; then \
dpatch apply 01_sysfs ; \
dpatch status 01_sysfs >patch-stamp ; \
dpatch apply 02_pcialias ; \
dpatch status 02_pcialias >>patch-stamp ; \
fi ; \
fi
if [ 6 = 4 ]; then \
cd /usr/src/modules/nvidia-kernel/nv ; \
ln -s Makefile.nvidia Makefile ; \
cd .. ; \
fi
if [ -e patch-stamp ]; then \
dpatch deapply-all ; \
rm -rf patch-stamp debian/patched ; \
fi
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel/debian/control.template /usr/src/modules/nvidia-kernel/debian/control; \
fi
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make clean SYSSRC=/lib/modules/2.6.24-1-amd64/build -C /usr/src/modules/nvidia-kernel/nv -f Makefile
make[2]: Entering directory `/usr/src/modules/nvidia-kernel/nv'
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true;
rm /usr/src/modules/nvidia-kernel/nv/gcc-check
rm /usr/src/modules/nvidia-kernel/nv/cc-sanity-check
dh_clean
rm /usr/src/modules/nvidia-kernel/debian/control
rm /usr/src/modules/nvidia-kernel/debian/dirs
rm /usr/src/modules/nvidia-kernel/debian/override
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
echo "ROOT_CMD = "
ROOT_CMD =
/usr/bin/make -f debian/rules binary_modules
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true
if [ 6 = 6 ]; then \
cd /usr/src/modules/nvidia-kernel/nv ; \
ln -s Makefile.kbuild Makefile ; \
cd .. ; \
if [ 0 = 1 ] ; then \
dpatch apply 04_minion ; \
fi ; \
if [ 0 = 1 ]; then \
dpatch apply 01_sysfs ; \
dpatch status 01_sysfs >patch-stamp ; \
dpatch apply 02_pcialias ; \
dpatch status 02_pcialias >>patch-stamp ; \
fi ; \
fi
if [ 6 = 4 ]; then \
cd /usr/src/modules/nvidia-kernel/nv ; \
ln -s Makefile.nvidia Makefile ; \
cd .. ; \
fi
if ! gcc-4.1 -v 2> /dev/null ; then \
echo "Compiler gcc-4.1 does not exist on the system" ; \
exit 1; \
fi
touch configure-stamp
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel/debian/control.template /usr/src/modules/nvidia-kernel/debian/control; \
fi
dh_testdir
dh_testroot
if [ "x86_64" = "x86_64" ]; then \
cp /usr/src/modules/nvidia-kernel/nv-kernel.o.x86_64 /usr/src/modules/nvidia-kernel/nv/nv-kernel.o ; \
fi
PATCHLEVEL = 6
Kernel compiler version : 4.1.2
Detected compiler version : 4.1.2
Using compiler gcc-4.1 version 4.1.2
touch /usr/src/modules/nvidia-kernel/nv/gcc-check
touch /usr/src/modules/nvidia-kernel/nv/cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-4.1" /usr/bin/make -C /usr/src/modules/nvidia-kernel/nv -f Makefile SYSSRC=/lib/modules/2.6.24-1-amd64/build KBUILD_PARAMS="-C /lib/modules/2.6.24-1-amd64/build SUBDIRS=/usr/src/modules/nvidia-kernel/nv" module;
make[2]: Entering directory `/usr/src/modules/nvidia-kernel/nv'
NVIDIA: calling KBUILD...
make CC=gcc-4.1 -C /lib/modules/2.6.24-1-amd64/build SUBDIRS=/usr/src/modules/nvidia-kernel/nv modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.24-1-amd64'
CC [M] /usr/src/modules/nvidia-kernel/nv/nv.o
In file included from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:34,
from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
/usr/src/modules/nvidia-kernel/nv/conftest.h:1:2: error: #error remap_page_range() conftest failed!
/usr/src/modules/nvidia-kernel/nv/conftest.h:3:2: error: #error vmap() conftest failed!
In file included from include/asm/dma-mapping_64.h:9,
from include/asm/dma-mapping.h:4,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:88,
from include/linux/pci.h:796,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:86,
from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
include/linux/scatterlist.h: In function ?sg_virt?:
include/linux/scatterlist.h:293: warning: pointer of type ?void *? used in arithmetic
In file included from include/asm/pci.h:88,
from include/linux/pci.h:796,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:86,
from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
include/asm-generic/pci-dma-compat.h: In function ?pci_map_page?:
include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ?void *? used in arithmetic
In file included from include/linux/compat.h:14,
from include/asm/mtrr.h:131,
from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:121,
from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
include/asm/compat.h: In function ?compat_alloc_user_space?:
include/asm/compat.h:210: warning: pointer of type ?void *? used in arithmetic
/usr/src/modules/nvidia-kernel/nv/nv.c: In function ?nv_kern_open?:
/usr/src/modules/nvidia-kernel/nv/nv.c:1993: warning: passing argument 2 of ?request_irq? from incompatible pointer type
make[4]: *** [/usr/src/modules/nvidia-kernel/nv/nv.o] Fehler 1
make[3]: *** [_module_/usr/src/modules/nvidia-kernel/nv] Fehler 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.24-1-amd64'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[2]: *** [module] Fehler 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
make[1]: *** [build-stamp] Fehler 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
make: *** [kdist_image] Fehler 2
More information about the Pkg-nvidia-devel
mailing list