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.

Undefined reference to freequeue

Other Parts Discussed in Thread: SYSBIOS

Hi,

While building sysbios semaphore example reader/writer application i am getting errors like this,I included the library files

*.aa15fg but still i am getting this error.

undefined reference to `freeQueue'
undefined reference to `freeQueue'
undefined reference to `msgQueue'
undefined reference to `msgQueue'
undefined reference to `sem'
undefined reference to `sem'

I have included library files *.aa15fg from bios folder but still i am getting same error

Regards

Mayank

  • Mayank,

    The missing objects are defined in the semtest_pa15fg.c file which is generated from the content of the semtest.cfg file. You must include the corresponding semtest_pa15fg.oa15fg object file in the link step. The semtest_pa15fg.oa15fg file should be somewhere near the bios folder you mentioned.

    Alan

  • There was a suggested answer and since there has been no active on this thread for more than a week, the suggested answer was marked as verify. Please feel free to select the "Reject Answer" button and reply with more details.