Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 19:09:27 -0700 (PDT)
From:      Mike Hoskins <mike@adept.org>
To:        Yann Ramin <atrus@atrustrivalie.org>
Cc:        <stable@freebsd.org>, <esk@ira.uka.de>
Subject:   Re: pthread Q (xmms)
Message-ID:  <20020515190731.C52204-100000@snafu.adept.org>
In-Reply-To: <1021514471.442.7.camel@hamsterfactor.atpn.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020515190731.C52204-100000>