[Nouveau] [Bug 35562] Nouveau fails to link in Mesa 7.10.1

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 3 11:21:57 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=35562

David Silva <folken22mtv at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|Other                       |x86 (IA32)
         OS/Version|All                         |Linux (All)

--- Comment #4 from David Silva <folken22mtv at hotmail.com> 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 <assert.h>

+#include <nouveau/nv04_pushbuf.h>
 #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.


More information about the Nouveau mailing list