Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2004 14:27:54 +0200
From:      Peter.Weiss@Sun.com (Peter Weiss, Sun Microsystems, Germany)
To:        freebsd-current@freebsd.org
Subject:   Re: portsupgrade and XFree86-4.4.0
Message-ID:  <xpxyzn9cgl9x.fsf@Sun.com>
In-Reply-To: <20040415145214.GA73881@lichen.forest.homeunix.net> (Anthony Wood's message of "Thu, 15 Apr 2004 10:52:14 -0400")
References:  <xpxyoeptlmxp.fsf@Sun.com> <1082015313.6486.4.camel@area51.cc-web.ma.schlund.de> <20040415145214.GA73881@lichen.forest.homeunix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Anthony" == Anthony Wood <adwood@earthlink.net> writes:

Anthony> On Thu, Apr 15, 2004 at 09:48:33AM +0200, Sascha Holzleiter wrote:

Anthony> [...]

Anthony> On a related not, when compiling 4.4.99.3, I get:

Anthony>  making all in lib/GL/GL...  rm -f libGL.a ar clq libGL.a
Anthony> ../../../lib/GL/glx/unshared/?*.o ../../../lib/GL/glx/glapi_x86.o
Anthony> ../../../lib/GL/dri/unshared/XF86dri.o
Anthony> ../../../lib/GL/dri/unshared/dri_glx.o
Anthony> ../../../lib/GL/dri/drm/unshared/?*.o /usr/libexec/elf/ar:
Anthony> ../../../lib/GL/dri/drm/unshared/?*.o: No such file or directory ***
Anthony> Error code 1

Anthony> Peter, did you have to do anything to overcome this?

Hello Anthony,

Nope, the compilation went okay without any problems (I used the original
4.4.0 sources from xfree.org). The only thing I had to do was to fix the
Makefile in xc/lib/GL/GL/Makefile:

:2$ grep thread Makefile  * e
      THREADS_LIBS = -lpthread
   THREADS_CXXLIBS = -lpthread

(It used to be set to -lc_r)

Now the dependencies are fixed:

:2$ ldd /usr/X11R6/lib/libGL.so
/usr/X11R6/lib/libGL.so:
        libpthread.so.1 => /usr/lib/libpthread.so.1 (0x281b3000)
        libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x281d6000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x281db000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x281e8000)
        libc.so.5 => /lib/libc.so.5 (0x28075000)

I'd suggest to ensure that none of the libs in /usr/{local,X11R6}/lib has any
dependency on libc_r (check either with ldd(1) or objdump(1)).

See my other posting in this thread how I solved this.  More details on
request.

Peter

-- 
Peter Weiss               / Peter.Weiss@germany.sun.com
Sun Microsystems GmbH     / Sonnenallee 1, D-85551 Kirchheim-Heimstetten
(+49 89) 46008 2947       / mobil 0177/ 60 40 121



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xpxyzn9cgl9x.fsf>