Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2006 15:40:38 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        freebsd-ports <ports@freebsd.org>
Subject:   Re: [ports-i386@FreeBSD.org: resin-2.1.17 failed on i386 7]
Message-ID:  <20060210204038.GA67948@xor.obsecurity.org>
In-Reply-To: <20060210102754.GB69160@vision.anyware>
References:  <20060210012611.GC18695@xor.obsecurity.org> <20060210102754.GB69160@vision.anyware>

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

--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 10, 2006 at 11:27:55AM +0100, Jean-Baptiste Quenot wrote:
> * Kris Kennaway:
> > Dear Maintainer,
> >=20
> > When do you expect to be able to fix this?
> >=20
> > Kris
> >=20
> > ----- Forwarded message from User Ports-i386 <ports-i386@FreeBSD.org> -=
----
> >=20
> > cc -rpath=3D/usr/lib:/usr/local/lib -L/usr/lib -lcrypto -lssl -o resin =
resin.o ../common/common.o std.o memory.o ssl.o -lc_r
> > /usr/bin/ld: cannot find -lc_r
> > *** Error code 1
>=20
> Hello,
>=20
> In the porter's handbook I read about PTHREAD_LIBS
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-pt=
hread.html
>=20
> I'm trying to use PTHREAD_LIBS, but I get the following error on
> 5.3-RELEASE:
>=20
> /usr/bin/ld -shared -o libresin.so jni_vfs.o std.o memory.o ssl_stub.o -p=
thread -lssl -lcrypto
> /usr/bin/ld: unrecognized option '-pthread'
>=20
> ld(1) manual page does not give any information about -pthread.
>=20
> Any idea?

PTHREAD_LIBS is not a linker flag, it's a compiler flag passed at the
link stage (i.e. cc -pthread).

Kris
--mYCpIKhGyMATD0i+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFD7PpGWry0BWjoQKURAqVqAKDDdIvdptOlnHT+eAXmRxL0/zP1EQCgjHZa
C/5Izd1iQpR11lomOgx/964=
=d3+3
-----END PGP SIGNATURE-----

--mYCpIKhGyMATD0i+--



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