Date: Sat, 10 Feb 2001 10:05:06 +0000 From: "Andre Goeree" <abgoeree@uwnet.nl> To: ports@freebsd.org Subject: Re: glclock broken? pthread Message-ID: <20010210100506.A60321@mandark.attica.home> In-Reply-To: <200102090054.f190sn413421@vic.sabbo.net>; from sobomax@freebsd.org on Fri, Feb 09, 2001 at 02:54:44AM %2B0200 References: <20010208234437.A59433@mandark.attica.home> <200102090054.f190sn413421@vic.sabbo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > Hmm, 4. adding -pthread to LIBS= in work/glclock-5.0/makefile (LIBS = -lglut -lGLU -lGL -lXext -lXmu -lX11 -lm -lXi -pthread) seems to work too :) I don't know if this is a appropriate fix but for me it works;) -- Andre. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010210100506.A60321>