At 11:35 AM Tuesday, 6/21/2005, you wrote -=>
Ed Kasky wrote:
I am experiencing a problem when trying to compile 0.86 with milter that sems to be happening only in this release. 0.85.1 compiles no problem on the same system.

With 0.86 I get the following running "make":
/usr/src/clamav-0.86/clamav-milter/clamav-milter.c:1577: undefined reference to `smfi_opensocket'
collect2: ld returned 1 exit status
make[2]: *** [clamav-milter] Error 1
make[2]: Leaving directory `/usr/src/clamav-0.86/clamav-milter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/clamav-0.86'

My searches indicated that this is related to sendmail's mfapi.h. I am running sendmail 8.13.3. There is only one instance of the file (aside from the src) at:
-rw-r--r-- 1 root root 13830 Aug 20 2004 /usr/include/libmilter/mfapi.h
I had similar issue. Backup libmilter/mfapi.h and replace with the one from the 8.13.3 source. (maybe make clean and start over from configure?)

make darned sure there's not another mfapi.h around too!

Only one instance:
# find  / -name 'mfapi.h'
/usr/include/libmilter/mfapi

0.86 still complains about the `smfi_opensocket' _BUT_ 0.85.1 compiles just fine...


Ed Kasky
~~~~~~~~~
Randomly Generated Quote (349 of 478):
It is only with the heart... that one can see rightly.
What is essential is invisible to the eye.
- The Little Prince, Antoine de Saint-Exupery

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to