Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 11:14:54 -0500
From:      Jason Andresen <jandrese@mitre.org>
To:        Jan Schlesner <jschlesn@physik.tu-berlin.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD 4.3 Release / XFree86 4.1 / KDE 2.1.1
Message-ID:  <3BF146FE.7C7AD7E5@mitre.org>
References:  <00b801c16945$00e2ad80$13fea8c0@drs> <20011110150303.B57051@physik.TU-Berlin.DE>

next in thread | previous in thread | raw e-mail | index | archive | help
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) <options here>

You just need to change it to
	$(CLINK) -pthread <options here>

-- 
  \  |_ _|__ __|_ \ __| 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BF146FE.7C7AD7E5>