From owner-freebsd-questions Thu Oct 18 5:37:20 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 315AC37B407 for ; Thu, 18 Oct 2001 05:37:15 -0700 (PDT) Received: (from jfreeze@localhost) by CI590846-B.freebsdportal.com (8.11.6/8.11.6) id f9ICaGA77081; Thu, 18 Oct 2001 08:36:16 -0400 (EDT) (envelope-from jfreeze) Date: Thu, 18 Oct 2001 08:36:15 -0400 From: Jim Freeze To: Edwin Groothuis Cc: questions@freebsd.org Subject: Re: (fox gui) Looking for pthreads... Message-ID: <20011018083615.A77063@freebsdportal.com> References: <20011018001751.A3633@freebsdportal.com> <20011018154633.X2865@k7.mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011018154633.X2865@k7.mavetju.org>; from edwin@mavetju.org on Thu, Oct 18, 2001 at 03:46:33PM +1000 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 Edwin: I set XFREE86_VERSION=4 in my /etc/make.conf file. I did a make deinstall and make clean on fox and then make && make install. The tests were not built, so trying to build them individually and they still fail. The error looks the same: make table c++ -DPACKAGE=\"fox\" -DVERSION=\"0.99.174\" -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_ZLIB_H=1 -I. -I. -I../include -I../include -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 -c table.cpp table.cpp: In method `long int TableWindow::onTableSelected(FXObject *, unsigned int, void *)': table.cpp:214: warning: unused variable `struct FXTableRange * tr' table.cpp: In method `long int TableWindow::onTableDeselected(FXObject *, unsigned int, void *)': table.cpp:221: warning: unused variable `struct FXTableRange * tr' table.cpp: In method `long int TableWindow::onTableInserted(FXObject *, unsigned int, void *)': table.cpp:228: warning: unused variable `struct FXTableRange * tr' table.cpp: In method `long int TableWindow::onTableDeleted(FXObject *, unsigned int, void *)': table.cpp:235: warning: unused variable `struct FXTableRange * tr' table.cpp: In method `long int TableWindow::onTableChanged(FXObject *, unsigned int, void *)': table.cpp:242: warning: unused variable `struct FXTablePos * tp' /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 mkdir .libs 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. I'm stumped. Jim On Thu, Oct 18, 2001 at 03:46:33PM +1000, Edwin Groothuis wrote: > 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/ -- 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