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.

Unresolved symbol semaphore_post, first referenced in ./main.obj

Other Parts Discussed in Thread: SYSBIOS

Hi guys,

..Kind of new here -- so bare with me.

I'm getting an error:

"unresolved symbol semaphore_post, first referenced in ./main.obj debounce_hwi_2 C/C++ Problem"

when trying to link my project. I'm kind of scratching my head here because none of these APIs @ the kernel level are working for me. I did include the appropriate header for the Semaphore: "#include <ti/sysbios/knl/Semaphore.h>" and it's also configured in my .cfg file. There must be something I'm not adding correctly to my project for this not to link properly. I see these APIs being used all over the web in tutorials..

Under Project Explorer I do have the correct BIOS package for MSP430 listed:

C:/ti/rtos/_msp43x_2_16_00_08/products/bios_6_45_01_29/packages

/* ================ Application Specific Instances ================ */
var msp430Hwi0Params = new msp430Hwi.Params();
msp430Hwi0Params.instance.name = "msp430Hwi0";
Program.global.msp430Hwi0 = msp430Hwi.create(47, "&buttonPressISR", msp430Hwi0Params);
var task0Params = new Task.Params();
task0Params.instance.name = "ledLightShow";
task0Params.priority = 0;
Program.global.ledLightShow = Task.create("&ledLightShow01", task0Params);
var msp430Hwi1Params = new msp430Hwi.Params();
msp430Hwi1Params.instance.name = "msp430Hwi1";
Program.global.msp430Hwi1 = msp430Hwi.create(57, "&debounceTimerISR", msp430Hwi1Params);
var task1Params = new Task.Params();
task1Params.instance.name = "myFxnTask";
Program.global.myFxnTask = Task.create("&myFxnTask1", task1Params);
var task2Params = new Task.Params();
task2Params.instance.name = "myFxTask02";
Program.global.myFxTask02 = Task.create("&myFxTask2", task2Params);
var semaphore0Params = new Semaphore.Params();
semaphore0Params.instance.name = "mySem";
semaphore0Params.mode = Semaphore.Mode_BINARY;
Program.global.mySem = Semaphore.create(null, semaphore0Params);

Thanks for the help.