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.

CCS: ccs6.1.3

Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hello,

While building the EcMaterDemo of EVAL 2.9 SYS/BIOS in CCS 6.1.3 in DEBUG-ICSS configuration getting the following error. Is the error because of the missing function in the library file LIBEMLLICSS.a or because of any other reason?

C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/bin\libemllICSS.a(icss_emac_ec_device.o): In function `InterruptInit':


C:\Users\a0133185\Desktop\TechSupport\Industrial\Acontis_ECMaster\EC_Master_SysBios_Am572x_TIdesign\Workspace\SYSBIOS_AM57xx\emllICSS\Release/../icss_emac_ec_device.c:1422: undefined reference to `ICSS_EmacTxInterruptHandler'

Thanks and Regards,

Swarna

  • Swarna,

    To me the linker error message shows a bit truncated, which is:

    C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/bin\libemllICSS.a(icss_emac_ec_device.o): In function `InterruptInit':

    C:\Users\a0133185\Desktop\TechSupport\Industrial\Acontis_ECMaster\EC_Master_SysBios_Am572x_TIdesign\Workspace\SYSBIOS_AM57xx\emllICSS\Release/../icss_emac_ec_device.c:1422: undefined reference to `ICSS_EmacTxInterruptHandler'

    This indicates the original source file (icss_emac_ec_device.c) used to build the library LIBEMLLICSS.a calls the function ICSS_EmacTxInterruptHandler at line 1422, but this function is not defined anywhere else in your project.

    This may not be a problem on the library itself, but instead another library or source file that must be included in your project for it to build properly. Please check carefully the requirements and dependencies of your project and see if any include paths are missing.

    Hope this helps,
    Rafael
  • Your right its not the problem in library file but I can't find the source files that includes the function of 'ICSS_EmacTxInterruptHandler'. Can i know where i can find this function.
  • Hi,

    Please apologize for the delay. Searching the internet for this symbol name I found a reference at a table on section 4.7.1 of the following wiki page:

    However, searching the Industrial SDK tree for this symbol (ICSS_EmacTxInterruptHandler) yielded zero results. I was, however, able to find the counterpart ICSS_EmacRxInterruptHandler in a few source files under sdk/os_drivers and in the library libsys_bios_driver.a

    Therefore I suspect that either the example is not correct or the variable was mistyped. I would carefully check the code that calls into this function/symbol.

    Hope this helps,

    Rafael 

  • Hi Rafael,


    Thanks for the reply. Actually i found those functions (ICSS_EmacTxInterruptHandler) in the file ICSS_EMACDRV.C in the updated PDK Version in the path -ti\pdk_am57xx_1_0_6\packages\ti\drv\icss_emac\src.

    Thanks and Regards,
    Swarna
  • Swarna,

    Thanks for reporting back your findings; I was looking at the AM335x/AM437x IDK. 

    Regards,

    Rafael