> I'm trying to use the spec file from the 0.60 src rpm, to build an RPM > from the clamav-20030806.tar.gz snapshot (to see if the milter/clamd is > more stable). > Just unpacking the tar ball, running ./configure, and make works. > But rpmbuild -bb clam.spec dies with - > 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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" > -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"clamav\" > -DVERSION=\"20030806\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DBUFFSIZE=131072 > -DFBUFFSIZE=16384 -DSTDC_HEADERS=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 > -DHAVE_DLFCN_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 > -DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_MMAN_H=1 > -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_MALLOC_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 > -DHAVE_ZLIB_H=1 -DHAVE_BZLIB_H=1 -DCLAMD_USE_SYSLOG=1 > -DCLAMAVUSER=\"clamav\" -DCLAMAVGROUP=\"clamav\" > -DDB1NAME=\"viruses.db\" -DDB2NAME=\"viruses.db2\" > -DDATADIR=\"/var/clamav\" -DCONFDIR=\"/etc\" -DC_URANDOM=1 -DC_LINUX=1 > -DCL_THREAD_SAFE=1 -DCLAMUKO=1 -DWORDS_LITTLEENDIAN=1 -I. -I. -I../clamd > -I../libclamav -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 clamav-milter.o ../clamd/cfgfile.o > ../clamd/others.o -L../libclamav -L/usr/lib/libmilter -lmilter -lpthread > mkdir .libs > gcc -O2 -g -pipe -march=i386 -mcpu=i686 -o clamav-milter clamav-milter.o > ../clamd/cfgfile.o ../clamd/others.o > -L/usr/src/redhat/BUILD/clamav-0.61/libclamav -L/usr/lib/libmilter > -lmilter -lpthread > ../clamd/others.o(.text+0x56e): In function `virusaction': > /home/awilliam/clamav-20030806/clamd/others.c:260: undefined reference > to `cli_malloc' > collect2: ld returned 1 exit status > make[1]: *** [clamav-milter] Error 1 > make[1]: Leaving directory > `/usr/src/redhat/BUILD/clamav-0.61/clamav-milter' > make: *** [all-recursive] Error 1 > error: Bad exit status from /var/tmp/rpm-tmp.61394 (%build) > Any thoughts? I've looked through the spec and don't see anything > really strange.
It is --enable-milter that causes this, even in a standard tar-pack build. Without milter support it compiles. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users