ELDK/DENX linking fails for <iostream>
Hi,
when I try to link (after successful compile), I get the following type of errors (for example):
...
undefined reference to 'std::allocator<char>::allocator[in-charge]()'
...
undefined reference to '__cxa_allocate_exception'
...
Can someone explain what happens?
thx
Peter
Signature · 2 lines
+++ Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS +++ GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail
Quoted 2 lines · In message <[email protected]> you wrote:
when I try to link (after successful compile), I get the following type of
How exactly are you trying to link?
Quoted 7 lines
errors (for example):
...
undefined reference to 'std::allocator<char>::allocator[in-charge]()'
...
undefined reference to '__cxa_allocate_exception'
...
Can someone explain what happens?
This is most probably a usage error. But you don't provide enough information.
Please show us the EXACT commands you're using, and provide a (simple) example that shows the problem.
Best regards,
Wolfgang Denk
Signature · 6 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] I don't mind criticism. You know me. I've never been one to take offence at criticism. No one could say I'm the sort to take offence at criticism -- Not twice, anyway. Not without blowing bubbles. - Terry Pratchett, _Witches Abroad_