I installed sendmail-devel.
And I did:

#./configure --sysconfdir=/etc --enable-milter
#make

And I received:

.......................
Making all in clamav-milter
make[2]: Entering directory `/home/igorek/clamav/clamav-0.66/clamav-milter'
source='clamav-milter.c' object='clamav-milter.o' libtool=no \
depfile='.deps/clamav-milter.Po' tmpdepfile='.deps/clamav-milter.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -DSENDMAIL_BIN=\"/usr/sbin/sendmail\" -I. -I. -I..
-I../clamd -I../libclamav -I../clamscan    -g -O2 -c `test -f
'clamav-milter.c' || echo './'`clamav-milter.c
/bin/sh ../libtool --mode=link gcc  -g -O2   -o clamav-milter
clamav-milter.o ../clamd/cfgfile.o ../clamd/others.o ../clamscan/getopt.o
-L../libclamav -lclamav -L/usr/lib/libmilter -lmilter -lpthread
mkdir .libs
gcc -g -O2 -o .libs/clamav-milter clamav-milter.o ../clamd/cfgfile.o
../clamd/others.o ../clamscan/getopt.o
-L/home/igorek/clamav/clamav-0.66/libclamav
/home/igorek/clamav/clamav-0.66/libclamav/.libs/libclamav.so -lz -lbz2
-L/usr/lib/libmilter -lmilter -lpthread -Wl,--rpath -Wl,/usr/local/lib
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In
function `smfi_register':
main.o(.text+0x74): undefined reference to `strlcpy'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(main.o): In
function `smfi_setconn':
main.o(.text+0x12f): undefined reference to `strlcpy'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(listener.o): In
function `mi_milteropen':
listener.o(.text+0x184): undefined reference to `strlcpy'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libmilter.a(engine.o): In
function `st_connectinfo':
engine.o(.text+0x83a): undefined reference to `strlcpy'
collect2: ld returned 1 exit status
make[2]: *** [clamav-milter] Error 1
make[2]: Leaving directory `/home/igorek/clamav/clamav-0.66/clamav-milter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/igorek/clamav/clamav-0.66'
make: *** [all] Error 2

What's wrong?
May be "linker" can't resolve reference to function because it can't find
some .h file(s). But I don't know where to find this .h files.

Igor.



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to