In the last episode (Feb 26), [EMAIL PROTECTED] 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
        [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to