From owner-freebsd-ports@FreeBSD.ORG Fri Feb 10 20:40:39 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE2F316A420 for ; Fri, 10 Feb 2006 20:40:39 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B37843D46 for ; Fri, 10 Feb 2006 20:40:39 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 2E3FD1A3C23 for ; Fri, 10 Feb 2006 12:40:39 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8ABB95214D; Fri, 10 Feb 2006 15:40:38 -0500 (EST) Date: Fri, 10 Feb 2006 15:40:38 -0500 From: Kris Kennaway To: freebsd-ports Message-ID: <20060210204038.GA67948@xor.obsecurity.org> References: <20060210012611.GC18695@xor.obsecurity.org> <20060210102754.GB69160@vision.anyware> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <20060210102754.GB69160@vision.anyware> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: [ports-i386@FreeBSD.org: resin-2.1.17 failed on i386 7] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2006 20:40:39 -0000 --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 -= ---- > >=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+--