This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

armlink Error: L6218E: Undefined symbol...

Parents
  • Note: This was originally posted on 6th July 2009 at http://forums.arm.com

    Well, ... there is a compiler command line switch, "--split_sections", which causes it to put every function in its own section in the output object.

    If a function is not used the linker can then eliminate the whole section - which might work in your case.


    This *will* slow down your code, but might achieve what you want. If you want to fix the issue without the code slow down then see my first post about fixing the code - either via making functions static (and allowing internal optimization within the section), or by removing them from the compile completely. =)


    Well I have tried this option but sorry to say it's not working :(
Reply
  • Note: This was originally posted on 6th July 2009 at http://forums.arm.com

    Well, ... there is a compiler command line switch, "--split_sections", which causes it to put every function in its own section in the output object.

    If a function is not used the linker can then eliminate the whole section - which might work in your case.


    This *will* slow down your code, but might achieve what you want. If you want to fix the issue without the code slow down then see my first post about fixing the code - either via making functions static (and allowing internal optimization within the section), or by removing them from the compile completely. =)


    Well I have tried this option but sorry to say it's not working :(
Children
No data