I am running Fedora 10 and have been trying to compile & install a program by using the included make file, but I got a bunch of errors. The make file specifies g++ 4.3.2. The codes are old to some extent so I'm afraid those are not supported by this version. Here is my error: /bin/sh /root/Desktop/swaddler/swaddler-src/libtool --mode=compile g++ -I../libAnomaly/include -I. -I/root/Desktop/swaddler/swaddler-src -DPHP_ATOM_INC -I/root/Desktop/swaddler/swaddler-src/include -I/root/Desktop/swaddler/swaddler-src/main -I/root/Desktop/swaddler/swaddler-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/php -DHAVE_CONFIG_H -g -O2 -c /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp -o php_anomaly/analyzer.lo g++ -I../libAnomaly/include -I. -I/root/Desktop/swaddler/swaddler-src -DPHP_ATOM_INC -I/root/Desktop/swaddler/swaddler-src/include -I/root/Desktop/swaddler/swaddler-src/main -I/root/Desktop/swaddler/swaddler-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/php -DHAVE_CONFIG_H -g -O2 -c /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp -fPIC -DPIC -o php_anomaly/.libs/analyzer.o In file included from /usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/hash_map:64, from /usr/local/include/anomaly.h:34, from /root/Desktop/swaddler/swaddler-src/php_anomaly/phpEvent.hpp:4, from /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.hpp:4, from /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:1: /usr/lib/gcc/i386-redhat-linux/4.3.2/../../../../include/c++/4.3.2/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. In file included from /root/Desktop/swaddler/swaddler-src/php_anomaly/profile.hpp:5, from /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.hpp:5, from /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:1: /root/Desktop/swaddler/swaddler-src/php_anomaly/varsModel.hpp:21: error: expected type-specifier before ‘ModelableException’ /root/Desktop/swaddler/swaddler-src/php_anomaly/varsModel.hpp:21: error: expected `)' before ‘ModelableException’ /root/Desktop/swaddler/swaddler-src/php_anomaly/varsModel.hpp:21: error: expected ‘;’ before ‘ModelableException’ /root/Desktop/swaddler/swaddler-src/php_anomaly/varsModel.hpp:22: error: expected type-specifier before ‘ModelableException’ /root/Desktop/swaddler/swaddler-src/php_anomaly/varsModel.hpp:22: error: expected `)' before ‘ModelableException’ /root/Desktop/swaddler/swaddler-src/php_anomaly/varsModel.hpp:22: error: expected ‘;’ before ‘ModelableException’ /root/Desktop/swaddler/swaddler-src/php_anomaly/varsModel.hpp:23: error: expected type-specifier before ‘ModelableException’ /root/Desktop/swaddler/swaddler-src/php_anomaly/varsModel.hpp:23: error: expected `)' before ‘ModelableException’ /root/Desktop/swaddler/swaddler-src/php_anomaly/varsModel.hpp:23: error: expected ‘;’ before ‘ModelableException’ In file included from /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.hpp:5, from /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:1: /root/Desktop/swaddler/swaddler-src/php_anomaly/profile.hpp:14: error: redefinition of ‘class Profile’ /usr/local/include/libAnomaly/profile.h:40: error: previous definition of ‘class Profile’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp: In member function ‘void Analyzer::setMode(Analyzer::Mode)’: /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:170: error: ‘class Profile’ has no member named ‘lock’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:171: error: ‘class Profile’ has no member named ‘switchMode’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:172: error: ‘class Profile’ has no member named ‘unlock’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:179: error: ‘class Profile’ has no member named ‘unlock’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp: In member function ‘void Analyzer::createModel(uint32_t, Profile*, StringItem*, std::string)’: /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:213: error: ‘class Profile’ has no member named ‘_addModelFeatureMapping’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:214: error: ‘class Model’ has no member named ‘setName’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp: In member function ‘Profile* Analyzer::createProfile(PhpEvent*)’: /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:225: error: cannot allocate an object of abstract type ‘Profile’ /usr/local/include/libAnomaly/profile.h:40: note: because the following virtual functions are pure within ‘Profile’: /usr/local/include/libAnomaly/profile.h:52: note: virtual void Profile::addModelFeatureMapping(Model*, int) /usr/local/include/libAnomaly/profile.h:64: note: virtual void Profile::addModelFeatureMapping(Model*, ListCollection*) /usr/local/include/libAnomaly/profile.h:70: note: virtual void Profile::toString() /usr/local/include/libAnomaly/profile.h:81: note: virtual void Profile::insert_item(ListCollection*) /usr/local/include/libAnomaly/profile.h:87: note: virtual void Profile::switch_mode(Model::ModelMode) /usr/local/include/libAnomaly/profile.h:100: note: virtual double Profile::check_item(ListCollection*) /usr/local/include/libAnomaly/profile.h:114: note: virtual ListCollection* Profile::check_item_individual_model_scores(ListCollection*) /usr/local/include/libAnomaly/profile.h:137: note: virtual double Profile::check_item_deep(ListCollection*, ListCollection*) /usr/local/include/libAnomaly/profile.h:139: note: virtual Model* Profile::get_model(unsigned int) /usr/local/include/libAnomaly/profile.h:140: note: virtual unsigned int Profile::get_number_of_models() /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:247: error: cannot allocate an object of abstract type ‘VarsModel’ /root/Desktop/swaddler/swaddler-src/php_anomaly/varsModel.hpp:15: note: because the following virtual functions are pure within ‘VarsModel’: /usr/local/include/libAnomaly/model.h:69: note: virtual void Model::insert_item(Item*) /usr/local/include/libAnomaly/model.h:76: note: virtual void Model::switch_mode(Model::ModelMode) /usr/local/include/libAnomaly/model.h:84: note: virtual double Model::check_item(Item*) /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:248: error: ‘class Profile’ has no member named ‘addVarsModel’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp: In member function ‘void Analyzer::processTraining(PhpEvent*)’: /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:267: error: ‘class Profile’ has no member named ‘lock’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:269: error: ‘class Profile’ has no member named ‘unlock’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:276: error: ‘class Profile’ has no member named ‘lock’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:277: error: ‘class Profile’ has no member named ‘insertItem’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:278: error: ‘class Profile’ has no member named ‘unlock’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:282: error: ‘class Profile’ has no member named ‘unlock’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp: In member function ‘void Analyzer::normalize(PhpEvent*, Profile*)’: /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:294: error: ‘class Profile’ has no member named ‘getNumVars’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:325: error: ‘class Profile’ has no member named ‘getNumVars’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:345: error: ‘class Profile’ has no member named ‘getNumVars’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp: In member function ‘void Analyzer::processThreshold(PhpEvent*)’: /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:373: error: ‘class Profile’ has no member named ‘lock’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:375: error: ‘class Profile’ has no member named ‘checkItem’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:376: error: ‘class Profile’ has no member named ‘unlock’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:392: error: ‘class Profile’ has no member named ‘unlock’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp: In member function ‘int Analyzer::processDetection(PhpEvent*)’: /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:412: error: ‘class Profile’ has no member named ‘lock’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:414: error: ‘class Profile’ has no member named ‘checkItem’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:415: error: ‘class Profile’ has no member named ‘unlock’ /root/Desktop/swaddler/swaddler-src/php_anomaly/analyzer.cpp:431: error: ‘class Profile’ has no member named ‘unlock’ make: *** [php_anomaly/analyzer.lo] Error 1 It seems to me the errors might be due to the lack of some of the headers, In addition of the version of gcc, how can I overcome of errors? BR, Zahra -- View this message in context: http://www.nabble.com/Error-while-installing-a-program-tp24619924p24619924.html Sent from the gcc - Help mailing list archive at Nabble.com.