On Tue, Nov 20, 2007 at 10:08:57PM +0000, Sid Boyce wrote:
> Robert Kaiser wrote:
>> Sid Boyce wrote:
>>>> Problems compiling last Nvidia driver (100.14.23) and old one
>>>> (100.14.19) since I updete to last gcc and kernel linux-2.6.24-rc2-4
>>>> I write a bug if somebody didn't it before
>>>
>>> I reported the problem to the NVidia forum on the basis of this report 
>>> and they asked for nvidia-installer.log. When a few days later I got 
>>> around to building 100.14.19 for a new kernel, it all went OK and still 
>>> builds under 2.6.24-rc2-git6.
>> Hmm, still doesn't work for me, neither on the 2.6.24-rc2-git4 from the 
>> factory repository nor on the 2.6.24-rc2-git6 from the build service.
> It seems it's a ix86 bug, perfectly OK on x86_64. Did you apply the patch 
> given in the nvnews forum?
> --- nv-linux.h-dist2007-11-16 13:17:04.000000000 +0100
> +++ nv-linux.h2007-11-16 15:04:27.000000000 +0100
> @@ -12,9 +12,11 @@
> #ifndef _NV_LINUX_H_
> #define _NV_LINUX_H_
> +#undef CONFIG_PARAVIRT
> #include "nv.h"
> #include <linux/autoconf.h>
> +#undef CONFIG_PARAVIRT
> #include <linux/version.h>
> #include <linux/utsname.h>
> --- conftest.sh-dist2007-11-16 13:06:29.000000000 +0100
> +++ conftest.sh2007-11-16 15:06:41.000000000 +0100
> @@ -29,6 +29,9 @@
> ARCH=`uname -m | sed -e 's/i.86/i386/'`
> CFLAGS="$CFLAGS -I$OUTPUT/include2 -I$OUTPUT/include \
> -I$HEADERS -I$HEADERS/asm-$ARCH/mach-default"
> + if [ "$ARCH" = "i386" ]; then
> +CFLAGS="$CFLAGS -I$HEADERS -I$HEADERS/asm-x86/mach-default"
> + fi
> else
> CFLAGS="$CFLAGS -I$HEADERS -I$HEADERS/asm/mach-default"
> fi

This is Takashi's patch. See Bug #341801. fglrx is affected as well.
See Bug #341805.

Best regards,
Stefan

Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.)   SUSE LINUX Products GmbH
Tel: 0911-740 53 0            Maxfeldstraße 5
FAX: 0911-740 53 479          D-90409 Nürnberg
http://www.suse.de            Germany 
-----------------------------------------------------------------
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
-----------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to