Runtime problem with __cxa_atexit function

Чинков Андрей blackmesa at rambler.ru
Mon Nov 17 07:39:41 UTC 2008


Hi.

I am interested what does the message "a.out: can't resolve symbol
__cxa_atexit" mean?

I try to compile s11n C++ serialization framework for mipsel target
platform.
It compiles and builds OK but when I run my a.out I get this message:
"a.out: can't resolve symbol __cxa_atexit".

My questions are:

What does this message mean?
How have I to configure GCC and uClibc to avoid this message?

PS: I have to say that test C++ code like that

#include <string>
int main()
{
    std::styring str = ""asdasd";
    printf(str.c_str());
    return 1;
}

runs OK on my mipsel platform.

So one more question:
What code can lead to generate this message ?

Thanks in advance)



More information about the uClibc mailing list