Has anyone gotten the milter to compile on solaris?

The first hurdle is getopt/getoptlong. Solaris' getopt doesn't
include getoptlong.

I pointed the milter to ../clamscan to pick up getoptlong by
adding:

 -I../clamscan
 -L../clamscan

However, I'm still having problems with strerror_r. I added:

-Dstrerror_r=strerror

As the source suggests, but the two functions are very different:

 char = strerror (errno)
 int = strerror_r (errno, buf, sizeof(buf))

and i get errors:

clamav-milter.c: In function `clamfi_envfrom':
clamav-milter.c:635: too many arguments to function `strerror'
clamav-milter.c:778: too many arguments to function `strerror'

Any thoughts? 

-j


-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to