[ports-i386@FreeBSD.org: resin-2.1.17 failed on i386 7]

Kris Kennaway kris at obsecurity.org
Fri Feb 10 12:40:39 PST 2006


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

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

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060210/d5d82b41/attachment.bin


More information about the freebsd-ports mailing list