Subject | Re: Firebird-Server (1.03) crashes regularly |
---|---|
Author | josef_gschwendtner |
Post date | 2005-08-02T15:47:28Z |
Hi,
is Firebird 1.5.2 compilable with g++/gcc 2.96?
We tried it, and you can read the messages at the end of this mail.
Regards,
Josef Gschwendtner
--- In firebird-support@yahoogroups.com, Milan Babuskov <milanb@k...>
wrote:
mcpu=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -
pipe -MMD fPIC
-DPROD_BUILD -c ../src/common/config/config.cpp -
o ../temp/libfbcommon/common/config/config.o
In file included from ../src/common/config/config.h:29,
from ../src/common/config/config.cpp:28:
../src/include/fb_string.h:31: `::char_traits' undeclared (first use
here)
../src/include/fb_string.h:31: parse error before `>'
In file included from ../src/common/config/config_impl.h:33,
from ../src/common/config/config.cpp:29:
../src/common/config/config_file.h:54: ISO C++ forbids declaration of
`string' with no type
../src/common/config/config_file.h:54: parse error before `;'
../src/common/config/config_file.h:88: type specifier omitted for
parameter
../src/common/config/config_file.h:88: parse error before `&'
../src/common/config/config_file.h:89: type specifier omitted for
parameter
../src/common/config/config_file.h:89: `int' is not an aggregate type
In file included from ../src/common/config/config_impl.h:34,
from ../src/common/config/config.cpp:29:
../src/jrd/os/config_root.h:52: ISO C++ forbids declaration of
`string' with no type
../src/jrd/os/config_root.h:52: parse error before `;'
In file included from ../src/common/config/config.cpp:29:
../src/common/config/config_impl.h:45: ISO C++ forbids declaration of
`string' with no type
../src/common/config/config_impl.h:45: parse error before `;'
../src/common/config/config.cpp:38: syntax error before `;'
../src/common/config/config.cpp: In method `ConfigImpl::ConfigImpl
()':
../src/common/config/config.cpp:164: cannot convert `const char *' to
`int' in initialization
../src/common/config/config.cpp:165: no matching function for call to
`ConfigFile::setConfigFile (const char *)'
../src/common/config/config_file.h:73: candidates are: void
ConfigFile::setConfigFile (const int &)
../src/common/config/config.cpp:174: request for member `length' in
`value', which is of non-aggregate type `int'
../src/common/config/config.cpp: At top level:
../src/common/config/config.cpp:230: new declaration `static string
ConfigImpl::getValue (ConfigFile &, char *)'
../src/common/config/config_impl.h:68: ambiguates old declaration
`static int ConfigImpl::getValue (ConfigFile &, char *)'
../src/common/config/config.cpp: In function `string
ConfigImpl::getValue (ConfigFile &, char *)':
../src/common/config/config.cpp:231: no matching function for call to
`ConfigFile::doesKeyExist (char *&)'
../src/common/config/config_file.h:81: candidates are: bool
ConfigFile::doesKeyExist (const int &)
../src/common/config/config.cpp:231: no matching function for call to
`ConfigFile::getString (char *&)'
../src/common/config/config_file.h:82: candidates are: int
ConfigFile::getString (const int &)
../src/common/config/config.cpp: In function `int
ConfigImpl::asInteger (const int &)':
../src/common/config/config.cpp:236: request for member `data' in
`value', which is of non-aggregate type `int'
../src/common/config/config.cpp: In function `bool
ConfigImpl::asBoolean (const int &)':
../src/common/config/config.cpp:241: request for member `data' in
`value', which is of non-aggregate type `int'
../src/common/config/config.cpp: In function `const char
*ConfigImpl::asString (const int &)':
../src/common/config/config.cpp:246: request for member `c_str' in
`value', which is of non-aggregate type `int'
make[3]: *** [../temp/libfbcommon/common/config/config.o] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis »/home/firebird-
1.5.2.4731/src«
make[2]: *** [libfbcommon] Fehler 2
make[2]: Verlassen des Verzeichnisses Verzeichnis »/home/firebird-
1.5.2.4731/src«
make[1]: *** [../gen/firebird/bin/gpre_static] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis »/home/firebird-
1.5.2.4731/src«
make: *** [firebird] Fehler 2
[root@TUX firebird-1.5.2.4731]# g++ --version
2.96
[root@TUX firebird-1.5.2.4731]# gcc --version
2.96
is Firebird 1.5.2 compilable with g++/gcc 2.96?
We tried it, and you can read the messages at the end of this mail.
Regards,
Josef Gschwendtner
--- In firebird-support@yahoogroups.com, Milan Babuskov <milanb@k...>
wrote:
> josef_gschwendtner wrote:more
> > Question is how to compile Firebird 1.5.2 for Linux 7.2?
>
> Have you actually tried? It's not like you need a week to do it,
> like couple of hours. Try it, and see if it works. If it does not,system).
> copy/paste the errors you get here, and we'll try to solve them.
>
> You should be able to build, even if it means setting up some
> environment first (in user-space, so you don't even touch the
>g++ -I../src/include/gen -I../src/include -ggdb -O3 -march=i586 -
> --
> Milan Babuskov
> http://www.flamerobin.org
mcpu=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -
pipe -MMD fPIC
-DPROD_BUILD -c ../src/common/config/config.cpp -
o ../temp/libfbcommon/common/config/config.o
In file included from ../src/common/config/config.h:29,
from ../src/common/config/config.cpp:28:
../src/include/fb_string.h:31: `::char_traits' undeclared (first use
here)
../src/include/fb_string.h:31: parse error before `>'
In file included from ../src/common/config/config_impl.h:33,
from ../src/common/config/config.cpp:29:
../src/common/config/config_file.h:54: ISO C++ forbids declaration of
`string' with no type
../src/common/config/config_file.h:54: parse error before `;'
../src/common/config/config_file.h:88: type specifier omitted for
parameter
../src/common/config/config_file.h:88: parse error before `&'
../src/common/config/config_file.h:89: type specifier omitted for
parameter
../src/common/config/config_file.h:89: `int' is not an aggregate type
In file included from ../src/common/config/config_impl.h:34,
from ../src/common/config/config.cpp:29:
../src/jrd/os/config_root.h:52: ISO C++ forbids declaration of
`string' with no type
../src/jrd/os/config_root.h:52: parse error before `;'
In file included from ../src/common/config/config.cpp:29:
../src/common/config/config_impl.h:45: ISO C++ forbids declaration of
`string' with no type
../src/common/config/config_impl.h:45: parse error before `;'
../src/common/config/config.cpp:38: syntax error before `;'
../src/common/config/config.cpp: In method `ConfigImpl::ConfigImpl
()':
../src/common/config/config.cpp:164: cannot convert `const char *' to
`int' in initialization
../src/common/config/config.cpp:165: no matching function for call to
`ConfigFile::setConfigFile (const char *)'
../src/common/config/config_file.h:73: candidates are: void
ConfigFile::setConfigFile (const int &)
../src/common/config/config.cpp:174: request for member `length' in
`value', which is of non-aggregate type `int'
../src/common/config/config.cpp: At top level:
../src/common/config/config.cpp:230: new declaration `static string
ConfigImpl::getValue (ConfigFile &, char *)'
../src/common/config/config_impl.h:68: ambiguates old declaration
`static int ConfigImpl::getValue (ConfigFile &, char *)'
../src/common/config/config.cpp: In function `string
ConfigImpl::getValue (ConfigFile &, char *)':
../src/common/config/config.cpp:231: no matching function for call to
`ConfigFile::doesKeyExist (char *&)'
../src/common/config/config_file.h:81: candidates are: bool
ConfigFile::doesKeyExist (const int &)
../src/common/config/config.cpp:231: no matching function for call to
`ConfigFile::getString (char *&)'
../src/common/config/config_file.h:82: candidates are: int
ConfigFile::getString (const int &)
../src/common/config/config.cpp: In function `int
ConfigImpl::asInteger (const int &)':
../src/common/config/config.cpp:236: request for member `data' in
`value', which is of non-aggregate type `int'
../src/common/config/config.cpp: In function `bool
ConfigImpl::asBoolean (const int &)':
../src/common/config/config.cpp:241: request for member `data' in
`value', which is of non-aggregate type `int'
../src/common/config/config.cpp: In function `const char
*ConfigImpl::asString (const int &)':
../src/common/config/config.cpp:246: request for member `c_str' in
`value', which is of non-aggregate type `int'
make[3]: *** [../temp/libfbcommon/common/config/config.o] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis »/home/firebird-
1.5.2.4731/src«
make[2]: *** [libfbcommon] Fehler 2
make[2]: Verlassen des Verzeichnisses Verzeichnis »/home/firebird-
1.5.2.4731/src«
make[1]: *** [../gen/firebird/bin/gpre_static] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis »/home/firebird-
1.5.2.4731/src«
make: *** [firebird] Fehler 2
[root@TUX firebird-1.5.2.4731]# g++ --version
2.96
[root@TUX firebird-1.5.2.4731]# gcc --version
2.96