I looked thru the archives and didnt see this one, so I'll ask here. I
have solaris 9, and clamav-0.60. I did ./configure --enable-milter and
make. The compile first failed looking for getopt.h:
clamav-milter.c:144:20: getopt.h: No such file or directory

 I changed the include to be:
#include <../clamscan/getopt.h>

Is that OK to do?

Next I get this:
gcc -g -O2 -o clamav-milter clamav-milter.o ../clamd/cfgfile.o
../clamd/others.o  -L/opt/clam/clamav-0.60/libclamav
-L/usr/lib/libmilter -lmilter -lpthread -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
strerror_r                          clamav-milter.o
inet_aton
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.1/../../../libmilter.a(engine.o)
getopt_long                         clamav-milter.o
ld: fatal: Symbol referencing errors. No output written to clamav-milter
collect2: ld returned 1 exit status
*** Error code 1



And I am at a loss. Any ideas?  -pat


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