From owner-freebsd-ports Fri Feb 9 0:55:42 2001 Delivered-To: freebsd-ports@freebsd.org Received: from daffy.uwnet.nl (ns.isd-holland.nl [195.7.130.35]) by hub.freebsd.org (Postfix) with ESMTP id 1D4A037B401 for ; Fri, 9 Feb 2001 00:55:21 -0800 (PST) Received: from dyn.dailup.c227129077.isd.to (dyn.dailup.c227129077.isd.to [213.227.129.77]) by daffy.uwnet.nl (8.11.1/8.11.0) with ESMTP id f198tIT31291 for ; Fri, 9 Feb 2001 09:55:18 +0100 Received: (qmail 973 invoked by uid 1000); 9 Feb 2001 09:41:32 -0000 From: "Andre Goeree" Date: Fri, 9 Feb 2001 09:41:32 +0000 To: ports@freebsd.org Subject: Re: glclock broken? pthread Message-ID: <20010209094132.A928@mandark.attica.home> Reply-To: abgoeree@uwnet.nl References: <20010208234437.A59433@mandark.attica.home> <200102090054.f190sn413421@vic.sabbo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102090054.f190sn413421@vic.sabbo.net>; from sobomax@freebsd.org on Fri, Feb 09, 2001 at 02:54:44AM +0200 X-Sender: abgoeree@uwnet.nl Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Feb 09, 2001 at 02:54:44AM +0200, Maxim Sobolev wrote: > > > > Hello, > > > > My attempt to build x11-clocks/glclock ended > > with the following error: > > > > /usr/X11R6/lib/libGL.so: undefined reference to `pthread_getspecific' > > /usr/X11R6/lib/libGL.so: undefined reference to `pthread_key_create' > > /usr/X11R6/lib/libGL.so: undefined reference to `pthread_setspecific' > > *** Error code 1 > > > > Stop in /usr/local/ports/x11-clocks/glclock/work/glclock-5.0. > > *** Error code 1 > > > > just fixed a similar error with xscreensaver;) > > The trick of adding "CONFIGURE_ENV= LDFLAGS=-pthread" > > to the Makefile didn't work here. > > What should i try next? > > (XFree86-4.0.2_5 Mesa-3.2.1_1) > > > > You have several choices ahead: > 1. Wait a bit until -pthread weirdness would be resolved; > 2. Manually replace -pthread in ports/x11/XFree86-4/files/patch-* with -lc_r > and then recompile/reinstall XFree86-4; > 3. Apply attached patch for gcc.295 and then recompile/reinstall XFree86-4. > > -Maxim > Recompile/reinstall XFree86-4 again? No, this time i think i'll wait until the -pthread weirdness will be resolved;) BTW, graphics/gle, same thing. Could be solved by adding the extra line (see above) to the Makefile. Thanks, -- Andre. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message