This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F2812: Routines Missing from Library

Part Number: TMS320F2812

Greetings,

I am building a library using compiler TI v20.2.5.LTS.  When the link with the main project occurs, it is unable to find some of the functions in the library.  Looking at one of them, it is in an assembly file which I can see was built because these is an object file for it.  But ar2000 shows that the library does not contain it, and the map file contains the following:

n/a   UNDEFED   _<missing_routine>

It is being used by routines which are outside of the library.  Is there an option which will force it to be included in the library?

Thank you,

Ed

  • ar2000 shows that the library does not contain it

    By "it", I presume you mean this object file ...

    an assembly file which I can see was built because these is an object file for it

    Look at the invocation of ar2000 which creates the library.  Is that object file among the inputs?

    Thanks and regards,

    -George

  • Hi George,

                    I have figured out most of the link issues.  They stemmed from the fact that the old code had many cases where the same file name had code in both a cpp and an asm file.  I’m presuming that the build of the cpp files overwrote the results of the build of their asm counterparts.  The older tools must have dealt with this differently.  So I simply changed the name of the asm files, and all but one of the link errors are gone.  That will be the subject of a different thread as it is not related to this.

    Regards,

    Ed