Hi,
  Hoping someone can help with a problem I am having compiling
clamav-0.95.3 on FreeBSD 7.0

uname -a
FreeBSD mail-in2.************ 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24
19:59:52 UTC 2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

The server is pretty much all default with nothing special running on it.

I run ./configure as I have done many time before on version upgrades...
All goes well. Then on a make I get this. 
------------------

make  all-recursive
Making all in libltdl
make  all-am
Making all in libclamav
make  all-recursive
Making all in lzma
Making all in .
/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 -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 -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.)
*** Error code 1

Stop in /usr/local/src/clamav-0.95.3/libclamav.
*** Error code 1

Stop in /usr/local/src/clamav-0.95.3/libclamav.
*** Error code 1

Stop in /usr/local/src/clamav-0.95.3/libclamav.
*** Error code 1

Stop in /usr/local/src/clamav-0.95.3.
*** Error code 1

Stop in /usr/local/src/clamav-0.95.3.

 
Regards,
 
Daniel


------------------------------------------------------------
This email was sent from Netspace Webmail: http://www.netspace.net.au

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to