Re: [Clamav-users] clamav-milter compile issue

2004-04-14 Thread Nigel Horne
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))-

RE: [Clamav-users] clamav-milter compile issue

2004-04-14 Thread Pad Hosmane
> 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

Re: [Clamav-users] clamav-milter compile issue

2004-04-14 Thread Nigel Horne
> 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

RE: [Clamav-users] clamav-milter compile issue

2004-04-14 Thread Pad Hosmane
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

[Clamav-users] clamav-milter compile issue

2004-04-13 Thread Pad Hosmane
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