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.

RTOS/TM4C1292NCPDT: Unresolved symbol SemPost

Part Number: TM4C1292NCPDT

Tool/software: TI-RTOS

Hi,

i am getting this error when i build my project. anybody having an idea of how to resolve this error.

"unresolved symbol SemPost, first referenced in C:/ti/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages/ti/drivers/lib/drivers_tivaware.aem4f<EMACSnow.oem4f> Sample_Project"

Regards

Bala

  • Hi,
    After commending "Board_initEMAC()" function my project getting compiled without any issues.

    but i want to use this function for my TCP application. how to solve this issues.
    here i have added my main function.

    int main(void)
    {
    Board_initGeneral();
    Board_initGPIO();
    Board_initEMAC();
    Board_initI2C();
    Board_initUART();
    Board_initSPI();
    UARTUtils_systemInit(0);

    /* LED ON for Indication of BIOS start */
    GPIO_write(Board_LED0, Board_LED_ON);

    /* Start BIOS */
    BIOS_start();

    return (0);
    }

    Regards
    Bala
  • Hi,

    The EMACSnow driver uses requires the NDK. You can add the NDK libraries via
    1. The .cfg file (look at the TCP Echo example to see how to configure the NDK in the .cfg file).
    2. Adding the NDK libs via the compiler options.

    Todd
  • Hi Bala,

     The unresolved symbol error is basically saying that the symbol SemPost is being referenced. but the linker cannot find a definition for it. The definition is a C source file that gets compiled and linked as part of the project that gets linked into the project. The SemPost is a wrapper function to call the Semaphore_post(). the SemPost should be found as part of the TI NDK. I think you might have missed the NDK in your include path. The best way for you is to reference an existing TI-RTOS project with NDK as a starting point and build your application.

  • Thanks Todd.

    Now i can able to build successfully.

    Regards
    Bala
  • Thanks Charles.
    The NDK was not configured previously. Now i have configured as per Todd suggestion. now i will be able compile properly.

    Regards
    Bala