From owner-freebsd-stable Tue Nov 13 8:19: 3 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtpproxy1.mitre.org (smtpproxy1.mitre.org [129.83.20.90]) by hub.freebsd.org (Postfix) with ESMTP id B160A37B416 for ; Tue, 13 Nov 2001 08:19:00 -0800 (PST) Received: from avsrv1.mitre.org (avsrv1.mitre.org [129.83.20.58]) by smtpproxy1.mitre.org (8.11.3/8.11.3) with ESMTP id fADGEv822747; Tue, 13 Nov 2001 11:14:57 -0500 (EST) Received: from MAILHUB2 (mailhub2.mitre.org [129.83.221.18]) by smtpsrv1.mitre.org (8.11.3/8.11.3) with ESMTP id fADGEvs26682; Tue, 13 Nov 2001 11:14:57 -0500 (EST) Received: from dhcp-105-164.mitre.org (128.29.105.164) by mailhub2.mitre.org with SMTP id 8343459; Tue, 13 Nov 2001 11:14:55 -0500 Message-ID: <3BF146FE.7C7AD7E5@mitre.org> Date: Tue, 13 Nov 2001 11:14:54 -0500 From: Jason Andresen Organization: The MITRE Corporation X-Mailer: Mozilla 4.75 [en]C-20000818M (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Jan Schlesner Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 4.3 Release / XFree86 4.1 / KDE 2.1.1 References: <00b801c16945$00e2ad80$13fea8c0@drs> <20011110150303.B57051@physik.TU-Berlin.DE> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jan Schlesner wrote: > > On Fri, Nov 09, 2001 at 10:36:02AM -0700, Don Sutter wrote: > > /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' > > I think, that you must install Mesa (/usr/ports/graphics/Mesa3). > I don't know, why it doesn't install Mesa automatically. Mesa is installed, the problem is that Mesa was compiled with pthreads support and whatever you're compiling doesn't set the flag correctly. I used to run into this ALL the time. The workaround is to go into the port itself and add -pthread to the link line. It should work after that. Generally this is something like: executable: $(OBJS) $(AND_STUFF) $(CLINK) You just need to change it to $(CLINK) -pthread -- \ |_ _|__ __|_ \ __| Jason Andresen jandrese@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message