Thread issues
Matthew Seaman
matthew at FreeBSD.org
Fri Oct 28 16:00:44 UTC 2016
On 2016/10/28 16:45, The Doctor wrote:
> I tought FreeBSD is POSIX threads compliant.
It is, but unlike linux you need to use -lpthread on the compilation
command line to use all of the threading functionality. So the question
is: why didn't configure succeed in its test for exactly that?
> checking for the pthreads library -lpthreads... no
> checking whether pthreads work without any flags... no
> checking whether pthreads work with -Kthread... no
> checking whether pthreads work with -kthread... no
> checking for the pthreads library -llthread... no
> checking whether pthreads work with -pthread... no
> checking whether pthreads work with -pthreads... no
> checking whether pthreads work with -mt... no
> checking whether pthreads work with -mthreads... no
> checking for the pthreads library -lpthread... no <<<----****
> checking whether pthreads work with --thread-safe... no
> checking for pthread-config... no
Cheers,
Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 972 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20161028/cb8e6728/attachment.sig>
More information about the freebsd-ports
mailing list