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.

error: symbol referencing errors - './Debug/last1.out' not built

Other Parts Discussed in Thread: CCSTUDIO

Dear All,

i am new at using CCstudio and while running my code i get the following error. Can anyone provide help. It's urgent pls.

 

-----------------------------  last1.pjt - Debug  -----------------------------
[c6713dskinit.c] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -s -fr"C:/CCStudio_v3.1/MyProjects/last1/Debug" -i"C:/CCStudio_v3.1/C6000/dsk6713/include" -d"CHIP_6713" -mv6710 --mem_model:data=far -@"../../../MyProjects/last1/Debug.lkf" "c6713dskinit.c"

[Vectors_poll.asm] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -s -fr"C:/CCStudio_v3.1/MyProjects/last1/Debug" -i"C:/CCStudio_v3.1/C6000/dsk6713/include" -d"CHIP_6713" -mv6710 --mem_model:data=far -@"../../../MyProjects/last1/Debug.lkf" "Vectors_poll.asm"

[lst.c] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -s -fr"C:/CCStudio_v3.1/MyProjects/last1/Debug" -i"C:/CCStudio_v3.1/C6000/dsk6713/include" -d"CHIP_6713" -mv6710 --mem_model:data=far -@"Debug.lkf" "lst.c"

[Linking...] "C:\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>

undefined                        first referenced
 symbol                              in file
---------                        ----------------
_inputsource                     C:\CCStudio_v3.1\MyProjects\last1\Debug\c6713dskinit.obj
_com_poll                        C:\CCStudio_v3.1\MyProjects\last1\Debug\lst.obj
>>   error: symbol referencing errors - './Debug/last1.out' not built

>> Compilation failure

Build Complete,
  2 Errors, 0 Warnings, 0 Remarks.

  • Hi,

    The forum thread below has details about such undefined symbol errors:

    http://e2e.ti.com/support/development_tools/compiler/f/343/p/49843/234476.aspx#234476

    Regards,

    Rafael

  • hi Rafeal,

    the problem is nt resolved i checked and all the files are properly included. I am using the c6713dskinit.c file and the problem is thats its object files cannot be created although, it's a built in code. Secondly, i am following the exact steps as stated Chassaing's book, but yet no use...

    Don't know what to do..

    Rabya

  • Rabya,

    Are you able to locate the missing functions inputsource() or com_poll() anywhere in your source code tree?

    Keep an eye on possible typos; I found on the web a source code listing of Chassaing's source file <c6713dskinit.c> that makes calls to functions input_source() and comm_poll(). The difference will cause an error.

    Hope this helps,

    Rafael

     

     

  • Rafael,

    comm_poll is defined in c6713dskinit.c but input_source is not defined. But neither am i using it. Check out my code given below

    #include <dsk6713_aic23.h>
    #include <dsk6713_aic23.h>
    #include <dsk6713.h>

    Uint32 fs=DSK6713_AIC23_FREQ_8KHZ;
    short loop=0;
    short gain=10;
    short sine_table[8]={0,707,1000,707,0,-707,-1000,-707};
    void main(void)
    {
    com_poll();
    DSK6713_LED_init();
    DSK6713_DIP_init();
    while(1)
     {
     if(DSK6713_DIP_get(0)==0)
      {
      output_sample(sine_table[loop]*gain);
      if(++loop>7) loop=0;
      }
      else DSK6713_LED_off(0);
     }
    }
  • Hi,

    The code above has a typo at the function call comm_poll() - it is spelled above as com_poll()...

    Also, according to the error message the file <c6713dskinit.c> is the one trying to use a function called inputsource - not your code.

    In this case I would carefully inspect the <c6713dskinit.c> file for the call to inputsource() and see if you can find it. Then check if you can find the definition of inputsource() or input_source() somewhere else in your code.

    The example code may have an error or someone modified it without your knowledge... Given the error message, there is no other suggestions already given in this thread.

    Hope this helps,

    Rafael

  • Hey Rafael,

    thanks man i think it works now but let me sort out the whole prob n thn i wil let u knw what and how it worked but thanks

    Rabya

  • HI

     

    Lucky guy. I just can't link that app with ccs v5. Any clue?

    Thanks