I've already tried to compile it without any opimitzations, but it didn't help. As my primary IDE is anjuta and anjuta depends on glademm, it's quite important to get this working soon. Here's the error message I get, when trying to emerge glademm: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -mcpu=i686 -pipe -c CxxFile.cc i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -mcpu=i686 -pipe -c SystemFile.cc In file included from /usr/include/g++-v31/backward/strstream:51, from SystemFile.hh:24, from CxxFile.hh:29, from CxxFile.cc:23: /usr/include/g++-v31/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. In file included from /usr/include/g++-v31/backward/strstream:51, from SystemFile.hh:24, from SystemFile.cc:21: /usr/include/g++-v31/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. In file included from CxxFile.hh:29, from CxxFile.cc:23: SystemFile.hh:35: 'string' is used as a type, but is not defined as a type. SystemFile.hh:36: `vector' was not declared in this scope SystemFile.hh:36: `string' was not declared in this scope SystemFile.hh:36: syntax error before `>' token SystemFile.hh:40: syntax error before `*' token SystemFile.hh:41: syntax error before `*' token SystemFile.hh:56: parse error before `&' token In file included from SystemFile.cc:21: SystemFile.hh:35: 'string' is used as a type, but is not defined as a type. SystemFile.hh:36: `vector' was not declared in this scope SystemFile.hh:36: `string' was not declared in this scope SystemFile.hh:36: syntax error before `>' token SystemFile.hh:40: syntax error before `*' token SystemFile.hh:41: syntax error before `*' token SystemFile.hh:56: parse error before `&' token SystemFile.hh: In constructor `SystemFile::SystemFile(SystemFile*, unsigned int)': SystemFile.hh:50: `class SystemFile' has no member named `filename' SystemFile.hh:50: class `SystemFile' does not have any field named `filename' SystemFile.hh:53: `union SystemFile::<anonymous>' has no member named `os' SystemFile.hh:53: parse error before `(' token SystemFile.hh: At global scope: SystemFile.hh:61: parse error before `&' token SystemFile.hh:62: ISO C++ forbids defining types within return type SystemFile.hh:62: semicolon missing after declaration of `class SystemFile' SystemFile.hh: In function `int SystemFile(...)': SystemFile.hh:62: `name' undeclared (first use this function) SystemFile.hh:62: (Each undeclared identifier is reported only once for each function it appears in.) SystemFile.hh:64: only constructors take base initializers SystemFile.hh:64: confused by earlier errors, bailing out make[3]: *** [SystemFile.o] Error 1 make[3]: *** Waiting for unfinished jobs.... SystemFile.hh: In constructor `SystemFile::SystemFile(SystemFile*, unsigned int)': SystemFile.hh:50: `class SystemFile' has no member named `filename' SystemFile.hh:50: class `SystemFile' does not have any field named `filename' SystemFile.hh:53: `union SystemFile::<anonymous>' has no member named `os' SystemFile.hh:53: parse error before `(' token SystemFile.hh: At global scope: SystemFile.hh:61: parse error before `&' token SystemFile.hh:62: ISO C++ forbids defining types within return type SystemFile.hh:62: semicolon missing after declaration of `class SystemFile' SystemFile.hh: In function `int SystemFile(...)': SystemFile.hh:62: `name' undeclared (first use this function) SystemFile.hh:62: (Each undeclared identifier is reported only once for each function it appears in.) SystemFile.hh:64: only constructors take base initializers SystemFile.hh:64: confused by earlier errors, bailing out make[3]: *** [CxxFile.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/glademm-0.6.2/work/glademm-0.6.2/src/SourceWriter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/glademm-0.6.2/work/glademm-0.6.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/glademm-0.6.2/work/glademm-0.6.2' make: *** [all-recursive-am] Error 2 make all-recursive make[1]: Entering directory `/var/tmp/portage/glademm-0.6.2/work/glademm-0.6.2' Making all in src make[2]: Entering directory `/var/tmp/portage/glademm-0.6.2/work/glademm-0.6.2/src' Making all in SourceWriter make[3]: Entering directory `/var/tmp/portage/glademm-0.6.2/work/glademm-0.6.2/src/SourceWriter' i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -mcpu=i686 -pipe -c CxxFile.cc In file included from /usr/include/g++-v31/backward/strstream:51, from SystemFile.hh:24, from CxxFile.hh:29, from CxxFile.cc:23: /usr/include/g++-v31/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. In file included from CxxFile.hh:29, from CxxFile.cc:23: SystemFile.hh:35: 'string' is used as a type, but is not defined as a type. SystemFile.hh:36: `vector' was not declared in this scope SystemFile.hh:36: `string' was not declared in this scope SystemFile.hh:36: syntax error before `>' token SystemFile.hh:40: syntax error before `*' token SystemFile.hh:41: syntax error before `*' token SystemFile.hh:56: parse error before `&' token SystemFile.hh: In constructor `SystemFile::SystemFile(SystemFile*, unsigned int)': SystemFile.hh:50: `class SystemFile' has no member named `filename' SystemFile.hh:50: class `SystemFile' does not have any field named `filename' SystemFile.hh:53: `union SystemFile::<anonymous>' has no member named `os' SystemFile.hh:53: parse error before `(' token SystemFile.hh: At global scope: SystemFile.hh:61: parse error before `&' token SystemFile.hh:62: ISO C++ forbids defining types within return type SystemFile.hh:62: semicolon missing after declaration of `class SystemFile' SystemFile.hh: In function `int SystemFile(...)': SystemFile.hh:62: `name' undeclared (first use this function) SystemFile.hh:62: (Each undeclared identifier is reported only once for each function it appears in.) SystemFile.hh:64: only constructors take base initializers SystemFile.hh:64: confused by earlier errors, bailing out make[3]: *** [CxxFile.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/glademm-0.6.2/work/glademm-0.6.2/src/SourceWriter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/glademm-0.6.2/work/glademm-0.6.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/glademm-0.6.2/work/glademm-0.6.2' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 7, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/dev-util/glademm/glademm-0.6.2.ebuild .
*** This bug has been marked as a duplicate of 5053 ***