From: Bryan H. <hb...@us...> - 2008-02-06 18:37:13
|
>AFAIK is the GNU C++ Compiler v4.0.0 - meaning the stdlibc++ - from the Toolbox is broken. Couldn't it also be that stdlibc++ is fine and the 'gcc' program just isn't including it in the link? 'gcc --verbose hw.cpp' would tell. A manual 'ld' would distinguish as well. I don't know about these things because I normally use a custom configuration, but aren't Gcc users normally supposed to use 'g++' instead of 'gcc' to compile C++, just so they can get the C++ library in the search paths? In any case, I don't think the xerces-c++ problem is related to this, because its only undefined symbol is 'vtable', and that particular undefined symbol error is well known for being obtuse. I can never remember, but the problem is something like you declared a virtual method but didn't define it. And Jupiter is in retrograde. |