Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: r600_dri.so and XML_ParserCreate (Re: X Leaving Display Blank)



In Message <20120310123058.E1CEF115394%xen1.duzan.org@localhost>,
   Gary Duzan <gary%duzan.org@localhost>wrote:

=>   After a bit more poking around, and some thoughts from Martin
=>Husemann, it seems I missed the point entirely. I thought X was
=>still running, but after starting it from a remote login I can see
=>that it is dying with:
=>
=>/usr/X11R7/lib/modules/dri/r600_dri.so: Undefined PLT symbol 
"XML_ParserCreate" (symnum = 56)
=>
=>   So now I'm guessing this has something to do with the expat move.

   This patch fixes it for me:

Index: external/mit/xorg/lib/dri/dri.mk
===================================================================
RCS file: /usr2/netbsd-cvs/src/external/mit/xorg/lib/dri/dri.mk,v
retrieving revision 1.11
diff -b -u -p -r1.11 dri.mk
--- external/mit/xorg/lib/dri/dri.mk    29 Feb 2012 20:07:56 -0000      1.11
+++ external/mit/xorg/lib/dri/dri.mk    10 Mar 2012 16:16:28 -0000
@@ -45,6 +45,7 @@ LIBDIR=               ${X11USRLIBDIR}/modules/dri
 LIBDPLIBS+=    drm             ${.CURDIR}/../../libdrm
 LIBDPLIBS+=    m               ${NETBSDSRCDIR}/lib/libm
 LIBDPLIBS+=    mesa_dri        ${.CURDIR}/../libmesa
+LIBDPLIBS+=    expat           ${NETBSDSRCDIR}/external/mit/expat/lib/libexpat
 # to find mesa_dri.so
 LDFLAGS+=      -Wl,-rpath,${LIBDIR}
===================================================================

                                        Gary Duzan




Home | Main Index | Thread Index | Old Index