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

    > But as per project requirement those definition section should not used in this particular part of code.

    As far as the tools are concerned they *are* used, and you are telling the tools that they are exported (if the symbol of the function is not marked as static). So the tools cannot optimize this function out.

    > It would be a great help if some body provide the actual switch to eliminate the above

    I'm not sure there is a "magic" switch to make this error go away - it's a fatal error, and what you are trying to achieve isn't really how a typical compiler and linker is designed to work...
Reply
  • Note: This was originally posted on 6th July 2009 at http://forums.arm.com

    > But as per project requirement those definition section should not used in this particular part of code.

    As far as the tools are concerned they *are* used, and you are telling the tools that they are exported (if the symbol of the function is not marked as static). So the tools cannot optimize this function out.

    > It would be a great help if some body provide the actual switch to eliminate the above

    I'm not sure there is a "magic" switch to make this error go away - it's a fatal error, and what you are trying to achieve isn't really how a typical compiler and linker is designed to work...
Children
No data