On 05/12/2011 10:07 PM, Ruiyuan Jiang wrote: > Hi, all > > I hope I posted my problem on the right mailing list. > > I installed pre-compiled ClamAV and configured it to run. On the Solaris 10 > SPARC server, I have Apache2.2.17 installed and running. Now I am trying to > compile mod_clamav v0.23 for my Apache server. The configure phase passed no > problem. The problem in at "make". > > # cd mod_clamav-0.23
You should file a bugreport with mod_clamav's author. > /bin/bash ./libtool --tag=CC --mode=compile `/opt/apache2.2.17/bin/apxs -q > CC` -DHAVE_CONFIG_H -I. `apr-1-config --cppflags` `apr-1-config --includes` > -I`/opt/apache2.2.17/bin/apxs -q INCLUDEDIR` `apr-1-config --cflags` > `/opt/apache2.2.17/bin/apxs -q CFLAGS_SHLIB` -g -O2 -MT mod_clamav_la-init.lo > -MD -MP -MF .deps/mod_clamav_la-init.Tpo -c -o mod_clamav_la-init.lo `test -f > 'init.c' || echo './'`init.c > gcc -DHAVE_CONFIG_H -I. -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS > -D_REENTRANT -D_LARGEFILE64_SOURCE -I/opt/apache2.2.17/include > -I/opt/apache2.2.17/include -g -O2 -g -O2 -MT mod_clamav_la-init.lo -MD -MP > -MF .deps/mod_clamav_la-init.Tpo -c init.c -fPIC -DPIC -o > .libs/mod_clamav_la-init.o > init.c: In function `mod_clamav_init_local': > init.c:22: error: `CL_INIT_DEFAULT' undeclared (first use in this function) CL_INIT_DEFAULT is defined in clamav.h, so either init.c doesn't #include clamav.h, or includes the wrong one (i.e. older version). --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
