Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2001 00:17:51 -0400
From:      Jim Freeze <jfreeze@freebsdportal.com>
To:        questions@freebsd.org
Subject:   (fox gui) Looking for pthreads...
Message-ID:  <20011018001751.A3633@freebsdportal.com>

next in thread | raw e-mail | index | archive | help
Hi:

I have compiled fox from the x11-toolkits from the ports.
It compiles fine, but I cannot compile the tests (example code)
becase of three missing pthread function calls.

The typical error that I get is:

> 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.

Is this port broken? Or am I responsible to hunt down these libraries.
If I need to install them explicitly, can someone tell me where to
get them.

Thanks

-- 
Jim Freeze
No comment at this time.
www.freeze.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?20011018001751.A3633>