Hi,

When compiling the latest clamav 0.90.1 on an older RH server (gcc version 
2.91.66), I received the following error:
---
./configure --sysconfdir=/etc --disable-zlib-vcheck
make
....
mbox.c: In function `getURL':
mbox.c:4379: `in_port_t' undeclared (first use in this function)
mbox.c:4379: (Each undeclared identifier is reported only once
mbox.c:4379: for each function it appears in.)
mbox.c:4379: parse error before `port'
mbox.c:4380: syntax error before `default_port'
mbox.c:4417: `default_port' undeclared (first use in this function)
mbox.c:4428: `port' undeclared (first use in this function)
mbox.c:4613: warning: passing arg 1 of `free' discards `const' from 
pointer target type
make[2]: *** [mbox.lo] Error 1
make[2]: Leaving directory `/home/clam/clamav-0.90.1/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/clam/clamav-0.90.1'
make: *** [all] Error 2
---

I know the OS and gcc compiler are ancient, but 0.88.7.1 compiled fine on 
this server. Any workarounds, or the standard "please upgrade your 
OS/software"?    ;)

Thanks.

Rob

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to