[Mimedefang] make problem with RedHat 7.1

Bill Maidment bill at maidment.com.au
Fri Feb 1 04:34:30 EST 2002


Hi

Did anyone find a solution to the make problem back in November?
I am running RedHat 7.1 with kernel 2.4.17 + Win4Lin, sendmail 8.12.1 
and mimedefang 2.3 and I get the following:

gcc -g -O2 -Wall -Wstrict-prototypes -pthread -o mimedefang mimedefang.o 
/usr/lib/libmilter.a /usr/local/lib/libsmutil.a -L/usr/local/lib -lsm 
-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

I manually added -L/usr/local/lib -lsm as suggested previously

Regards
Bill




More information about the MIMEDefang mailing list