Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2002 12:27:48 -0600
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        "Hernan Nunez" <hnunez@vianetworks.com.ar>, <freebsd-isp@FreeBSD.ORG>
Subject:   Re: Sendmail + Milter + Amavis-Milter
Message-ID:  <021001c29c8c$041450f0$17fd2fd8@Admin01>
References:  <011b01c29bb8$e84096f0$92660ac8@ms.vianetworks.net.ar> <009a01c29bd8$64b10840$17fd2fd8@Admin01> <004801c29c5a$1cd472f0$92660ac8@ms.vianetworks.net.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Hernan Nunez" <hnunez@vianetworks.com.ar>
> > The problem is "-lpthread" it should be "-pthread" on freebsd.
> >
> > Scot
> >
>
> Yups you are right. It works .
> But this confuse me -l<library> is a linker option so why omit them ..
>
FreeBSD dosen't have a seperate libpthread library.  The pthread functions
are in libc_r, and -pthread causes the linker to link the program with
libc_r instead of libc.

Read man page for gcc.

Scot


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?021001c29c8c$041450f0$17fd2fd8>