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,
                 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,




I never even opened any c++ library file before getting this error.

But if I analyse the  /opt/eldk/ppc_4xx/usr/include/c++/4.2.2/bits/stringfwd.h 
file , I see a #include <bits/c++config.h> whereas there is no c++config.h at 
all, I don't really understand ...

It would be grateful if anybody could give me an advice to define the exact 
nature of the problem.


Thanks you 

Regards

Thibault
                                          
_______________________________________________
eldk mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/eldk

Reply via email to