compiling problems with fedora core 3 / gcc 3.4.2
in english this time (and no attachment ;) ) System: Linux/Fedora Core 3 FSA version : 0.9.1 Compiler version : 3.4.2 As fsa does not compile as is (1st error log), i tryed to modify the involved lines as suggested by the compiler. This leads in crashing the compiler (2nd error log). By the way, since then, FSA worked fine on an other computer with Ubuntu/GCC 3.3. So, I am planning to replace FC3 with Ubuntu. I also explored the python bindings (the thing i am really interested in) but it does not seem to be possible to manipulate arcs and states directly. Is this functionnaliry planned in next versions ? Benoit. $ g++ -v Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) $ make Rules.make:99: warning: overriding commands for target `install' Makefile:43: warning: ignoring old commands for target `install' ******************************************************************************** Project: The RWTH FSA Toolkit ******************************************************************************** --- snip --- make -C src build make[1]: Entering directory `/local/favre/devel/python/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 `/local/favre/devel/python/fsa-0.9.1/src/Core' compiling Application.cc In file included from ../../src/Core/TextStream.hh:24, from XmlStream.hh:26, from Configuration.hh:21, from Configurable.hh:20, from Component.hh:21, from Application.hh:22, from Application.cc:21: ../../src/Core/Types.hh:79: error: an explicit specialization must be preceded by 'template <>' In file included from Channel.hh:21, from Component.hh:22, from Application.hh:22, from Application.cc:21: ../../src/Core/Hash.hh:19:30: ext/stl_hash_fun.h: No such file or directory Application.cc:220:2: warning: #warning is a GCC extension Application.cc:220:2: warning: #warning "This is a workaround for possible bug in LIBC 2.3.2. We are waiting for an answer on our bug report." make[2]: *** [.build/linux-intel-standard/Application.o] Error 1 make[2]: Leaving directory `/local/favre/devel/python/fsa-0.9.1/src/Core' make[1]: *** [Core] Error 2 make[1]: Leaving directory `/local/favre/devel/python/fsa-0.9.1/src' make: *** [build] Error 2 $ vi src/Core/Types.hh < src/Core/Types.hh:79 class NameHelper<std::string> : public std::string {
src/Core/Types.hh:79 template <> class NameHelper<std::string> : public std::string {
$ vi src/Core/Hash.hh < src/Core/Hash.hh:19 #include <ext/stl_hash_fun.h>
src/Core/Hash.hh:19 #include <ext/hash_fun.h>
$ make Rules.make:99: warning: overriding commands for target `install' Makefile:43: warning: ignoring old commands for target `install' ******************************************************************************** Project: The RWTH FSA Toolkit ******************************************************************************** --- snip --- make -C src build make[1]: Entering directory `/local/favre/devel/python/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 `/local/favre/devel/python/fsa-0.9.1/src/Core' compiling BinaryStream.cc BinaryStream.cc:20:2: warning: #warning is a GCC extension BinaryStream.cc:20:2: warning: #warning "CodeSmell: wrapper and file stream roles should be separated: BinaryWriter/Reader vs. BinaryStream" BinaryStream.cc:105: warning: specialization of `template<class T> bool Core::BinaryOutputStream::write(const T*, std::streamsize)' in different namespace BinaryStream.hh:136: warning: from definition of `template<class T> bool Core::BinaryOutputStream::write(const T*, std::streamsize)' BinaryStream.cc: In member function `bool Core::BinaryOutputStream::write(const T*, std::streamsize) [with T = bool]': BinaryStream.cc:106: internal compiler error: in comptypes, at cp/typeck.c:932 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccArjCeU.out file, please attach this to your bugreport. make[2]: *** [.build/linux-intel-standard/BinaryStream.o] Error 1 make[2]: Leaving directory `/local/favre/devel/python/fsa-0.9.1/src/Core' make[1]: *** [Core] Error 2 make[1]: Leaving directory `/local/favre/devel/python/fsa-0.9.1/src' make: *** [build] Error 2
participants (1)
-
Benoit Favre