[Mimedefang] make Problems

Gerry Doris gerry at dorfam.ca
Wed Nov 28 19:29:17 EST 2001

I pulled the following message from the archives (I decided to try out
mimedefang today and just subscribed).  I have completely rebuilt sendmail
as shipped with RH 7.2 per instructions and am now starting in on
mimedefang.  However, I have also hit the same problem as Jephe.

I tried adding "-L/usr/local/lib -lsm" to the gcc command after 
"/usr/local/lib/libsmutil.a" but that didn't fix the problem.

Any other suggestions???


Jephe Wu mimedefang at lists.roaringpenguin.com 
Fri, 23 Nov 2001 14:45:01 +0800 

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'
/usr/lib/libmilter.a(main.o): In function `smfi_setconn':
main.o(.text+0x12f): undefined reference to `strlcpy'
/usr/lib/libmilter.a(listener.o): In function `mi_milteropen':
listener.o(.text+0x184): undefined reference to `strlcpy'
/usr/lib/libmilter.a(engine.o): In function `st_connectinfo':
engine.o(.text+0x83a): undefined reference to `strlcpy'
collect2: ld returned 1 exit status
make: *** [mimedefang] Error 1

any suggestion?

thank you

More information about the MIMEDefang mailing list