[pkg-nvidia-devel] Bug#495098: nvidia-kernel-legacy-71xx-source: kernel module fails to build with current kernel
Tom Epperly
tomepperly at comcast.net
Thu Aug 14 14:26:36 UTC 2008
Package: nvidia-kernel-legacy-71xx-source
Version: 71.86.04-2
Severity: normal
I am attaching the build log that shows how it fails.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages nvidia-kernel-legacy-71xx-source depends on:
ii debhelper 7.0.16 helper programs for debian/rules
ii dpatch 2.0.30 patch maintenance system for Debia
ii make 3.81-5 The GNU version of the "make" util
ii sed 4.1.5-8 The GNU sed stream editor
Versions of packages nvidia-kernel-legacy-71xx-source recommends:
ii devscripts 2.10.35 scripts to make the life of a Debi
ii kernel-package 11.001-0.1 A utility for building Linux kerne
ii nvidia-glx-legacy-71xx 71.86.01-1 NVIDIA binary Xorg driver (71xx le
nvidia-kernel-legacy-71xx-source suggests no packages.
-- no debconf information
-------------- next part --------------
/usr/bin/make -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-71xx'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel-legacy-71xx/nv/Makefile || true
if [ 6 = 6 ]; then \
cd /usr/src/modules/nvidia-kernel-legacy-71xx/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-legacy-71xx/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-legacy-71xx/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel-legacy-71xx/debian/control.template /usr/src/modules/nvidia-kernel-legacy-71xx/debian/control; \
fi
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make clean SYSSRC=/lib/modules/2.6.26-1-686/build -C /usr/src/modules/nvidia-kernel-legacy-71xx/nv -f Makefile
make[2]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-71xx/nv'
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-71xx/nv'
rm -f /usr/src/modules/nvidia-kernel-legacy-71xx/nv/Makefile || true;
rm /usr/src/modules/nvidia-kernel-legacy-71xx/nv/gcc-check
rm /usr/src/modules/nvidia-kernel-legacy-71xx/nv/cc-sanity-check
dh_clean
rm /usr/src/modules/nvidia-kernel-legacy-71xx/debian/control
rm /usr/src/modules/nvidia-kernel-legacy-71xx/debian/dirs
rm /usr/src/modules/nvidia-kernel-legacy-71xx/debian/override
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-71xx'
echo "ROOT_CMD = "
ROOT_CMD =
/usr/bin/make -f debian/rules binary_modules
make[1]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-71xx'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel-legacy-71xx/nv/Makefile || true
if [ 6 = 6 ]; then \
cd /usr/src/modules/nvidia-kernel-legacy-71xx/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-legacy-71xx/nv ; \
ln -s Makefile.nvidia Makefile ; \
cd .. ; \
fi
#nothing here anymore
touch configure-stamp
if [ -f /usr/src/modules/nvidia-kernel-legacy-71xx/debian/control.template ]; then \
cp /usr/src/modules/nvidia-kernel-legacy-71xx/debian/control.template /usr/src/modules/nvidia-kernel-legacy-71xx/debian/control; \
fi
dh_testdir
dh_testroot
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-legacy-71xx/nv/gcc-check
touch /usr/src/modules/nvidia-kernel-legacy-71xx/nv/cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-4.1" /usr/bin/make -C /usr/src/modules/nvidia-kernel-legacy-71xx/nv -f Makefile SYSSRC=/lib/modules/2.6.26-1-686/build KBUILD_PARAMS="-C /lib/modules/2.6.26-1-686/build SUBDIRS=/usr/src/modules/nvidia-kernel-legacy-71xx/nv" module;
make[2]: Entering directory `/usr/src/modules/nvidia-kernel-legacy-71xx/nv'
NVIDIA: calling KBUILD...
make CC=gcc-4.1 -C /lib/modules/2.6.26-1-686/build SUBDIRS=/usr/src/modules/nvidia-kernel-legacy-71xx/nv modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.26-1-686'
CC [M] /usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.o
In file included from include/linux/list.h:6,
from include/linux/preempt.h:11,
from include/linux/spinlock.h:49,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:57,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv-linux.h:19,
from /usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:14:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:57: warning: pointer of type 'void *' used in arithmetic
In file included from include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:92,
from include/linux/pci.h:948,
from /usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv-linux.h:79,
from /usr/src/modules/nvidia-kernel-legacy-71xx/nv/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/modules/nvidia-kernel-legacy-71xx/nv/nv-linux.h:101,
from /usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:14:
include/linux/highmem.h: In function 'zero_user_segments':
include/linux/highmem.h:134: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:134: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:134: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:134: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:137: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:137: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:137: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:137: warning: pointer of type 'void *' used in arithmetic
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c: In function 'nvos_proc_create':
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:564: error: 'proc_root_driver' undeclared (first use in this function)
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:564: error: (Each undeclared identifier is reported only once
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:564: error: for each function it appears in.)
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c: In function '__nv_setup_pat_entries':
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:883: warning: comparison between signed and unsigned
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c: In function '__nv_restore_pat_entries':
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:909: warning: comparison between signed and unsigned
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c: In function 'nv_kern_cpu_callback':
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:1220: warning: comparison between signed and unsigned
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:1227: warning: comparison between signed and unsigned
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c: In function 'nv_kern_vma_nopage':
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:1740: error: 'NOPAGE_SIGBUS' undeclared (first use in this function)
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c: At top level:
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:1747: error: unknown field 'nopage' specified in initializer
/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.c:1747: warning: initialization from incompatible pointer type
make[4]: *** [/usr/src/modules/nvidia-kernel-legacy-71xx/nv/nv.o] Error 1
make[3]: *** [_module_/usr/src/modules/nvidia-kernel-legacy-71xx/nv] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[2]: *** [module] Error 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-71xx/nv'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel-legacy-71xx'
make: *** [kdist_image] Error 2
More information about the Pkg-nvidia-devel
mailing list