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

    You could just create and link with an additional C file/object that provides stubs for the non-existent functions your other C files are importing, e.g.

    int temp(void) { return 0; }
    int temp2(void) { return 0; }
    int temp3(void) { return 0; }


    hth
    s.


    Well let me put it in this way this temp function do have definitions in separate module. But as per project requirement those definition section should not used in this particular part of code. So, my requirement is to find an appropriate compiler switch to make the given code to be compilable without the linker error.
Reply
  • Note: This was originally posted on 6th July 2009 at http://forums.arm.com

    You could just create and link with an additional C file/object that provides stubs for the non-existent functions your other C files are importing, e.g.

    int temp(void) { return 0; }
    int temp2(void) { return 0; }
    int temp3(void) { return 0; }


    hth
    s.


    Well let me put it in this way this temp function do have definitions in separate module. But as per project requirement those definition section should not used in this particular part of code. So, my requirement is to find an appropriate compiler switch to make the given code to be compilable without the linker error.
Children
No data