Another Squid problem, this time with havp

acidrain

Executive Member
Joined
Jan 7, 2007
Messages
6,966
Reaction score
1,765
Location
At a computer
Hi guys,

Well seems like my problems just keep on coming.

Has anyone successfully installed HAVP on Ubuntu Jaunty. I've been trying to follow this tutorial, and yes I noticed the setup makes reference for CentOS 5 but it's the only thorough guide I could find.

My problem comes when I try to make the file, I get the following error:
Code:
jono@Toady-Linux:/tmp/havp-0.87$ make                                         
cd havp && make                                                               
make[1]: Entering directory `/tmp/havp-0.87/havp'                             
g++ -g -O2 -I/usr/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o helper.o helper.cpp
helper.cpp: In function ‘void ExitProcess(int)’:                                
helper.cpp:84: error: ‘exit’ was not declared in this scope                     
helper.cpp: In function ‘int InstallSignal(int)’:                               
helper.cpp:92: error: ‘memset’ was not declared in this scope                   
helper.cpp: In function ‘bool MakeDaemon()’:                                    
helper.cpp:151: error: ‘exit’ was not declared in this scope                    
helper.cpp:156: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result                                                                    
helper.cpp: In function ‘bool HardLockTest()’:                                               
helper.cpp:170: error: ‘memset’ was not declared in this scope                               
helper.cpp:171: error: ‘strncpy’ was not declared in this scope                              
helper.cpp:173: error: ‘mkstemp’ was not declared in this scope                              
helper.cpp:175: error: ‘strerror’ was not declared in this scope                             
helper.cpp:191: error: ‘strerror’ was not declared in this scope                             
helper.cpp:222: error: ‘strerror’ was not declared in this scope                             
helper.cpp:229: error: ‘strerror’ was not declared in this scope                             
helper.cpp:238: error: ‘strerror’ was not declared in this scope                             
helper.cpp:265: error: ‘strerror’ was not declared in this scope                             
helper.cpp:267: error: ‘exit’ was not declared in this scope                                 
helper.cpp:275: error: ‘strerror’ was not declared in this scope                             
helper.cpp:277: error: ‘exit’ was not declared in this scope                                 
helper.cpp:290: error: ‘exit’ was not declared in this scope                                 
helper.cpp:294: error: ‘exit’ was not declared in this scope                                 
make[1]: *** [helper.o] Error 1                                                              
make[1]: Leaving directory `/tmp/havp-0.87/havp'                                             
make: *** [all] Error 2                                                                      
jono@Toady-Linux:/tmp/havp-0.87$

Being very new to linux and all, this is some what complete jargon to me and can't make sense of what's wrong. Googling the error returns nothing related to my install or any other for that matter. Is there maybe another alternative which is far easier to setup?

Thanks again :)

Edit: Just checked the install documentation and it doesn't mention what to do with the above problem
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X