From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 10:52:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F409016A4CE for ; Thu, 26 Feb 2004 10:51:59 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87F8C43D1F for ; Thu, 26 Feb 2004 10:51:59 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i1QIpuH5040155; Thu, 26 Feb 2004 12:51:56 -0600 (CST) (envelope-from dan) Date: Thu, 26 Feb 2004 12:51:55 -0600 From: Dan Nelson To: cyberserg@ua.fm Message-ID: <20040226185155.GA3471@dan.emsphone.com> References: <17851.040226@ua.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17851.040226@ua.fm> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: Developmet in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 18:52:00 -0000 In the last episode (Feb 26), cyberserg@ua.fm said: > I can't compile sample filter for sendmail. This sample writing in > doc with sandmail, but I can't compile it. What I missing ? > > (off topic) Where I can ask question about developing more ? > > cc sample.c > /tmp/ccoPD8c2.o: In function `mlfi_connect': > /tmp/ccoPD8c2.o(.text+0x47): undefined reference to `smfi_setpriv' > /tmp/ccoPD8c2.o(.text+0x5b): undefined reference to `smfi_getsymval' Make sure you have -lmilter on your link line. libmilter provides the smfi_* functions. -- Dan Nelson dnelson@allantgroup.com