Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 12:51:55 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        cyberserg@ua.fm
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Developmet in FreeBSD
Message-ID:  <20040226185155.GA3471@dan.emsphone.com>
In-Reply-To: <17851.040226@ua.fm>
References:  <17851.040226@ua.fm>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040226185155.GA3471>