[Mimedefang] make problem about mimedefang

David F. Skoll dfs at roaringpenguin.com
Fri Nov 23 08:08:26 EST 2001

> I am compiling Sendmail 8.12.1 and MIMEDefang 2.1 under Redhat 7.2,
> but I got the following error during I try to use command 'make'

> [root at filter mimedefang-2.1]# make
> gcc -g -O2 -Wall -Wstrict-prototypes -pthread -o mimedefang mimedefang.o
> /usr/lib/libmilter.a /usr/local/lib/libsmutil.a -lpthread -lnsl
> /usr/lib/libmilter.a(main.o): In function `smfi_register':
> main.o(.text+0x74): undefined reference to `strlcpy'

Odd.  The configure script is supposed to detect whether or not you need
to link against libsm.a.  Try adding "-L/usr/local/lib -lsm" to the gcc command
after "/usr/local/lib/libsmutil.a"


More information about the MIMEDefang mailing list