./configure runs fine but fails make here:
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I.. -I./nsis -I./lzma -I../libltdl -DWARN_DLOPEN_FAIL
-DSEARCH_LIBDIR=\"/usr/local/lib\" -g -O2 -fno-strict-aliasing -MT
libclamav_la-matcher-ac.lo -MD -MP -MF
.deps/libclamav_la-matcher-ac.Tpo -c -o libclamav_la-matcher-ac.lo
`test -f 'matcher-ac.c' || echo './'`matcher-ac.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma
-I../libltdl -DWARN_DLOPEN_FAIL -DSEARCH_LIBDIR=\"/usr/local/lib\" -g
-O2 -fno-strict-aliasing -MT libclamav_la-matcher-ac.lo -MD -MP -MF
.deps/libclamav_la-matcher-ac.Tpo -c matcher-ac.c -fPIC -DPIC -o
.libs/libclamav_la-matcher-ac.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma
-I../libltdl -DWARN_DLOPEN_FAIL -DSEARCH_LIBDIR=\"/usr/local/lib\" -g
-O2 -fno-strict-aliasing -MT libclamav_la-matcher-ac.lo -MD -MP -MF
.deps/libclamav_la-matcher-ac.Tpo -c matcher-ac.c -o
libclamav_la-matcher-ac.o >/dev/null 2>&1
mv -f .deps/libclamav_la-matcher-ac.Tpo
.deps/libclamav_la-matcher-ac.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I.. -I./nsis -I./lzma -I../libltdl -DWARN_DLOPEN_FAIL
-DSEARCH_LIBDIR=\"/usr/local/lib\" -g -O2 -fno-strict-aliasing -MT
libclamav_la-matcher-bm.lo -MD -MP -MF
.deps/libclamav_la-matcher-bm.Tpo -c -o libclamav_la-matcher-bm.lo
`test -f 'matcher-bm.c' || echo './'`matcher-bm.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma
-I../libltdl -DWARN_DLOPEN_FAIL -DSEARCH_LIBDIR=\"/usr/local/lib\" -g
-O2 -fno-strict-aliasing -MT libclamav_la-matcher-bm.lo -MD -MP -MF
.deps/libclamav_la-matcher-bm.Tpo -c matcher-bm.c -fPIC -DPIC -o
.libs/libclamav_la-matcher-bm.o
In file included from matcher.h:28,
from others.h:21,
from matcher-bm.c:29:
others.h: In function âcli_getpagesizeâ:
others.h:363: error: â_SC_PAGESIZEâ undeclared (first use in this
function)
others.h:363: error: (Each undeclared identifier is reported only once
others.h:363: error: for each function it appears in.)
make[4]: *** [libclamav_la-matcher-bm.lo] Error 1
make[4]: Leaving directory
`/home2/Linux-Software/clamav-0.95.3/libclamav'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home2/Linux-Software/clamav-0.95.3/libclamav'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home2/Linux-Software/clamav-0.95.3/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home2/Linux-Software/clamav-0.95.3'
make: *** [all] Error 2
--
===[George R. Kasica]=== +1 262 677 0766
President +1 206 374 6482 FAX
Netwrx Consulting Inc. Jackson, WI USA
http://www.netwrx1.com
[email protected]
ICQ #12862186
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml