Hello! I'm trying to compile fsa on: Debian 2.2.20 (woody) with gcc 3.4. Platform: PC. I get such errors: make[1]: Entering directory `/home/marcin/PTX/fsa/fsa-0.9.1/src' ../Rules.make:99: warning: overriding commands for target `install' Makefile:30: warning: ignoring old commands for target `install' make -C Core libSprintCore.linux-intel-standard.a make[2]: Entering directory `/home/marcin/PTX/fsa/fsa-0.9.1/src/Core' compiling Configuration.cc Configuration.cc:111:2: warning: #warning is a GCC extension Configuration.cc:111:2: warning: #warning "Configuration::Resource::match() fails to match *.A.B with A.A.B !" Configuration.cc: In member function `s32 Core::Configuration::Resource::match(const std::vector<std::string, std::allocator<std::string> >&) const': Configuration.cc:115: error: `StringTokenizer' undeclared in namespace `ost' Configuration.cc:115: error: parse error before `(' token Configuration.cc:116: error: no class template named `StringTokenizer' in `ost' Configuration.cc:116: error: parse error before `=' token Configuration.cc:116: error: `token' undeclared (first use this function) Configuration.cc:116: error: (Each undeclared identifier is reported only once for each function it appears in.) Configuration.cc:116: error: `tokenizer' undeclared (first use this function) Configuration.cc: In member function `const Core::Configuration::Resource* Core::Configuration::ResourceDataBase::find(const std::string&) const': Configuration.cc:246: error: `StringTokenizer' undeclared in namespace `ost' Configuration.cc:246: error: parse error before `(' token Configuration.cc:247: error: no class template named `StringTokenizer' in `ost' Configuration.cc:247: error: parse error before `=' token make[2]: *** [.build/linux-intel-standard/Configuration.o] Error 1 make[2]: Leaving directory `/home/marcin/PTX/fsa/fsa-0.9.1/src/Core' make[1]: *** [Core] Error 2 make[1]: Leaving directory `/home/marcin/PTX/fsa/fsa-0.9.1/src' make: *** [build] Error 2 I'm not feeling up to look into that code. Maybe I'm making some trivial mistake here, any suggestions? Marcin Szkudlarek
On Sat, 18 Dec 2004, Marcin Szkudlarek wrote:
Hello!
I'm trying to compile fsa on: Debian 2.2.20 (woody) with gcc 3.4. Platform: PC. I get such errors:
Hello, I had the same problem. gcc 3.4. does not compile the library. The principles concerning the visibility of base class component's in derived class templates has changed in gcc 3.4. I do not know if there exists an option for gcc 3.4. to make it apply the old principles. I have succesfully compiled the library with gcc-3.3.2-6. Also, I had to install several packages not mentioned in the RWTH FSA README file: gcc-f77-3.3.2-6 lapack-3.0-11 (I am not sure if this one is necessary) liblapack3-3.0-11 libblas3-3.0-11 Good luck! Tomasz Obrebski
make[1]: Entering directory `/home/marcin/PTX/fsa/fsa-0.9.1/src' ../Rules.make:99: warning: overriding commands for target `install' Makefile:30: warning: ignoring old commands for target `install' make -C Core libSprintCore.linux-intel-standard.a make[2]: Entering directory `/home/marcin/PTX/fsa/fsa-0.9.1/src/Core' compiling Configuration.cc Configuration.cc:111:2: warning: #warning is a GCC extension Configuration.cc:111:2: warning: #warning "Configuration::Resource::match() fails to match *.A.B with A.A.B !" Configuration.cc: In member function `s32 Core::Configuration::Resource::match(const std::vector<std::string, std::allocator<std::string> >&) const': Configuration.cc:115: error: `StringTokenizer' undeclared in namespace `ost' Configuration.cc:115: error: parse error before `(' token Configuration.cc:116: error: no class template named `StringTokenizer' in `ost' Configuration.cc:116: error: parse error before `=' token Configuration.cc:116: error: `token' undeclared (first use this function) Configuration.cc:116: error: (Each undeclared identifier is reported only once for each function it appears in.) Configuration.cc:116: error: `tokenizer' undeclared (first use this function) Configuration.cc: In member function `const Core::Configuration::Resource* Core::Configuration::ResourceDataBase::find(const std::string&) const': Configuration.cc:246: error: `StringTokenizer' undeclared in namespace `ost' Configuration.cc:246: error: parse error before `(' token Configuration.cc:247: error: no class template named `StringTokenizer' in `ost' Configuration.cc:247: error: parse error before `=' token make[2]: *** [.build/linux-intel-standard/Configuration.o] Error 1 make[2]: Leaving directory `/home/marcin/PTX/fsa/fsa-0.9.1/src/Core' make[1]: *** [Core] Error 2 make[1]: Leaving directory `/home/marcin/PTX/fsa/fsa-0.9.1/src' make: *** [build] Error 2
I'm not feeling up to look into that code. Maybe I'm making some trivial mistake here, any suggestions?
Marcin Szkudlarek
_______________________________________________ fsa mailing list fsa@lists.rwth-aachen.de http://mailman.rwth-aachen.de/mailman/listinfo/fsa
Hi! I answer both mails of you two at once. On Monday 20 December 2004 12:04, obrebski@amu.edu.pl wrote:
On Sat, 18 Dec 2004, Marcin Szkudlarek wrote:
I'm trying to compile fsa on: Debian 2.2.20 (woody) with gcc 3.4. Platform: PC. I get such errors:
I had the same problem. gcc 3.4. does not compile the library. The principles concerning the visibility of base class component's in derived class templates has changed in gcc 3.4. I do not know if there exists an option for gcc 3.4. to make it apply the old principles.
We will soon start porting fsa to gcc 3.4 (which shouldn't be a big problem). It shouldn't be a big problem, but gcc 3.4 is more different from 3.3.x than 3.3.x was from 3.[012].x.
I have succesfully compiled the library with gcc-3.3.2-6. Also, I had to install several packages not mentioned in the RWTH FSA README file:
gcc-f77-3.3.2-6 lapack-3.0-11 (I am not sure if this one is necessary) liblapack3-3.0-11 libblas3-3.0-11
Please try out the latest release, version 0.9.1. The dependence on lapack has been removed in the meanwhile. It was in the Makefiles by accident and is NOT used by fsa.
make[1]: Entering directory `/home/marcin/PTX/fsa/fsa-0.9.1/src' ../Rules.make:99: warning: overriding commands for target `install' Makefile:30: warning: ignoring old commands for target `install' make -C Core libSprintCore.linux-intel-standard.a make[2]: Entering directory `/home/marcin/PTX/fsa/fsa-0.9.1/src/Core' compiling Configuration.cc Configuration.cc:111:2: warning: #warning is a GCC extension Configuration.cc:111:2: warning: #warning "Configuration::Resource::match() fails to match *.A.B with A.A.B !" Configuration.cc: In member function `s32 Core::Configuration::Resource::match(const std::vector<std::string, std::allocator<std::string> >&) const': Configuration.cc:115: error: `StringTokenizer' undeclared in namespace `ost'
....
I'm not feeling up to look into that code. Maybe I'm making some trivial mistake here, any suggestions?
Looks like your installed version of CommonC++ is either incompatible with your version of g++ or StringTokenizer has been renamed or removed. What version of CommonC++ do you use? Cheers, Stephan
participants (3)
-
Marcin Szkudlarek
-
obrebski@amu.edu.pl
-
Stephan Kanthak