HTTP Anti-Virus Proxy http://havp.hege.li/forum/ |
|
Compilation under redhat 7.3 http://havp.hege.li/forum/viewtopic.php?f=3&t=66 |
Page 1 of 1 |
Author: | Guest [ 31 Mar 2006 14:36 ] |
Post subject: | Compilation under redhat 7.3 |
Hi all I am trying to update a server which was running havp 0.70 to version 0.78. The compile is giving me errors: Code: g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -I/usr/include -O2 -march=i386 -mcpu=i686 -c helper.cpp -o helper.o
helper.cpp: In function `bool WritePidFile (int)': helper.cpp:41: `ios_base' undeclared (first use this function) helper.cpp:41: (Each undeclared identifier is reported only once for each function it appears in.) helper.cpp:41: parse error before `::' Along with more. The problem I have is that 'grep -r ios_base /usr/include/' does not return any results at all. It seems that the ios_base class does not exist on redhat 7.3 Is there anything I can do about this? |
Author: | hege [ 31 Mar 2006 14:53 ] |
Post subject: | |
What is your g++ version? I think you need atleast 3.2. # g++ --version (And honestly, I don't think it would hurt upgrading the whole distribution to some less older..) Cheers, Henrik |
Author: | Guest [ 31 Mar 2006 16:55 ] |
Post subject: | |
I have gcc 2.96 UnNfortunately this is a remote server and I cannot easily upgrade it - it is running securely and stably up til now. |
Page 1 of 1 | All times are UTC + 2 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |