On 07/04/2010 12:31, Jan Kratochvíl wrote:
Hi,

make fails Clamav 0.96 on system RedHat kernel 2.2.27-rc2 #10

gcc version egcs-2.91.66

./configure --enable-experimental --libdir=/usr/local/lib

make

Making check in libltdl
make[1]: Entering directory `/usr/src/clamav-0.96/libltdl'
make check-am
make[2]: Entering directory `/usr/src/clamav-0.96/libltdl'
CC dlopen.lo
In file included from ../clamav-config.h:562,
from libltdl/lt__dirent.h:35,
from libltdl/lt__private.h:52,
from loaders/dlopen.c:32:
../platform.h:24: redefinition of `in_port_t'
../platform.h:24: `in_port_t' previously declared here
../platform.h:28: redefinition of `in_addr_t'
../platform.h:28: `in_addr_t' previously declared here
In file included from ../clamav-config.h:562,
from libltdl/lt__strl.h:35,
from libltdl/lt__private.h:53,
from loaders/dlopen.c:32:
../platform.h:24: redefinition of `in_port_t'
../platform.h:24: `in_port_t' previously declared here
../platform.h:28: redefinition of `in_addr_t'
../platform.h:28: `in_addr_t' previously declared here
In file included from ../clamav-config.h:562,
from libltdl/lt__glibc.h:35,
from libltdl/lt__private.h:54,
from loaders/dlopen.c:32:
../platform.h:24: redefinition of `in_port_t'
../platform.h:24: `in_port_t' previously declared here
../platform.h:28: redefinition of `in_addr_t'
../platform.h:28: `in_addr_t' previously declared here
make[2]: *** [dlopen.lo] Error 1
make[2]: Leaving directory `/usr/src/clamav-0.96/libltdl'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/usr/src/clamav-0.96/libltdl'
make: *** [check-recursive] Error 1

This problem is new in Clamav 0.96,
clamav-0.95.3 does compile an run with these settings.


Hi, I doubt this gcc is a supported compiler
anyway you can try to comment out offending declaration in platform.h (or better platform.h.in before running configure)

Regards

--
Gianluigi Tiesi <sher...@netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to