HTTP Anti-Virus Proxy

Official HAVP Support Forum
Registration disabled, I'm tired of spambots. E-mail havp@hege.li if you have questions.
HAVP project is pretty much frozen/abandoned at this time anyway.
It is currently 22 Jun 2014 09:52

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Compile Problem
PostPosted: 05 Jul 2010 19:39 
Offline

Joined: 29 Mar 2006 17:52
Posts: 11
Hi

Im using
Centos 5
havp-0.91
clamav 0.96.1

When running make I get the following problem

g++ -g -O2 -I/usr/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o clamlibscanner.o clamlibscanner.cpp
clamlibscanner.cpp: In member function âvirtual int ClamLibScanner::ReloadDatabase()â:
clamlibscanner.cpp:127: warning: unused variable âsettingsâ
rm -f scanners.a
ar cr scanners.a avgscanner.o f-protscanner.o kasperskyscanner.o nod32scanner.o clamdscanner.o sophiescanner.o avastscanner.o arcavirscanner.o drwebscanner.o clamlibscanner.o
make[2]: Leaving directory `/home/software/havp/havp-0.91/havp/scanners'
g++ -g -O2 -I/usr/include -Wall -g -O2 -o havp helper.o logfile.o scannerhandler.o connectiontobrowser.o genericscanner.o httphandler.o params.o sockethandler.o connectiontohttp.o havp.o proxyhandler.o utils.o whitelist.o scanners/scanners.a -L/usr/lib -L/usr/lib -lclamav
scanners/scanners.a(clamlibscanner.o): In function `ClamLibScanner::ReloadDatabase()':
/home/software/havp/havp-0.91/havp/scanners/clamlibscanner.cpp:150: undefined reference to `cl_free'
/home/software/havp/havp-0.91/havp/scanners/clamlibscanner.cpp:152: undefined reference to `cl_settempdir'
/home/software/havp/havp-0.91/havp/scanners/clamlibscanner.cpp:174: undefined reference to `cl_build'
/home/software/havp/havp-0.91/havp/scanners/clamlibscanner.cpp:181: undefined reference to `cl_free'
scanners/scanners.a(clamlibscanner.o): In function `ClamLibScanner::InitDatabase()':
/home/software/havp/havp-0.91/havp/scanners/clamlibscanner.cpp:80: undefined reference to `cl_settempdir'
/home/software/havp/havp-0.91/havp/scanners/clamlibscanner.cpp:101: undefined reference to `cl_build'
/home/software/havp/havp-0.91/havp/scanners/clamlibscanner.cpp:108: undefined reference to `cl_free'
scanners/scanners.a(clamlibscanner.o): In function `ClamLibScanner::FreeDatabase()':
/home/software/havp/havp-0.91/havp/scanners/clamlibscanner.cpp:250: undefined reference to `cl_free'
collect2: ld returned 1 exit status
make[1]: *** [havp] Error 1
make[1]: Leaving directory `/home/software/havp/havp-0.91/havp'
make: *** [all] Error 2

Any tips on how to fix?

Kind Regards

Paul


Top
 Profile  
 
 Post subject: Re: Compile Problem
PostPosted: 06 Jul 2010 08:04 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
Does /usr/include/clamav.h exist? Maybe you are missing some clamav-devel package?


Top
 Profile  
 
 Post subject: Re: Compile Problem
PostPosted: 06 Jul 2010 11:28 
Offline

Joined: 29 Mar 2006 17:52
Posts: 11
Hi Hege

Thanks for the reply.

I do have clam.h

[root@milan ~]# ls -l /usr/include/clamav.h
-rw-r--r-- 1 root root 7166 May 19 22:35 /usr/include/clamav.h

I use rpm packages from rpmforge and did install clamav-devel

[root@milan ~]# rpm -qa | grep clam
clamav-db-0.94.2-1.el5.rf
clamav-0.96.1-1.el5.rf
clamd-0.96.1-1.el5.rf
clamav-devel-0.96.1-1.el5.rf

Any other idea's? Ive had havp installed with clam before but not this version of clam, I wondered if something had changed in it?

Kind Regards

Paul


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group