I'm having some trouble compiling clamav on an old Linux 2.0 box (complete with gcc
2.95.3 and libc5). Searching the clamav archives yields no information on this
particular problem.
The requisite zlib 1.2.1 is installed on the system, as is bzip2 1.0.2. The machine
can build and install clamav-0.24 cleanly. But it always fails on later versions such
as 0.54, 0.68 and 0.70-rc. The output for an 0.68 attempt follows. Any advice or
suggestion (apart from the obvious of "move to a newer Linux version", which is not
possible) will be greatly appreciated.
Thanks.
Fred
***********************************
Making all in libclamav
make[2]: Entering directory `/root/clam/clamav-0.68/libclamav'
source='scanners.c' object='scanners.lo' libtool=yes \
depfile='.deps/scanners.Plo' tmpdepfile='.deps/scanners.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib
-g -O2 -c -o scanners.lo `test -f 'scanners.c' || echo './'`scanners.c
rm -f .libs/scanners.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -g -O2 -c scanners.c
-Wp,-MD,.deps/scanners.TPlo -fPIC -DPIC -o .libs/scanners.lo
In file included from zziplib/zzip.h:23,
from scanners.c:46:
zziplib/zzip-stdint.h:21: conflicting types for `int8_t'
/usr/include/sys/bitypes.h:80: previous declaration of `int8_t'
zziplib/zzip-stdint.h:26: warning: redefinition of `int16_t'
/usr/include/sys/bitypes.h:82: warning: `int16_t' previously declared here
zziplib/zzip-stdint.h:33: warning: redefinition of `int32_t'
/usr/include/sys/bitypes.h:84: warning: `int32_t' previously declared here
make[2]: *** [scanners.lo] Error 1
make[2]: Leaving directory `/root/clam/clamav-0.68/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/clam/clamav-0.68'
make: *** [all] Error 2
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users