Ran the following ./configure: ./configure --disable-urandom --disable-clamav --enable-milter --with-user="clamav" --with-group="clamav" --with-dbdir=/var/clamav
When trying to build, the milter build fails because it's still looking for cfgfile.h. Changed clamav-milter/clamav-milter.c to include "cfgparser.h". I did a make and built all prerequisite libs and objects. Now the build fails in clamav-milter/ with: [EMAIL PROTECTED] clamav-milter]$ make source='../shared/cfgparser.c' object='cfgparser.o' libtool=no \ depfile='.deps/cfgparser.Po' tmpdepfile='.deps/cfgparser.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -DSENDMAIL_BIN=\"/usr/lib/sendmail\" -I. -I. -I.. -I../clamd -I../libclamav -I../shared -O2 -g -pipe -march=i386 -mcpu=i686 -c -o cfgparser.o `test -f '../shared/cfgparser.c' || echo './'`../shared/cfgparser.c source='../shared/getopt.c' object='getopt.o' libtool=no \ depfile='.deps/getopt.Po' tmpdepfile='.deps/getopt.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -DSENDMAIL_BIN=\"/usr/lib/sendmail\" -I. -I. -I.. -I../clamd -I../libclamav -I../shared -O2 -g -pipe -march=i386 -mcpu=i686 -c -o getopt.o `test -f '../shared/getopt.c' || echo './'`../shared/getopt.c 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/lib/sendmail\" -I. -I. -I.. -I../clamd -I../libclamav -I../shared -O2 -g -pipe -march=i386 -mcpu=i686 -c `test -f 'clamav-milter.c' || echo './'`clamav-milter.c /bin/sh ../libtool --mode=link gcc -O2 -g -pipe -march=i386 -mcpu=i686 -o clamav-milter cfgparser.o getopt.o clamav-milter.o -L../libclamav -lclamav -L/usr/lib/libmilter -lmilter -lwrap -lpthread mkdir .libs gcc -O2 -g -pipe -march=i386 -mcpu=i686 -o .libs/clamav-milter cfgparser.o getopt.o clamav-milter.o -L/home/todd/RPM/BUILD/clamav-0.70pre2/libclamav /home/todd/RPM/BUILD/clamav-0.70pre2/libclamav/.libs/libclamav.so -lz -lbz2 -lgmp -L/usr/lib/libmilter -lmilter -lwrap -lpthread cfgparser.o(.text+0x35c): In function `parsecfg': ../shared/cfgparser.c:178: undefined reference to `mcalloc' cfgparser.o(.text+0x5b7): In function `regcfg': ../shared/cfgparser.c:264: undefined reference to `mmalloc' collect2: ld returned 1 exit status make: *** [clamav-milter] Error 1 I'm not sure what to do to make it see the mcalloc and mmalloc declarations. All the includes, link, and link search paths seem correct to me. Apparently, I'm not as familiar with C as I thought I was. All suggestions appreciated. Blue skies... Todd ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users