Package: nvidia-kernel-source
Version: 100.14.11-1
Severity: grave
Justification: renders package unusable

When typing "debian/rules binary_modules" as said in
"/usr/share/doc/nvidia-kernel-source/README.Debian":

cat: /usr/src/linux-headers-2.6.22-1/include/linux/version.h: No such file or 
directory
/bin/sh: line 0: test: -ge: unary operator expected
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true
if [ 4 = 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 [  4 = 4  ]; then \
             cd /usr/src/modules/nvidia-kernel/nv ; \
             ln -s Makefile.nvidia Makefile ; \
             cd .. ; \
        fi
if ! gcc -v 2> /dev/null  ; then \
           echo "Compiler gcc 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
PATCHLEVEL = 4 
Kernel compiler version : 4.1.1
Detected compiler version : 4.1.2
                                                           
You appear to be compiling the NVIDIA kernel module with   
a compiler different from the one that was used to compile 
the running kernel. This may be perfectly alright and you 
may be building this module for another kernel in which case
you may ignore this message.
 
The compiler that will be used to compile this module has been
determined from:
 1) the CC environment variable 
 2) that specified in 
    /usr/src/linux-headers-2.6.22-1/include/linux/compile.h
 3) gcc 
Using compiler gcc 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" /usr/bin/make -C 
/usr/src/modules/nvidia-kernel/nv -f Makefile 
SYSSRC=/usr/src/linux-headers-2.6.22-1   KBUILD_PARAMS="-C 
/usr/src/linux-headers-2.6.22-1 SUBDIRS=/usr/src/modules/nvidia-kernel/nv" 
module;
make[1]: Entering directory `/usr/src/modules/nvidia-kernel/nv'
Your kernel was configured to include rivafb support!

The rivafb driver conflicts with the NVIDIA driver, please
reconfigure your kernel and *disable* rivafb support, then
try installing the NVIDIA kernel module again.

*** Failed rivafb sanity check. Bailing out! ***

gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts 
-Wparentheses -Wpointer-arith  -Wno-multichar  -Werror  -O -fno-common 
-msoft-float          -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE 
-D_LOOSE_KERNEL_NAMES -DNVRM -DNV_VERSION_STRING=\"100.14.11\" 
-DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT  -I. 
-I/usr/src/linux-headers-2.6.22-1/include -Wsign-compare -Wno-cast-qual 
-Wno-error nv.c
In file included from nv.c:14:
nv-linux.h:17:28: error: linux/autoconf.h: No such file or directory
In file included from 
/usr/src/linux-headers-2.6.22-1/include/linux/thread_info.h:20,
                 from /usr/src/linux-headers-2.6.22-1/include/linux/preempt.h:9,
                 from 
/usr/src/linux-headers-2.6.22-1/include/linux/spinlock.h:49,
                 from 
/usr/src/linux-headers-2.6.22-1/include/linux/capability.h:47,
                 from /usr/src/linux-headers-2.6.22-1/include/linux/sched.h:46,
                 from 
/usr/src/linux-headers-2.6.22-1/include/linux/utsname.h:35,
                 from nv-linux.h:19,
                 from nv.c:14:
/usr/src/linux-headers-2.6.22-1/include/linux/bitops.h:9:24: error: 
asm/bitops.h: No such file or directory
In file included from 
/usr/src/linux-headers-2.6.22-1/include/linux/thread_info.h:20,
                 from /usr/src/linux-headers-2.6.22-1/include/linux/preempt.h:9,
                 from 
/usr/src/linux-headers-2.6.22-1/include/linux/spinlock.h:49,
                 from 
/usr/src/linux-headers-2.6.22-1/include/linux/capability.h:47,
                 from /usr/src/linux-headers-2.6.22-1/include/linux/sched.h:46,
                 from 
/usr/src/linux-headers-2.6.22-1/include/linux/utsname.h:35,
                 from nv-linux.h:19,
                 from nv.c:14:
/usr/src/linux-headers-2.6.22-1/include/linux/bitops.h: In function 
'get_bitmask_order':
/usr/src/linux-headers-2.6.22-1/include/linux/bitops.h:15: warning: implicit 
declaration of function 'fls'
/usr/src/linux-headers-2.6.22-1/include/linux/bitops.h: In function 
'hweight_long':
/usr/src/linux-headers-2.6.22-1/include/linux/bitops.h:31: warning: implicit 
declaration of function 'hweight32'
/usr/src/linux-headers-2.6.22-1/include/linux/bitops.h:31: warning: implicit 
declaration of function 'hweight64'
/usr/src/linux-headers-2.6.22-1/include/linux/bitops.h: In function 'fls_long':
/usr/src/linux-headers-2.6.22-1/include/linux/bitops.h:58: warning: implicit 
declaration of function 'fls64'
In file included from /usr/src/linux-headers-2.6.22-1/include/linux/preempt.h:9,
                 from 
/usr/src/linux-headers-2.6.22-1/include/linux/spinlock.h:49,
                 from 
/usr/src/linux-headers-2.6.22-1/include/linux/capability.h:47,
                 from /usr/src/linux-headers-2.6.22-1/include/linux/sched.h:46,
                 from 
/usr/src/linux-headers-2.6.22-1/include/linux/utsname.h:35,
                 from nv-linux.h:19,
                 from nv.c:14:
/usr/src/linux-headers-2.6.22-1/include/linux/thread_info.h:21:29: error: 
asm/thread_info.h: No such file or directory
[...]

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

Kernel: Linux 2.6.18-4-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     5.0.53     helper programs for debian/rules
ii  dpatch                        2.0.26     patch maintenance system for Debia
ii  make                          3.81-3     The GNU version of the "make" util
ii  sed                           4.1.5-2    The GNU sed stream editor

Versions of packages nvidia-kernel-source recommends:
ii  devscripts                    2.10.6     Scripts to make the life of a Debi
ii  kernel-package                11.001     A utility for building Linux kerne
pn  nvidia-glx                    <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to