Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2001 15:46:33 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Jim Freeze <jfreeze@freebsdportal.com>
Cc:        questions@freebsd.org
Subject:   Re: (fox gui) Looking for pthreads...
Message-ID:  <20011018154633.X2865@k7.mavetju.org>
In-Reply-To: <20011018001751.A3633@freebsdportal.com>; from jfreeze@freebsdportal.com on Thu, Oct 18, 2001 at 12:17:51AM -0400
References:  <20011018001751.A3633@freebsdportal.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 18, 2001 at 12:17:51AM -0400, Jim Freeze wrote:
> > make table
> /bin/sh ../libtool --mode=link c++  -O -pipe  -DHAVE_XSHM -DHAVE_ZLIB_H=1 -Wall -W -Wmissing-prototypes -Woverloaded-virtual -Wformat -DNDEBUG -fomit-frame-pointer -DHAVE_OPENGL -DSUN_OGL_NO_VERTEX_MACROS -DHAVE_MESA  -I/usr/X11R6/include  -o table  table.o ../src/libFOX.la -lm -lz
> c++ -O -pipe -DHAVE_XSHM -DHAVE_ZLIB_H=1 -Wall -W -Wmissing-prototypes -Woverloaded-virtual -Wformat -DNDEBUG -fomit-frame-pointer -DHAVE_OPENGL -DSUN_OGL_NO_VERTEX_MACROS -DHAVE_MESA -I/usr/X11R6/include -o .libs/table table.o ../src/.libs/libFOX.so -L/usr/X11R6/lib -lXext -lX11 -lMesaGL -lMesaGLU -lz -lm -lz  -Wl,--rpath -Wl,/usr/local/lib
> /usr/X11R6/lib/libMesaGL.so: undefined reference to `pthread_getspecific'
> /usr/X11R6/lib/libMesaGL.so: undefined reference to `pthread_key_create'
> /usr/X11R6/lib/libMesaGL.so: undefined reference to `pthread_setspecific'
> *** Error code 1
>  
> Stop in /usr/ports/x11-toolkits/fox/work/fox-0.99.174/tests.

Change the Makefile to link with the -pthread option and type make again.

If you're running XFree86-4, add XFREE86_VERSION=4 to your
/etc/make.conf and try to build the port again (i.e. make clean
and make)

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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