unresolved dso_handle and aeabi_atexit
| Fri, 2006-04-07 15:53 | |
|
Hello,
I'm building an application for Symbian OS9.1 using Series60 SDKv3 GCCE compiler. I get two errors on linking: Link Error : (.text+0xb8): undefined reference to `__aeabi_atexit' Link Error : (.text+0xe0): undefined reference to `__dso_handle' I can't find anything on those functions. Any hint? Ahti. |
|






Forum posts: 16
Per aspera ad astra
Forum posts: 47
damn, the problem is gone for me but I'm in trouble in remembering what exactlyI did
It must be something in toolchain or in compiler/linker settings etc ...
Ahti.
Forum posts: 32
Forum posts: 1
If you use a simple static variable such as:
static TInt intVar;
static CImageDecoder* classPointerVar;
Then everything is fine.
If you try something like this:
class CDummyClass;
static CDummyClass;
class CDummyClass
{
// Class declaration
}
Then you will get those errors. In some situations it seems that the compiler is not generating the code to automatically cleanup the statics when the program exits.
I've been using Carbide and carbide has this issue. Compiling form the command line doesn't show this problem.
Reply With Quote