HTTP Anti-Virus Proxy
http://havp.hege.li/forum/

Problem with compiling HAVP 0.85
http://havp.hege.li/forum/viewtopic.php?f=3&t=224
Page 1 of 1

Author:  cerrone [ 28 Mar 2007 12:52 ]
Post subject:  Problem with compiling HAVP 0.85

I have Clamav 0.90 installed on my system (/opt/clamav). I want to make it work with Havp 0.85, but when i trying to compile Havp:
./configure --prefix=/opt/havp (it's OK without errors)
and then - make - i've got errors:
make[2]: Leaving directory `/usr/src/clamav/havp-0.85/havp/scanners'
g++ -Wall -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
helper.o(.text+0x190): In function `ExitProcess(int)':
: undefined reference to `_Unwind_Resume'
helper.o(.text+0xb6e): In function `HardLockTest()':
: undefined reference to `_Unwind_Resume'
helper.o(.text+0x1173): In function `WritePidFile(int)':
: undefined reference to `_Unwind_Resume'
logfile.o(.text+0x1ae): In function `LogFile::InitLogFiles(char const*, char const*)':
: undefined reference to `_Unwind_Resume'
logfile.o(.text+0x76a): In function `LogFile::GetSyslogLevel()':
: undefined reference to `_Unwind_Resume'
logfile.o(.text+0xdea): more undefined references to `_Unwind_Resume' follow
collect2: ld returned 1 exit status
make[1]: *** [havp] Error 1
make[1]: Leaving directory `/usr/src/clamav/havp-0.85/havp'
make: *** [all] Error 2

What's wrong? Can anybody help me?

Author:  hege [ 28 Mar 2007 19:21 ]
Post subject: 

What is your gcc/g++ version? Distribution?

I can only guess you have too old or buggy compiler. I could try to fix the code too if I can create same setup as you have.

Author:  cerrone [ 29 Mar 2007 08:59 ]
Post subject: 

I use RHEL4 WS
gcc - 3.4.6-3
gcc-c++-3.4.6-3

Author:  hege [ 29 Mar 2007 09:16 ]
Post subject: 

Must be something specific to RHEL4, people always have some problems with that.. ;)

I'll see if I can install it for myself.

Author:  cerrone [ 30 Mar 2007 10:19 ]
Post subject: 

Something wrong with my gcc/g++, cause I've easily installed ClamAV 0.90+HAVP 0.85 on another RHEL4 system. Thanks for trying help anyway.

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/