http://qa.mandrakesoft.com/show_bug.cgi?id=5155

           Product: kernel
         Component: kernel
           Summary: latest kernel completely breaks nvidia driver
           Product: kernel
           Version: 2.4.22-3mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: kernel
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


nvidia's installer fails during building state and complains as follows in
/var/log/nvidia-installer.log about some mdk-specific extensions:

--------CUT---------
[...]
  cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
   arentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -
   DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D_
   _KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVE
   L=4469  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86       -I. -I/us
   r/src/linux/include -Wno-cast-qual nv.c
   In file included from /usr/src/linux/include/linux/config.h:4,
                    from nv-linux.h:17,
                    from nv.c:14:
   /usr/src/linux/include/linux/autoconf.h:34:28: missing ')' after "defined"
   /usr/src/linux/include/linux/autoconf.h:34:29: missing binary operator befor
   e token "up"
   /usr/src/linux/include/linux/autoconf.h:39:26: missing ')' after "defined"
   /usr/src/linux/include/linux/autoconf.h:39:27: missing binary operator befor
   e token "smp"
   /usr/src/linux/include/linux/autoconf.h:68:28: missing ')' after "defined"
   /usr/src/linux/include/linux/autoconf.h:68:29: missing binary operator befor
   e token "up"
   /usr/src/linux/include/linux/autoconf.h:74:27: missing ')' after "defined"
   /usr/src/linux/include/linux/autoconf.h:74:28: missing binary operator befor
   e token "smp"
   /usr/src/linux/include/linux/autoconf.h:87:28: missing ')' after "defined"
   /usr/src/linux/include/linux/autoconf.h:87:29: missing binary operator befor
   e token "up"
[...]
--------CUT---------

the problems are the hyphens in the preprocessor conditionals:
--------CUT---------
#if  defined(__module__i686-up-4GB) || defined(__module__enterprise)
--------CUT---------

But even after removing them, I can build the kernel yet it remains unuseable
(tons of unresolved symbols).

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to