NetBSD-Bugs archive

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

Re: xsrc/46138: netbsd-6 20120303 X11 issue (post expat move)



The following reply was made to PR xsrc/46138; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: xsrc/46138: netbsd-6 20120303 X11 issue (post expat move)
Date: Sat, 10 Mar 2012 17:37:49 +0100

 Can you please check if this helps your case as well?
 I believe it will...
 
 Martin
 
 ----- Forwarded message from Gary Duzan <gary%duzan.org@localhost> -----
 
 X-Original-To: martin%duskware.de@localhost
 Delivered-To: martin%duskware.de@localhost
 Delivered-To: current-users%netbsd.org@localhost
 X-Virus-Scanned: amavisd-new at NetBSD.org
 To: Gary Duzan <gary%duzan.org@localhost>
 Cc: current-users%netbsd.org@localhost
 Subject: Re: r600_dri.so and XML_ParserCreate (Re: X Leaving Display Blank)
 Date: Sat, 10 Mar 2012 11:18:22 -0500
 From: Gary Duzan <gary%duzan.org@localhost>
 List-Id: current-users.NetBSD.org
 
 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
 
 
 
 ----- End forwarded message -----
 


Home | Main Index | Thread Index | Old Index