Hi All
I've only just joined this list, so I hope my question is not too basic.

I am trying to install clamav-milter and having a compilation problem in the
"make" phase.

I'm running Solaris 8 on a Sun E250.

Basically, I've installed sendmail 8.12.9 and created a site.config.m4 so
that sendmail is compiled with a -DMILTER switch.  The compilation of sendmail
seems so compile with -DMILTER defined without a problem.

Prior to compiling sendmail I compiled the milter sendmail dir, the libmilter.a 
which created libmilter.a in /usr/lib ok.

However, when I try to install clam 

./configure --enable-milter

works fine but the "make" fails.

I have an unreferenced symbol problem.  engine.o references inet_aton which
is  the problem.

Any ideas please anyone?  Here is where is fails!

gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -
DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"clamav\" -
DVERSION=\"20030829\" -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_UNISTD_H=1 -DHAVE_DLFCN_H=1 -
DBUFFSIZE=131072 -DFBUFFSIZE=16384 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -
DHAVE_SYS_INT_TYPES_H=1 -DHAVE_DLFCN_H=1 -DHAVE_INTTYPES_H=1 -
DHAVE_SYS_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 -DNOBZ2PREFIX=1 -
DCLAMD_USE_SYSLOG=1 -DCLAMAVUSER=\"clamav\" -DCLAMAVGROUP=\"clamav\" -
DDB1NAME=\"viruses.db\" -DDB2NAME=\"viruses.db2\" -
DDATADIR=\"/usr/local/share/clamav\" -DCONFDIR=\"/usr/local/etc\" -
DCL_THREAD_SAFE=1 -DC_SOLARIS=1 -DWORDS_BIGENDIAN=1 -DWORDS_BIGENDIAN=1  -I. -
I. -I../clamd -I../libclamav -I../clamscan    -g -O2 -c `test -f 'clamav-
milter.c' || echo './'`clamav-milter.c
/bin/bash ../libtool --mode=link gcc  -g -O2   -o clamav-milter  clamav-
milter.o ../clamd/cfgfile.o ../clamd/others.o ../clamscan/getopt.o -
L../libclamav -L/usr/lib/libmilter -lmilter -lpthread -lsocket -lnsl
gcc -g -O2 -o clamav-milter clamav-
milter.o ../clamd/cfgfile.o ../clamd/others.o ../clamscan/getopt.o  -
L/etc/mail/clam/clam/libclamav -L/usr/lib/libmilter -lmilter -lpthread -
lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
inet_aton                           /usr/lib/libmilter.a(engine.o)
ld: fatal: Symbol referencing errors. No output written to clamav-milter
collect2: ld returned 1 exit status
make[1]: *** [clamav-milter] Error 1
make[1]: Leaving directory `/etc/mail/clam/clamav-20030829/clamav-milter'
make: *** [all-recursive] Error 1

 

-------------------------------------------------------------------
Email by Gvon's HeyPresto WebMail (Imp/Horde) http://heypresto.com
Managed and Supplied by Gvon.Com ...........  http://gvon.com

For the UK's cheapest Domain Names see .... http://domainshop.co.uk


-------------------------------------------------------
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

Reply via email to