On Wednesday 14 Apr 2004 4:32 pm, Pad Hosmane wrote:
> Nigel,
>I am not a programmer. With trial and error I figured out how to
> compile clamav-milter.c. Please guide me how to use inet_ntoa() instead
> of inet_ntop()?
Try this:
remoteIP = inet_ntoa(((struct sockaddr_in *)(hostaddr))-
> On HP-UX 11.00 routine inet_ntop is not available; it's available only
> on HP-UX 11i. Compilation was success if I comment the line in
> clamav-milter.c
>
> remoteIP = (char *)inet_ntop(AF_INET, &((struct sockaddr_in
> *)(hostaddr))->sin_addr, ip, sizeof(ip));
On systems without inet_ntop() I w
> On HP-UX 11.00 routine inet_ntop is not available; it's available only
> on HP-UX 11i. Compilation was success if I comment the line in
> clamav-milter.c
>
> remoteIP = (char *)inet_ntop(AF_INET, &((struct sockaddr_in
> *)(hostaddr))->sin_addr, ip, sizeof(ip));
On systems without inet_ntop() I w
Hi,
I had the same problem but only for INET_ADDRSTRLEN not being defined...
The first thing I would look for is to see if you have the library
/usr/local/include/netinet/in.h
To be on the safe side, because some progs look in /usr/local/include and
others in /usr/include, make sure you
Hi,
I am compiling clamav-milter on HP-UX 11.00. Without clamav-milter the
compile was successful. Know I am trying to compile with
--enable-milter. I am getting the following error:
Making all in clamav-milter