Re: Error in c++ libraries ?
Detlev Zundel <
dzu@...>
2011-03-24 13:33:02 GMT
Hi Thibault,
> Hello
>
> I recently tried to build a XML-parser for an embedded linux (on ppc440) target using the ELDK g++ cross
compiler (version 4.2.2).
>
> This is an extract of what we get during the building process :
>
> /home/pi21/eldklinux/ppc_4xx/usr/include/c++/4.2.2/bits/stringfwd.h:46: error: expected
constructor, destructor, or type conversion before '(' token
> /home/pi21/eldklinux/ppc_4xx/usr/include/c++/4.2.2/bits/stringfwd.h:55: error: expected
type-specifier before 'allocator'
> /home/pi21/eldklinux/ppc_4xx/usr/include/c++/4.2.2/bits/stringfwd.h:55: error: expected '>'
before 'allocator'
> /home/pi21/eldklinux/ppc_4xx/usr/include/c++/4.2.2/bits/stringfwd.h:60: error: template
argument 3 is invalid
> /home/pi21/eldklinux/ppc_4xx/usr/include/c++/4.2.2/bits/stringfwd.h:60: error: invalid type
in declaration before ';' token
> /home/pi21/eldklinux/ppc_4xx/usr/include/c++/4.2.2/bits/stringfwd.h:68: error:
'_GLIBCXX_END_NAMESPACE' does not name a type
> In file included from /home/pi21/eldklinux/ppc_4xx/usr/include/c++/4.2.2/cstring:51,
> from /home/pi21/eldklinux/ppc_4xx/usr/include/c++/4.2.2/bits/char_traits.h:45,
> from /home/pi21/eldklinux/ppc_4xx/usr/include/c++/4.2.2/string:47,
> from /home/pi21/Téléchargements/xsde-3.2.0-i686-linux-gnu/libxsde/xsde/cxx/ro-string.hxx:14,
> [...]
>
> /home/pi21/eldklinux/ppc_4xx/usr/include/c++/4.2.2/cstddef:58: error:
'_GLIBCXX_END_NAMESPACE' does not name a type
> In file included from /home/pi21/eldklinux/ppc_4xx/usr/include/c++/4.2.2/bits/char_traits.h:45,
(Continue reading)