From owner-freebsd-stable Wed May 15 19: 9:41 2002 Delivered-To: freebsd-stable@freebsd.org Received: from snafu.adept.org (snafu.adept.org [63.201.63.44]) by hub.freebsd.org (Postfix) with ESMTP id 66FC437B400 for ; Wed, 15 May 2002 19:09:36 -0700 (PDT) Received: by snafu.adept.org (Postfix, from userid 1000) id E8F4A9EE33; Wed, 15 May 2002 19:09:27 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by snafu.adept.org (Postfix) with ESMTP id E13AA9B001; Wed, 15 May 2002 19:09:27 -0700 (PDT) Date: Wed, 15 May 2002 19:09:27 -0700 (PDT) From: Mike Hoskins To: Yann Ramin Cc: , Subject: Re: pthread Q (xmms) In-Reply-To: <1021514471.442.7.camel@hamsterfactor.atpn.com> Message-ID: <20020515190731.C52204-100000@snafu.adept.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 CCing maintainer... On 15 May 2002, Yann Ramin wrote: > On Wed, 2002-05-15 at 19:45, Mike Hoskins wrote: > > On 15 May 2002, Yann Ramin wrote: > > > > Ok, I see: > > > > $ ls /usr/lib/libc_r* > > /usr/lib/libc_r.a /usr/lib/libc_r.so.4 > > /usr/lib/libc_r.so /usr/lib/libc_r_p.a > > > > Is this the FreeBSD implementation? > > Yes. Its actualy the reenterant version of the C library, but it also > contains the pthread_ functions. > > > I've removed linuxthreads, and when I > > try to compile xmms I get gtk/glib errors. So I've tried to use > > portupgrade to ensure glib and gtk are up to date... But get, > > > > What does 'cannot find -lpthread' imply? This is what I saw in the past, > > which made me think I needed to install some non-existent pthreads > > implementation. > > > > For some reason the XMMS configure it trying to use the Linux libpthread > library. It shouldn't be using that library. Instead it should be > running the linking phase of gcc with the -pthread option. Linking in > libc_r is another way around it (not as "correct," but seems to work > fine). Is this through the xmms port? If it is, I would suggest talking > to the port maintainer. Yes, and I cvsup'ed the latest ports this morning. (Same result before and after.) Later, -Mike -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." --Benjamin Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message