From owner-freebsd-stable Wed May 15 19: 0:38 2002 Delivered-To: freebsd-stable@freebsd.org Received: from www.dvfootage.com (dvfootage.com [216.228.5.85]) by hub.freebsd.org (Postfix) with ESMTP id 4C5F437B401 for ; Wed, 15 May 2002 19:00:32 -0700 (PDT) Received: from hamsterfactor.atpn.com (pm2-96.corp.redshift.com [216.228.4.96]) by www.dvfootage.com (Postfix) with ESMTP id A2FA75D3A; Wed, 15 May 2002 19:00:30 -0700 (PDT) Subject: Re: pthread Q From: Yann Ramin To: Mike Hoskins Cc: stable@freebsd.org In-Reply-To: <20020515183913.X52109-100000@snafu.adept.org> References: <20020515183913.X52109-100000@snafu.adept.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-6j9UE829HiSxq6+gTsBi" X-Mailer: Ximian Evolution 1.0.3 Date: 15 May 2002 19:01:08 -0700 Message-Id: <1021514471.442.7.camel@hamsterfactor.atpn.com> Mime-Version: 1.0 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 --=-6j9UE829HiSxq6+gTsBi Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2002-05-15 at 19:45, Mike Hoskins wrote: > On 15 May 2002, Yann Ramin wrote: >=20 > Ok, I see: >=20 > $ 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 >=20 > Is this the FreeBSD implementation? =20 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, >=20 > 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. >=20 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. --=20 -------------------------------------------------------------------- Yann Ramin atrus@atrustrivalie.org Atrus Trivalie Productions www.atrustrivalie.org GPG Key Fingerprint: 3E2F FFBC B244 BFF6 C089 7AE3 940D 1037 B790 A0EC Use www.keyserver.net to find me! "The dew," he observed, "has clearly fallen with a particulary sickening thud this morning." - Marvin (Life, the Universe, Everything. Douglas Adams) Deep in the human unconscious is a pervasive need for a logical=20 universe that makes sense. But the real universe is always one step=20 beyond logic. - Muad'Dib (Dune, Frank Herbert)=20 -------------------------------------------------------------------- --=-6j9UE829HiSxq6+gTsBi Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQA84xLjlA0QN7eQoOwRAuwuAJwJUPIGs2IRFXlnitG51WJwedDX8ACeMusM UhSS0VyA90EVPLaQpwx1FJY= =50um -----END PGP SIGNATURE----- --=-6j9UE829HiSxq6+gTsBi-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message