From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 35562] Nouveau fails to link in Mesa 7.10.1 Date: Tue, 3 May 2011 11:21:57 -0700 (PDT) Message-ID: <20110503182157.21C0B13004F@annarchy.freedesktop.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org https://bugs.freedesktop.org/show_bug.cgi?id=35562 David Silva changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|Other |x86 (IA32) OS/Version|All |Linux (All) --- Comment #4 from David Silva 2011-05-03 11:21:56 PDT --- Thank you Bernhard for the patch. I tested it and it initially worked for the gallium nouveau driver, however it did not work when i tried to enable building the non-gallium nouveau driver. I found that it needed an additional reference to the header in nouveau_driver.h: (the error references Mesa 7.10.1, but I'm compiling 7.10.2 and get the same error) --- Mesa-7.10.1/src/mesa/drivers/dri/nouveau/nouveau_driver-orig.h 2011-01-26 01:52:45.000000000 +0200 +++ Mesa-7.10.1/src/mesa/drivers/dri/nouveau/nouveau_driver.h 2011-05-03 13:04:57.000000000 +0300 @@ -37,6 +37,7 @@ #undef NDEBUG #include +#include #include "nouveau_device.h" #include "nouveau_pushbuf.h" #include "nouveau_grobj.h" I added these lines to your patch and now Mesa builds smoothly. Kernel 2.6.38.4 libdrm 2.4.25 Mesa 7.10.2 (Slackware 13.37) My config: ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --libdir=/usr/lib \ --mandir=/usr/man \ --docdir=/usr/doc/mesa-7.10.2 \ --with-dri-driverdir=/usr/lib/xorg/modules/dri \ --with-dri-drivers="i810,i915,i965,mach64,mga,nouveau,r128,r200,r300,r600,radeon,savage,sis,tdfx,unichrome,swrast" \ --enable-xcb \ --enable-gallium-nouveau \ --build=i486-slackware-linux I don't own any NVIDIA cards either, so a test from someone who does would be welcome. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.