can't resolve symbol __cxa_atexit
Denys Vlasenko
vda.linux at googlemail.com
Mon Nov 17 13:48:39 UTC 2008
On Monday 17 November 2008 08:27, Чинков Андрей wrote:
> 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 ?
This should be our question to you - do you have a program
which we can see and which produces this error?
What is your uclibc's .config?
What is your gcc's configure flags?
Does it happen with same .config on x86?
--
vda
More information about the uClibc
mailing list