From owner-freebsd-ports Tue Aug 7 19:19:10 2001 Delivered-To: freebsd-ports@freebsd.org Received: from femail39.sdc1.sfba.home.com (femail39.sdc1.sfba.home.com [24.254.60.33]) by hub.freebsd.org (Postfix) with ESMTP id B15A037B401 for ; Tue, 7 Aug 2001 19:19:04 -0700 (PDT) (envelope-from europax@home.com) Received: from home.com ([24.12.186.185]) by femail39.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010808021904.RCJA2644.femail39.sdc1.sfba.home.com@home.com>; Tue, 7 Aug 2001 19:19:04 -0700 Message-ID: <3B70A19A.2E3AB850@home.com> Date: Tue, 07 Aug 2001 19:19:06 -0700 From: Rob X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: John Merryweather Cooper Cc: ports@FreeBSD.ORG Subject: Re: ports/29519: X11 ports generate undef pthread refs with XFree86-4.10 port References: <200108072234.f77MYY470658@freefall.freebsd.org> <20010807155025.A50843@johncoop.MSHOME> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John Merryweather Cooper wrote: > > On Tue, Aug 07, 2001 at 03:34:34PM -0700, Rob wrote: > > > > >Number: 29519 > > >Category: ports > > >Synopsis: X11 ports generate undef pthread refs with XFree86-4.10 port > > >Confidential: no > > >Severity: non-critical > > >Priority: low > > >Responsible: freebsd-ports > > >State: open > > >Quarter: > > >Keywords: > > >Date-Required: > > >Class: sw-bug > > >Submitter-Id: current-users > > >Arrival-Date: Tue Aug 07 15:40:00 PDT 2001 > > >Closed-Date: > > >Last-Modified: > > >Originator: Rob > > >Release: 4.0-STABLE > > >Organization: > > >Environment: > > FreeBSD c888746-a.bvrtn1.or.home.com 4.3-STABLE FreeBSD 4.3-STABLE #0: > > Wed Jul 25 21:08:48 PDT 2001 rob@c888746-a.bvrtn1.or.home.com:/usr/src > > sys/compile/LAPTOP i386 > > >Description: > > ports using Mesa, OpenGL, or Open Motif generate undefined pthread refs > > > > eg. > > > > Script started on Sat Aug 4 19:11:52 2001 > > ===> Building for vtk-3.2 > > cd wrap; make - all > > cd common; make - targets.make > > `targets.make' is up to date. > > cd common; make - all > > cd graphics; make - targets.make > > `targets.make' is up to date. > > cd graphics; make - all > > cd imaging; make - targets.make > > `targets.make' is up to date. > > cd imaging; make - all > > cd contrib; make - targets.make > > `targets.make' is up to date. > > cd contrib; make - all > > cd tcl; make - vtk > > c++ -o vtk tkAppInit.o -L. -O2 -D__NO_MATH_INLINES -fPIC -I. -I./../common -I../common -I/usr/local/include/tk8.3/generic -I/usr/local/include/tcl8.3/generic -I/usr/X11R6/include -I/usr/X11R6/include -I./../graphics -DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING -I./../contrib -DVTK_USE_CONTRIB -L/usr/ports/math/vtk/work/vtk3.2/contrib -lVTKContribTcl -lVTKContrib -L/usr/ports/math/vtk/work/vtk3.2/imaging -lVTKImagingTcl -lVTKImaging -L/usr/ports/math/vtk/work/vtk3.2/graphics -lVTKGraphicsTcl -lVTKGraphics -L../common -lVTKCommonTcl -lVTKCommon -L/usr/X11R6/lib /usr/X11R6/lib/libMesaGL.so /usr/local/lib/libtk83.so /usr/local/lib/libtcl83.so -L/usr/X11R6/lib -lXext -lXt -lSM -lICE -lX11 -lstdc++ -lgcc -lm > > /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/math/vtk/work/vtk3.2/tcl. > > *** Error code 1 > > > > Stop in /usr/ports/math/vtk/work/vtk3.2. > > *** Error code 1 > > > > Stop in /usr/ports/math/vtk. > > *** Error code 1 > > > > Stop in /usr/ports/math/vtk. > > *** Error code 1 > > > > Stop in /usr/ports/math/vtk. > > > > Script done on Sat Aug 4 19:11:58 2001 > > > > >How-To-Repeat: > > go to /usr/ports/math/vtk, make > > >Fix: > > perhaps libGL is not built with -pthreads > > >Release-Note: > > >Audit-Trail: > > >Unformatted: > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-ports" in the body of the message > > > > No, the fix is cleaning up the breakage after Mesa3 went to > -pthreads. Just about every port with a LIB_DEPENDS on Mesa3 > has/will have this problem. > > The fix is to liberally append ${PTHREADS_LIBS} to the LIBS > used in the builds, and make the ${PTHREADS_LIBS} visible at > the build-level Makefile. > > jmc > > ------------------------------------------------------------------------ > Part 1.2Type: application/pgp-signature Well, I got my Animabob program (3d visualization program) to compile. Unfortunately, when I try to start it I get the error: Xlib: extension "GLX" missing on display ":0.0" Error: GLwDrawingArea: requested visual not supported. I assume this means that my I815 graphics is to blame on this notebook. Rob. ps. I had no problems on my old notebook which used the Rage Mobility chipset. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message