From owner-freebsd-isp Thu Dec 5 10:28:23 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04E2E37B401 for ; Thu, 5 Dec 2002 10:28:22 -0800 (PST) Received: from mail.westbend.net (ns1.westbend.net [216.47.253.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 817FF43EB2 for ; Thu, 5 Dec 2002 10:28:19 -0800 (PST) (envelope-from hetzels@westbend.net) Received: from Admin01 (WBIw003.westbend.net [216.47.253.23]) by mail.westbend.net (8.12.6/8.12.6) with SMTP id gB5IS0mP008515; Thu, 5 Dec 2002 12:28:01 -0600 (CST) (envelope-from hetzels@westbend.net) Message-ID: <021001c29c8c$041450f0$17fd2fd8@Admin01> From: "Scot W. Hetzel" To: "Hernan Nunez" , References: <011b01c29bb8$e84096f0$92660ac8@ms.vianetworks.net.ar> <009a01c29bd8$64b10840$17fd2fd8@Admin01> <004801c29c5a$1cd472f0$92660ac8@ms.vianetworks.net.ar> Subject: Re: Sendmail + Milter + Amavis-Milter Date: Thu, 5 Dec 2002 12:27:48 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=-0.3 required=8.0 tests=QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT_OE version=2.43 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org From: "Hernan Nunez" > > The problem is "-lpthread" it should be "-pthread" on freebsd. > > > > Scot > > > > Yups you are right. It works . > But this confuse me -l 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