Hi,
I have now integrated Erika in my project and try to solve linker errors. Unfortunately my breaking point is this linker error (see attachment). Do I understand it right variable EE_stkfirst is to far away from ee_activate.o? Is it a problem of near adressing? I hope someone has experience with this linker stuff.
Thanks!
Regards, Eugen
Symbol EE_stkfirst is out of address range
Moderator: paolo.gai
Symbol EE_stkfirst is out of address range
- Attachments
-
- Linker Error.png (175.05 KiB) Viewed 6572 times
Re: Symbol EE_stkfirst is out of address range
Hi,
I've solved this problem with this help http://www.tek-tips.com/viewthread.cfm?qid=1677386. _SDA_BASE_ was the problem. I just changed the .sdata with .data because the error message says something about _SDA_BASE_ and .data
As I said in other posts I only use the libee in my project. I do not use RTDruid for the whole project.
Regards, Eugen
I've solved this problem with this help http://www.tek-tips.com/viewthread.cfm?qid=1677386. _SDA_BASE_ was the problem. I just changed the .sdata with .data because the error message says something about _SDA_BASE_ and .data
Code: Select all
_SDA_BASE_ = ADDR(.data) + 0x7ff0;
__SDA_BASE_ = _SDA_BASE_;
Regards, Eugen
Re: Symbol EE_stkfirst is out of address range
it seems probably related to the fact that the crt0 you are using does not have a reference to the RAM limits... anyway i'm happy you solved the issue!
Ciao,
Paolo
Ciao,
Paolo
Re: Symbol EE_stkfirst is out of address range
Hello,
a more elegant solution would be to use
Then all stuff from eecfg.c would be related with all other code in the libee.a.
And the problem disappear :)
Regards, Eugen
a more elegant solution would be to use
Code: Select all
EE_OPT = "__NO_APP__";
EE_OPT = "EE_CONFIGURATED_LIB";
And the problem disappear :)
Regards, Eugen