From owner-freebsd-isp Thu Dec 5 4:30:26 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 B1A5F37B401 for ; Thu, 5 Dec 2002 04:30:24 -0800 (PST) Received: from ns1.via-net-works.net.ar (ns1.via-net-works.net.ar [200.10.100.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E90EB43E4A for ; Thu, 5 Dec 2002 04:30:22 -0800 (PST) (envelope-from hnunez@vianetworks.com.ar) Received: from pchnunez (pc-hnunez.vianetworks.com.ar [200.10.101.5] (may be forged)) by ns1.via-net-works.net.ar (8.12.6/8.12.6) with SMTP id gB5CU5ku052085; Thu, 5 Dec 2002 09:30:06 -0300 (ART) (envelope-from hnunez@vianetworks.com.ar) From: Hernan Nunez Message-ID: <004801c29c5a$1cd472f0$92660ac8@ms.vianetworks.net.ar> To: "Scot W. Hetzel" , References: <011b01c29bb8$e84096f0$92660ac8@ms.vianetworks.net.ar> <009a01c29bd8$64b10840$17fd2fd8@Admin01> Subject: Re: Sendmail + Milter + Amavis-Milter Date: Thu, 5 Dec 2002 09:30:34 -0300 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 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 ----- Original Message ----- From: "Scot W. Hetzel" To: "Hernan Nunez" ; Sent: Wednesday, December 04, 2002 6:01 PM Subject: Re: Sendmail + Milter + Amavis-Milter > From: "Hernan Nunez" > > I would like to setup Sendmail + Milter-ng + Amavis with milter > interface. > > > > I've been build my sendmail with the -DMILTER option then when i try to > > compile amavis + milter i get an error with the shared library pthread.. > Any > > idea ??? > > > > Thanks in advance ... > > > > > -DAMAVISD_SOCKET=\"/var/run/amavis/milter.amavis\" -DRUNTIME_DIR=\"/var > > /spool/amavis\" -DPID_FILE=\"/var/run/amavis/amavis-milter.pid\" -o > > amavis-milter amavis-milter.c -L/usr/lib/libmilter/ -lmilter -lpthread > > amavis-milter.c:129: warning: static declaration for `strlcpy' follows > > non-static > > /usr/libexec/elf/ld: cannot find -lpthread > > *** Error code 1 > > > > > 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 .. Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message