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.

Linking error while Building project in CCS

Hi All,

Can any one suggest about below error?

<Linking>

fatal error: file "C:/Program Files/Texas Instruments/C5500 Code Generation

   Tools 4.3.7/lib/rts55h.lib<exit.obj>" has a Tag_Memory_Model attribute value

   of "3" that is different than one previously seen ("1"); combining   incompatible files

 

Thanks in advance,

Ashwin Panchal

  • Ashwin,

    I believe this error means that you have a different memory model specified in your project than is used to build the RTS Lib.  The "h" in the rts55h.lib means that it was built using Huge memory model.  I am guessing that your project is built using Large memory model.  This is specified under the build options for your project.

    Regards.

  • Hi Tommy,

     

    Now i am getting this error,

    fatal error: file "./usbstk5505_gpio.obj" has a Tag_Memory_Model attribute

       value of "2" that is different than one previously seen ("1"); combining

       incompatible files

     

    can you please suggest, how to resolve this problem?

     

    Thanks & Regards,

     

  • Ashwin,

    The problem appears to be the same as before.  There is a mismatch in memory model used in your project.  I would check the build properties of the file generating the error: usbstk5505_gpio.c.  It is possible to set build properties differently between files, though that is not done very often.

    Regards.