From owner-freebsd-questions Wed Oct 17 21:18:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from CI590846-B.freebsdportal.com (ci590846-b.lxintn1.ky.home.com [24.9.218.175]) by hub.freebsd.org (Postfix) with ESMTP id 57F4C37B409 for ; Wed, 17 Oct 2001 21:18:50 -0700 (PDT) Received: (from jfreeze@localhost) by CI590846-B.freebsdportal.com (8.11.6/8.11.6) id f9I4Hpb04144 for questions@freebsd.org; Thu, 18 Oct 2001 00:17:51 -0400 (EDT) (envelope-from jfreeze) Date: Thu, 18 Oct 2001 00:17:51 -0400 From: Jim Freeze To: questions@freebsd.org Subject: (fox gui) Looking for pthreads... Message-ID: <20011018001751.A3633@freebsdportal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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