Date: Thu, 18 Oct 2001 08:36:15 -0400 From: Jim Freeze <jfreeze@freebsdportal.com> To: Edwin Groothuis <edwin@mavetju.org> Cc: questions@freebsd.org Subject: Re: (fox gui) Looking for pthreads... Message-ID: <20011018083615.A77063@freebsdportal.com> In-Reply-To: <20011018154633.X2865@k7.mavetju.org>; from edwin@mavetju.org on Thu, Oct 18, 2001 at 03:46:33PM %2B1000 References: <20011018001751.A3633@freebsdportal.com> <20011018154633.X2865@k7.mavetju.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011018083615.A77063>