Developmet in FreeBSD

Dan Nelson dnelson at allantgroup.com
Thu Feb 26 10:52:00 PST 2004


In the last episode (Feb 26), cyberserg at 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 at allantgroup.com


More information about the freebsd-questions mailing list