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.

TMDSIDK437X: TI am437x HTTP

Part Number: TMDSIDK437X

Hello,

I am trying to develop HTTP server for TIam437x on IDK437x.

below are my software component.

I have added http server related files from package path:C:\ti\ns_2_60_01_06\source\ti\net\http

httpserver.c, httpserver_send.c, httpserver_sleep.c, http.h, httpserver.h,logging.h,urlhandler.h.

I have also included library file for http server from package path:C:\ti\ns_2_60_01_06\source\ti\net\http\lib\gcc\a9fg

C:\ti\ns_2_60_01_06\source\ti\net\http\lib\gcc\a9fg.a.

I have added files from package path:C:\ti\ns_2_60_01_06\source\ti\net

slnetif.c, slnetsock.c, slnetutils.c, slneterr.h, slnetif.h, slnetsock.h,slnetutils.h

Lib file is also added from package path:C:\ti\ns_2_60_01_06\source\ti\net\lib\gcc\a9fg

slnetsock_release.a

During compilation i am encountering problem as mentioned below.

Description Resource Path Location Type
fatal error: sys/socket.h: No such file or directory httpserver.c /NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/HTTP_Server line 60 C/C++ Problem

As per the ndk api guide provided with package: file:///C:/ti/ndk_3_61_01_01/docs/ndk/NDK_API_Reference.html#f.1-using-bsd-sockets-provided-by-slnetsock

F.1 Using BSD Sockets Provided by SlNetSock

i have added <SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd to project directory.

kindly guide.

Regards,

Vrund

  • Hi Vrund,

    You're supposed to build your application using NDK and NS prebuilt libraries. For example, use ns_2_60_01_06\source\ti\net\lib\ccs\arm9\slnetsock_<profile>.a if you are using TI compiler, or ns_2_60_01_06\source\ti\net\lib\gcc\a9fg\slnetsock_<profile>.a if you are using GCC.

    Why are you using SIMPLELINK_SDK if your device is AM437x?

    I would recommend to start from AM437x template project (as described at ) . After you build and verify this template project, you can remove what you don't need from your project and add what you need to the project.

    Hope this helps.

    Regards,

    Jianzhong

  • Hello Jianzhong,

    Pardon me as i am not able to explain my self in a proper way.

    I am using NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject as a basic 

    and added http server example to it. using NS support package.

    Reason for not using HTTP server example from NDK code(.cfg) file is mention in NDK API guide.

    6.5 HTTP Server Support

     Note, the HTTP Server in the NDK is deprecated and will be removed in the near future! You are strongly recommended to use the more capable HTTP Server from Network Services.

    Apart from that I am using gcc complier and i have added library files related to gcc only.

    Why are you using SIMPLELINK_SDK if your device is AM437x?

    --- I made a mistake. I should not include SIMPLINK_SDK.

    As i have mentioed earlier for HTTP server i have added files provided under NS package.

    and in one of the file i am facing problem kindly have look at the image.

    Kindly help.

    Regards,

    Vrund

  • Hi Vrund,

    It is fine to use HTTP server module in ns_2_60_01_06. The proper way to use it is to link the prebuilt library instead of adding source code to your project. Please follow chapter 3 HTTPServer from ns_2_60_01_06/docs/ns/NS_Users_Guide.html on how to write your application code. 

    Please note that <sys/socket.h> is included in the API header file httpserver.h:

    #include <sys/socket.h>

    This may be a mistake as socket.h is not needed by httpserver.h. You can simply comment out this line, otherwise your application code won't compile. 

    Regards,

    Jianzhong

  • Hello,

    It is fine to use HTTP server module in ns_2_60_01_06. The proper way to use it is to link the prebuilt library instead of adding source code to your project. Please follow chapter 3 HTTPServer from ns_2_60_01_06/docs/ns/NS_Users_Guide.html on how to write your application code. 

    --- done.

    Please note that <sys/socket.h> is included in the API header file httpserver.h:

    #include <sys/socket.h>

    This may be a mistake as socket.h is not needed by httpserver.h. You can simply comment out this line, otherwise your application code won't compile. 

    ---done.

    able to go further and try to add code as per ns_2_60_01_06/docs/ns/NS_Users_Guide.html .

    but facing compilation problem.

    below is the code.

    void HTTPServer(void);
    URLHandler_Handle MyURLHandler_create(void *params, URLHandler_Session session);
    int MyURLHandler_process(URLHandler_Handle h, int method, const char *url,
                             const char *urlArgs, int contentLength, int ssock);
    void MyURLHandler_delet(URLHandler_Handle *u);
    
    
    URLHandler_Setup handlerTable[] = {
        {
            NULL,
            MyURLHandler_create,
            MyURLHandler_delet,
            MyURLHandler_process,
            NULL,
            NULL
        },
    };
    /**
     *  @brief Function HTTPServer : T
     *
     *  @param[in]         none
     *  @retval            none
     */
    void  HTTPServer(void)
    {
        HTTPServer_Handle srv;
        struct sockaddr_in addr;
        uint8_t BACKLOG = 1;
    
        srv = HTTPServer_create(handlerTable, NUM_URL_HANDLERS, NULL);
    
        memset(&addr, 0, sizeof(addr));
        addr.sin_family = AF_INET;
        addr.sin_addr.s_addr = SlNetUtil_htonl(INADDR_ANY);
        addr.sin_port = SlNetUtil_htons(80);
    
        HTTPServer_serveSelect(srv, (struct sockaddr *)&addr, sizeof(addr), BACKLOG);
    
        HTTPServer_delete(&srv);
    }
    
    #if 1
    URLHandler_Handle MyURLHandler_create(void *params, URLHandler_Session session)
    {
    
    }
    
    int MyURLHandler_process(URLHandler_Handle h, int method, const char *url,
                             const char *urlArgs, int contentLength, int ssock)
    {
        int processingStatus = URLHandler_ENOTHANDLED;
        int httpRetCode;    // Our return code
        char *responseBody; // Our response
    
        if (strcmp(url, "/index.html") == 0)
        {
            if (method == URLHandler_GET)
            {
                // How was this request handled
                processingStatus = URLHandler_EHANDLED;
    
                // Our response
                responseBody     = "Index Page";
    
                // HTTP response status code
                httpRetCode      = HTTP_SC_OK;
    
                // Send the response ()
                HTTPServer_SendResponse(ssock, httpRetCode, NULL, 0,
                                        strlen(responseBody) + 1, responseBody);
            }
            else
            {
                processingStatus = URLHandler_EERRORHANDLED;
            }
    
            return processingStatus;
        }
        return processingStatus;
    }
    
    void MyURLHandler_delet(URLHandler_Handle *u)
    {
    /*do nothing*/
    }
    
    
    #endif
    
    
    
    

    Below is the build log.

    { }
    ((uint8_t *)&g_stDLogRAMMotorStartREF.m_ui16_Sample[242]),
    { }
    ((uint8_t *)&g_stDLogRAMMotorStartREF.m_ui16_Sample[243]),
    { }
    ((uint8_t *)&g_stDLogRAMMotorStartREF.m_ui16_Sample[244]),
    { }
    ((uint8_t *)&g_stDLogRAMMotorStartREF.m_ui16_Sample[245]),
    { }
    ((uint8_t *)&g_stDLogRAMMotorStartREF.m_ui16_Sample[246]),
    { }
    ((uint8_t *)&g_stDLogRAMMotorStartREF.m_ui16_Sample[247]),
    { }
    ((uint8_t *)&g_stDLogRAMMotorStartREF.m_ui16_Sample[248]),
    { }
    ((uint8_t *)&g_stDLogRAMMotorStartREF.m_ui16_Sample[249]),
    {
    };
    }
    ../Application/Modbus/Modbus_InputRegister.c:1540:1: warning: missing braces around initializer [-Wmissing-braces]
    {
    ^
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_ID[0]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_ID[1]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[0]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[1]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[2]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[3]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[4]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[5]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[6]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[7]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[8]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[9]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[10]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[11]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[12]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[13]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[14]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_SR_No[15]),
    { }
    ../Application/Modbus/Modbus_InputRegister.c:1560:2:
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Manufacture_Day),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Manufacture_Month),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Manufacture_Year),
    { }
    ../Application/Modbus/Modbus_InputRegister.c:1564:2:
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Manufacture_Hour),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Manufacture_Minute),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Manufacture_Seconds),
    { }
    ../Application/Modbus/Modbus_InputRegister.c:1568:2:
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)NULL),
    { }
    ../Application/Modbus/Modbus_InputRegister.c:1572:2:
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_Order_code[0]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_Order_code[1]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_Order_code[2]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_Order_code[3]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_Order_code[4]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_Order_code[5]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_Order_code[6]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_Order_code[7]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_Order_code[8]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Product_Order_code[9]),
    { }
    ../Application/Modbus/Modbus_InputRegister.c:1584:2:
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Hardware_Version[0]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Hardware_Version[1]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Main_Software_Version[0]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Main_Software_Version[1]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Boot_Software_Version[0]),
    { }
    ((uint8_t *)&g_stConfig_PRODUCT_INFO.m_ui16Boot_Software_Version[1]),
    { }
    ../Application/Modbus/Modbus_InputRegister.c:1592:2:
    ((uint8_t *)&g_stBPQR_CTVTCardVersions.m_ui32_Hardaware+MODB_U32_LOW_WORD),
    { }
    ((uint8_t *)&g_stBPQR_CTVTCardVersions.m_ui32_Hardaware+MODB_U32_HIGH_WORD),
    { }
    ((uint8_t *)&g_stBPQR_CTVTCardVersions.m_ui32_Firmware+MODB_U32_LOW_WORD),
    { }
    ((uint8_t *)&g_stBPQR_CTVTCardVersions.m_ui32_Firmware+MODB_U32_HIGH_WORD),
    { }
    ((uint8_t *)&g_stBPQR_CTVTCardVersions.m_ui32_Bootloader+MODB_U32_LOW_WORD),
    { }
    ((uint8_t *)&g_stBPQR_CTVTCardVersions.m_ui32_Bootloader+MODB_U32_HIGH_WORD),
    { }
    ../Application/Modbus/Modbus_InputRegister.c:1600:2:
    ((uint8_t *)&g_stConfig_InternalData.m_stDispVersion.m_ui16_Hardware[0]),
    { }
    ((uint8_t *)&g_stConfig_InternalData.m_stDispVersion.m_ui16_Hardware[1]),
    { }
    ((uint8_t *)&g_stConfig_InternalData.m_stDispVersion.m_ui16_Firmware[0]),
    { }
    ((uint8_t *)&g_stConfig_InternalData.m_stDispVersion.m_ui16_Firmware[1]),
    { }
    ((uint8_t *)&g_stConfig_InternalData.m_stDispVersion.m_ui16_Bootloader[0]),
    { }
    ((uint8_t *)&g_stConfig_InternalData.m_stDispVersion.m_ui16_Bootloader[1]),
    { }
    ../Application/Modbus/Modbus_InputRegister.c:1608:2:
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)&g_stExpModuleInfo[0].CardInfo.HardwareVersion),
    { }
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)&g_stExpModuleInfo[0].CardInfo.FirmwareVersion),
    { }
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)&g_stExpModuleInfo[0].CardInfo.BootloaderVersion),
    { }
    ../Application/Modbus/Modbus_InputRegister.c:1616:2:
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)&g_stExpModuleInfo[1].CardInfo.HardwareVersion),
    { }
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)&g_stExpModuleInfo[1].CardInfo.FirmwareVersion),
    { }
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)&g_stExpModuleInfo[1].CardInfo.BootloaderVersion),
    { }
    ../Application/Modbus/Modbus_InputRegister.c:1624:2:
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)&g_stExpModuleInfo[2].CardInfo.HardwareVersion),
    { }
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)&g_stExpModuleInfo[2].CardInfo.FirmwareVersion),
    { }
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)&g_stExpModuleInfo[2].CardInfo.BootloaderVersion),
    { }
    ../Application/Modbus/Modbus_InputRegister.c:1632:2:
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)&g_stExpModuleInfo[3].CardInfo.HardwareVersion),
    { }
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)&g_stExpModuleInfo[3].CardInfo.FirmwareVersion),
    { }
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)&g_stExpModuleInfo[3].CardInfo.BootloaderVersion),
    { }
    ../Application/Modbus/Modbus_InputRegister.c:1640:2:
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)&g_stExpModuleInfo[4].CardInfo.HardwareVersion),
    { }
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)&g_stExpModuleInfo[4].CardInfo.FirmwareVersion),
    { }
    ((uint8_t *)NULL),
    { }
    ((uint8_t *)&g_stExpModuleInfo[4].CardInfo.BootloaderVersion),
    { }
    ../Application/Modbus/Modbus_InputRegister.c:1648:2:
    ((uint8_t *)&gui16_MAC_Address[0]),
    { }
    ((uint8_t *)&gui16_MAC_Address[1]),
    { }
    ((uint8_t *)&gui16_MAC_Address[2]),
    { }
    ((uint8_t *)&gui16_MAC_Address[3]),
    { }
    ((uint8_t *)&gui16_MAC_Address[4]),
    { }
    ((uint8_t *)&gui16_MAC_Address[5]),
    { }
    ../Application/Modbus/Modbus_InputRegister.c:1655:2:
    ((uint8_t *)&g_stBPQR_DetectedExps.m_ui16_CTType),
    { }
    ((uint8_t *)&g_stBPQR_DetectedExps.m_ui16_VTType),
    { }
    ((uint8_t *)&g_stBPQR_DetectedExps.m_ui16_EXP1Type),
    { }
    ((uint8_t *)&g_stBPQR_DetectedExps.m_ui16_EXP2Type),
    { }
    ((uint8_t *)&g_stBPQR_DetectedExps.m_ui16_EXP3Type),
    { }
    ((uint8_t *)&g_stBPQR_DetectedExps.m_ui16_EXP4Type),
    { }
    ((uint8_t *)&g_stBPQR_DetectedExps.m_ui16_EXP5Type),
    {
    };
    }
    ../Application/Modbus/Modbus_InputRegister.c: In function 'MODB_ReadInputRegister':
    ../Application/Modbus/Modbus_InputRegister.c:2007:13: warning: variable 'ui16_RecordNumber' set but not used [-Wunused-but-set-variable]
    uint16_t ui16_RecordNumber = 0 ;
    ^~~~~~~~~~~~~~~~~
    ../Application/Modbus/Modbus_InputRegister.c:2057:13: warning: variable 'ui16_RecordNumber' set but not used [-Wunused-but-set-variable]
    uint16_t ui16_RecordNumber = 0 ;
    ^~~~~~~~~~~~~~~~~
    ../Application/Modbus/Modbus_InputRegister.c:2107:13: warning: variable 'ui16_RecordNumber' set but not used [-Wunused-but-set-variable]
    uint16_t ui16_RecordNumber = 0 ;
    ^~~~~~~~~~~~~~~~~
    Finished building: "../Application/Modbus/Modbus_InputRegister.c"

    Building file: "../Application/Modbus/Modbus_UserDefinedFC.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"Application/Modbus/Modbus_UserDefinedFC.d" -MT"Application/Modbus/Modbus_UserDefinedFC.o" @"configPkg/compiler.opt" -o"Application/Modbus/Modbus_UserDefinedFC.o" "../Application/Modbus/Modbus_UserDefinedFC.c"
    ../Application/Modbus/Modbus_UserDefinedFC.c:62:1: warning: missing braces around initializer [-Wmissing-braces]
    {
    ^
    /*1*/ ((uint8_t *)&g_st_Motor_Speicific_Data.m_u16_TCU),/* %TCU */
    { }
    /*2*/ ((uint8_t *)&g_stStarterParam.m_ui16_IFLC),/* Full Load Current */
    { }
    /*3*/ ((uint8_t *)&g_stMotor_Info.m_ui32_MotorInfo + MODB_U32_LOW_WORD),/* Motor Info */
    { }
    /*4*/ ((uint8_t *)&g_stMotor_Info.m_ui32_MotorInfo + MODB_U32_HIGH_WORD),/* Motor Info */
    { }
    /*5*/ ((uint8_t *)&g_stDLogGenInfo.m_ui16_TripCode),/* Trip Code */
    {
    };
    }
    ../Application/Modbus/Modbus_UserDefinedFC.c:71:1: warning: missing braces around initializer [-Wmissing-braces]
    {
    ^
    ../Application/Modbus/Modbus_UserDefinedFC.c:73:7:
    /*6*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stMotorTag.m_ui16_Tag[0]),/* Motor Tag */
    { }
    /*7*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stMotorTag.m_ui16_Tag[1]),/* Motor Tag */
    { }
    /*8*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stMotorTag.m_ui16_Tag[2]),/* Motor Tag */
    { }
    /*9*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stMotorTag.m_ui16_Tag[3]),/* Motor Tag */
    { }
    /*10*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stMotorTag.m_ui16_Tag[4]),/* Motor Tag */
    { }
    /*11*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stMotorTag.m_ui16_Tag[5]),/* Motor Tag */
    { }
    /*12*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stMotorTag.m_ui16_Tag[6]),/* Motor Tag */
    { }
    /*13*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stMotorTag.m_ui16_Tag[7]),/* Motor Tag */
    { }
    /*14*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stMotorTag.m_ui16_Tag[8]),/* Motor Tag */
    { }
    /*15*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stMotorTag.m_ui16_Tag[9]),/* Motor Tag */
    { }
    /*16*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stMotorTag.m_ui16_Tag[10]),/* Motor Tag */
    { }
    /*17*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stMotorTag.m_ui16_Tag[11]),/* Motor Tag */
    { }
    /*18*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stMotorTag.m_ui16_Tag[12]),/* Motor Tag */
    { }
    /*19*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stMotorTag.m_ui16_Tag[13]),/* Motor Tag */
    { }
    /*20*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stMotorTag.m_ui16_Tag[14]),/* Motor Tag */
    { }
    ../Application/Modbus/Modbus_UserDefinedFC.c:89:8:
    /*21*/ ((uint8_t *)&g_st_Exp_Variables.ui8_NoofExpModulesConnected),/* No of exp. modules */
    { }
    /*22*/ ((uint8_t *)&g_ui16_Configured_ExpType_Display[0]),/* Exp1 module Type */
    { }
    /*23*/ ((uint8_t *)&g_ui16_Configured_ExpType_Display[1]),/* Exp2 module Type */
    { }
    /*24*/ ((uint8_t *)&g_ui16_Configured_ExpType_Display[2]),/* Exp3 module Type */
    { }
    /*25*/ ((uint8_t *)&g_ui16_Configured_ExpType_Display[3]),/* Exp4 module Type */
    { }
    /*26*/ ((uint8_t *)&g_ui16_Configured_ExpType_Display[4]),/* Exp5 module Type */
    { }
    ../Application/Modbus/Modbus_UserDefinedFC.c:96:8:
    /*27*/ ((uint8_t *)&g_stExpModuleInfo[0].CardInfo.CardVariant),/* Exp1 module Variant */
    { }
    /*28*/ ((uint8_t *)&g_stExpModuleInfo[1].CardInfo.CardVariant),/* Exp2 module Variant */
    { }
    /*29*/ ((uint8_t *)&g_stExpModuleInfo[2].CardInfo.CardVariant),/* Exp3 module Variant */
    { }
    /*30*/ ((uint8_t *)&g_stExpModuleInfo[3].CardInfo.CardVariant),/* Exp4 module Variant */
    { }
    /*31*/ ((uint8_t *)&g_stExpModuleInfo[4].CardInfo.CardVariant),/* Exp5 module Variant */
    { }
    ../Application/Modbus/Modbus_UserDefinedFC.c:102:8:
    /*32*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stDeviceConfiguration.m_ui16_CTType),/* Type of CT modules */
    { }
    /*33*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stDeviceConfiguration.m_ui16_VTType),/* Type of VT modules */
    { }
    ../Application/Modbus/Modbus_UserDefinedFC.c:105:8:
    /*35*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stStarterSettings.m_ui16_StarterType),/* Starter Type */
    { }
    /*36*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stSystemSettings.m_ui16_TestMode),/* Test Mode */
    { }
    /*37*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stDeviceConfiguration.m_ui16_MainUnit),/* Main Unit Temp */
    { }
    /*38*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stStarterSettings.m_ui16_LoadType),/* Load Type */
    { }
    /*39*/ ((uint8_t *)&g_stConfig_GeneralSettings.m_stStarterSettings.m_ui16_EmergencyStart),/* Emergency Start */
    { }
    /*40*/ ((uint8_t *)&g_stConfig_ProtectionSettings.m_ControlBased.m_stMaxSrartPerHoour.m_ui16_Function),/* Max. Start */
    {
    };
    }
    Finished building: "../Application/Modbus/Modbus_UserDefinedFC.c"

    Building file: "../Application/Motor_ControlMonitoring/Motor_Commands.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"Application/Motor_ControlMonitoring/Motor_Commands.d" -MT"Application/Motor_ControlMonitoring/Motor_Commands.o" @"configPkg/compiler.opt" -o"Application/Motor_ControlMonitoring/Motor_Commands.o" "../Application/Motor_ControlMonitoring/Motor_Commands.c"
    Finished building: "../Application/Motor_ControlMonitoring/Motor_Commands.c"

    Building file: "../Application/Motor_ControlMonitoring/Motor_starters.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"Application/Motor_ControlMonitoring/Motor_starters.d" -MT"Application/Motor_ControlMonitoring/Motor_starters.o" @"configPkg/compiler.opt" -o"Application/Motor_ControlMonitoring/Motor_starters.o" "../Application/Motor_ControlMonitoring/Motor_starters.c"
    Finished building: "../Application/Motor_ControlMonitoring/Motor_starters.c"

    Building file: "../Application/Motor_ControlMonitoring/Start_Stop_Logic.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"Application/Motor_ControlMonitoring/Start_Stop_Logic.d" -MT"Application/Motor_ControlMonitoring/Start_Stop_Logic.o" @"configPkg/compiler.opt" -o"Application/Motor_ControlMonitoring/Start_Stop_Logic.o" "../Application/Motor_ControlMonitoring/Start_Stop_Logic.c"
    Finished building: "../Application/Motor_ControlMonitoring/Start_Stop_Logic.c"

    Building file: "../Application/NVMemory_Module/DataLogger.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"Application/NVMemory_Module/DataLogger.d" -MT"Application/NVMemory_Module/DataLogger.o" @"configPkg/compiler.opt" -o"Application/NVMemory_Module/DataLogger.o" "../Application/NVMemory_Module/DataLogger.c"
    Finished building: "../Application/NVMemory_Module/DataLogger.c"

    Building file: "../Application/NVMemory_Module/PowerDown.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"Application/NVMemory_Module/PowerDown.d" -MT"Application/NVMemory_Module/PowerDown.o" @"configPkg/compiler.opt" -o"Application/NVMemory_Module/PowerDown.o" "../Application/NVMemory_Module/PowerDown.c"
    ../Application/NVMemory_Module/PowerDown.c: In function 'CONFIG_PWR_ON_Read_POWER_DOWN_DATA':
    ../Application/NVMemory_Module/PowerDown.c:225:27: warning: variable 'ui32_SizeOfPDData' set but not used [-Wunused-but-set-variable]
    volatile static uint32_t ui32_SizeOfPDData = 0;
    ^~~~~~~~~~~~~~~~~
    Finished building: "../Application/NVMemory_Module/PowerDown.c"

    Building file: "../Application/PAL/PAL.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"Application/PAL/PAL.d" -MT"Application/PAL/PAL.o" @"configPkg/compiler.opt" -o"Application/PAL/PAL.o" "../Application/PAL/PAL.c"
    Finished building: "../Application/PAL/PAL.c"

    Building file: "../Application/Protection/Protection.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"Application/Protection/Protection.d" -MT"Application/Protection/Protection.o" @"configPkg/compiler.opt" -o"Application/Protection/Protection.o" "../Application/Protection/Protection.c"
    Finished building: "../Application/Protection/Protection.c"

    Building file: "../Application/Protection/Protection_Control.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"Application/Protection/Protection_Control.d" -MT"Application/Protection/Protection_Control.o" @"configPkg/compiler.opt" -o"Application/Protection/Protection_Control.o" "../Application/Protection/Protection_Control.c"
    ../Application/Protection/Protection_Control.c: In function 'PRO_ExecuteCommunicationFailure':
    ../Application/Protection/Protection_Control.c:381:10: warning: unused variable 'ui8_Mode' [-Wunused-variable]
    uint8_t ui8_Mode = 0;
    ^~~~~~~~
    Finished building: "../Application/Protection/Protection_Control.c"

    Building file: "../Application/Protection/Protection_Current.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"Application/Protection/Protection_Current.d" -MT"Application/Protection/Protection_Current.o" @"configPkg/compiler.opt" -o"Application/Protection/Protection_Current.o" "../Application/Protection/Protection_Current.c"
    Finished building: "../Application/Protection/Protection_Current.c"

    Building file: "../Application/Protection/Protection_Interlocks.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"Application/Protection/Protection_Interlocks.d" -MT"Application/Protection/Protection_Interlocks.o" @"configPkg/compiler.opt" -o"Application/Protection/Protection_Interlocks.o" "../Application/Protection/Protection_Interlocks.c"
    Finished building: "../Application/Protection/Protection_Interlocks.c"

    Building file: "../Application/Protection/Protection_ThermalOverload.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"Application/Protection/Protection_ThermalOverload.d" -MT"Application/Protection/Protection_ThermalOverload.o" @"configPkg/compiler.opt" -o"Application/Protection/Protection_ThermalOverload.o" "../Application/Protection/Protection_ThermalOverload.c"
    Finished building: "../Application/Protection/Protection_ThermalOverload.c"

    Building file: "../Application/Protection/Protection_Voltage.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"Application/Protection/Protection_Voltage.d" -MT"Application/Protection/Protection_Voltage.o" @"configPkg/compiler.opt" -o"Application/Protection/Protection_Voltage.o" "../Application/Protection/Protection_Voltage.c"
    Finished building: "../Application/Protection/Protection_Voltage.c"

    Building file: "../Application/Protection/Time_Over_Current.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"Application/Protection/Time_Over_Current.d" -MT"Application/Protection/Time_Over_Current.o" @"configPkg/compiler.opt" -o"Application/Protection/Time_Over_Current.o" "../Application/Protection/Time_Over_Current.c"
    Finished building: "../Application/Protection/Time_Over_Current.c"

    Building file: "../Application/Utilities/Utilities.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"Application/Utilities/Utilities.d" -MT"Application/Utilities/Utilities.o" @"configPkg/compiler.opt" -o"Application/Utilities/Utilities.o" "../Application/Utilities/Utilities.c"
    Finished building: "../Application/Utilities/Utilities.c"

    Building file: "../SLNetSocket/slnetif.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"SLNetSocket/slnetif.d" -MT"SLNetSocket/slnetif.o" @"configPkg/compiler.opt" -o"SLNetSocket/slnetif.o" "../SLNetSocket/slnetif.c"
    Finished building: "../SLNetSocket/slnetif.c"

    Building file: "../SLNetSocket/slnetsock.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"SLNetSocket/slnetsock.d" -MT"SLNetSocket/slnetsock.o" @"configPkg/compiler.opt" -o"SLNetSocket/slnetsock.o" "../SLNetSocket/slnetsock.c"
    ../SLNetSocket/slnetsock.c: In function 'SlNetSock_getVirtualSdConf':
    ../SLNetSocket/slnetsock.c:66:28: warning: implicit declaration of function 'pthread_mutex_lock'; did you mean 'pthread_atfork'? [-Wimplicit-function-declaration]
    #define SLNETSOCK_LOCK() pthread_mutex_lock(&VirtualSocketMutex) // forever
    ^
    ../SLNetSocket/slnetsock.c:138:5: note: in expansion of macro 'SLNETSOCK_LOCK'
    SLNETSOCK_LOCK();
    ^~~~~~~~~~~~~~
    ../SLNetSocket/slnetsock.c:67:28: warning: implicit declaration of function 'pthread_mutex_unlock'; did you mean 'pthread_atfork'? [-Wimplicit-function-declaration]
    #define SLNETSOCK_UNLOCK() pthread_mutex_unlock(&VirtualSocketMutex)
    ^
    ../SLNetSocket/slnetsock.c:179:5: note: in expansion of macro 'SLNETSOCK_UNLOCK'
    SLNETSOCK_UNLOCK();
    ^~~~~~~~~~~~~~~~
    ../SLNetSocket/slnetsock.c: In function 'SlNetSock_init':
    ../SLNetSocket/slnetsock.c:304:18: warning: implicit declaration of function 'pthread_mutex_init'; did you mean 'pthread_atfork'? [-Wimplicit-function-declaration]
    retVal = pthread_mutex_init(&VirtualSocketMutex, (const pthread_mutexattr_t *)NULL);
    ^~~~~~~~~~~~~~~~~~
    pthread_atfork
    Finished building: "../SLNetSocket/slnetsock.c"

    Building file: "../SLNetSocket/slnetutils.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"SLNetSocket/slnetutils.d" -MT"SLNetSocket/slnetutils.o" @"configPkg/compiler.opt" -o"SLNetSocket/slnetutils.o" "../SLNetSocket/slnetutils.c"
    Finished building: "../SLNetSocket/slnetutils.c"

    Building file: "../SNTP/sntp.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"SNTP/sntp.d" -MT"SNTP/sntp.o" @"configPkg/compiler.opt" -o"SNTP/sntp.o" "../SNTP/sntp.c"
    Finished building: "../SNTP/sntp.c"

    Building file: "../ftpserver/ftp_commands.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"ftpserver/ftp_commands.d" -MT"ftpserver/ftp_commands.o" @"configPkg/compiler.opt" -o"ftpserver/ftp_commands.o" "../ftpserver/ftp_commands.c"
    ../SNTP/sntp.c: In function 'getTime':
    ../SNTP/sntp.c:225:5: warning: implicit declaration of function 'clock_gettime'; did you mean 'SNTP_getTime'? [-Wimplicit-function-declaration]
    clock_gettime(CLOCK_REALTIME, &tspec);
    ^~~~~~~~~~~~~
    SNTP_getTime
    In file included from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/socket.h:43:0,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/stacksys.h:86,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/netmain.h:39,
    from C:/ti/pdk_am437x_1_0_17/packages/ti/transport/ndk/nimu/example/ftpApp/modules.h:24,
    from ../ftpserver/ftp_commands.c:5:
    C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/socketndk.h:94:0: warning: "_SYS_SELECT_H" redefined
    #define _SYS_SELECT_H 1 // TODO: still needed for struct timeval conflict

    In file included from c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\types.h:68:0,
    from c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\stdio.h:61,
    from C:/ti/pdk_am437x_1_0_17/packages/ti/transport/ndk/nimu/example/ftpApp/modules.h:12,
    from ../ftpserver/ftp_commands.c:5:
    c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\select.h:13:0: note: this is the location of the previous definition
    #define _SYS_SELECT_H

    Finished building: "../ftpserver/ftp_commands.c"

    Building file: "../ftpserver/ftp_filerout.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"ftpserver/ftp_filerout.d" -MT"ftpserver/ftp_filerout.o" @"configPkg/compiler.opt" -o"ftpserver/ftp_filerout.o" "../ftpserver/ftp_filerout.c"
    In file included from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/socket.h:43:0,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/stacksys.h:86,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/netmain.h:39,
    from C:/ti/pdk_am437x_1_0_17/packages/ti/transport/ndk/nimu/example/ftpApp/modules.h:24,
    from ../ftpserver/ftp_filerout.c:5:
    C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/socketndk.h:94:0: warning: "_SYS_SELECT_H" redefined
    #define _SYS_SELECT_H 1 // TODO: still needed for struct timeval conflict

    In file included from c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\types.h:68:0,
    from c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\stdio.h:61,
    from C:/ti/pdk_am437x_1_0_17/packages/ti/transport/ndk/nimu/example/ftpApp/modules.h:12,
    from ../ftpserver/ftp_filerout.c:5:
    c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\select.h:13:0: note: this is the location of the previous definition
    #define _SYS_SELECT_H

    Finished building: "../ftpserver/ftp_filerout.c"

    Building file: "../ftpserver/ftpserver.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"ftpserver/ftpserver.d" -MT"ftpserver/ftpserver.o" @"configPkg/compiler.opt" -o"ftpserver/ftpserver.o" "../ftpserver/ftpserver.c"
    In file included from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/socket.h:43:0,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/stacksys.h:86,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/netmain.h:39,
    from C:/ti/pdk_am437x_1_0_17/packages/ti/transport/ndk/nimu/example/ftpApp/modules.h:24,
    from ../ftpserver/ftpserver.c:22:
    C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/socketndk.h:94:0: warning: "_SYS_SELECT_H" redefined
    #define _SYS_SELECT_H 1 // TODO: still needed for struct timeval conflict

    In file included from c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\types.h:68:0,
    from c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\stdio.h:61,
    from C:/ti/pdk_am437x_1_0_17/packages/ti/transport/ndk/nimu/example/ftpApp/modules.h:12,
    from ../ftpserver/ftpserver.c:22:
    c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\select.h:13:0: note: this is the location of the previous definition
    #define _SYS_SELECT_H

    Finished building: "../ftpserver/ftpserver.c"

    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    Below is the error under problem window.

    Description Resource Path Location Type
    'HTTP_SC_OK' undeclared (first use in this function); did you mean 'HTTP_OK'? app.c /NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject line 207 C/C++ Problem
    gmake: *** [app.o] Error 1 NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject C/C++ Problem
    gmake: Target 'all' not remade because of errors. NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject C/C++ Problem
    recipe for target 'app.o' failed subdir_rules.mk /NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Debug line 38 C/C++ Problem

    Regards,

    Vrund

  • Gentle reminder...

  • Hi Vrund,

    Please note that the examples given in Network Service User's Guide are pseudo code. You'll need to include the proper header files in order to build your application. For this particular error, HTTP_SC_OK is defined in ns_2_60_01_06\source\ti\net\http\http.h. You need to include this header in your code.

    From the build log you shared, it seems you're still compiling Network Service's source code in your project, for example,  "../SLNetSocket/slnetif.c",  "../SLNetSocket/slnetsock.c", etc. As I mentioned before, you should use the prebuilt libraries of Network Service, instead of compiling the source code by yourself. Can you please try to remove those source code files from your project and add the proper libraries from Network Service?

    Thanks and regards,

    Jianzhong

  • Hello,

    From the build log you shared, it seems you're still compiling Network Service's source code in your project, for example,  "../SLNetSocket/slnetif.c",  "../SLNetSocket/slnetsock.c", etc. As I mentioned before, you should use the prebuilt libraries of Network Service, instead of compiling the source code by yourself. Can you please try to remove those source code files from your project and add the proper libraries from Network Service?

    ---done.

    Please note that the examples given in Network Service User's Guide are pseudo code. You'll need to include the proper header files in order to build your application. For this particular error, HTTP_SC_OK is defined in ns_2_60_01_06\source\ti\net\http\http.h. You need to include this header in your code

    ---Yes, I know HTTP_SC_OK is defined in ns_2_60_01_06\source\ti\net\http\http.h.

    I have already tried that option of including http.h file into code

    i have tried both the option

    1) #include <ti/net/http/http.h>

    2) #include "http.h"

    Both the case i face similar build problem.


    **** Build of configuration Debug for project NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject ****

    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 4 all -O 

    Building file: "../app.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -DSWITCH_EMAC -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"app.d" -MT"app.o" @"configPkg/compiler.opt" -o"app.o" "../app.c"
    subdir_rules.mk:38: recipe for target 'app.o' failed
    In file included from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/socket.h:43:0,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/stacksys.h:86,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/stkmain.h:39,
    from C:/ti/pdk_am437x_1_0_17/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.h:46,
    from ../app.c:69:
    C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/socketndk.h:94:0: warning: "_SYS_SELECT_H" redefined
    #define _SYS_SELECT_H 1 // TODO: still needed for struct timeval conflict

    In file included from c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\types.h:68:0,
    from c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\stdio.h:61,
    from ../app.c:45:
    c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\select.h:13:0: note: this is the location of the previous definition
    #define _SYS_SELECT_H

    In file included from ../app.c:77:0:
    C:/ti/ns_2_60_01_06/source/ti/net/http/http.h:51:7: error: nested redefinition of 'enum HTTP_STATUS_CODE'
    enum HTTP_STATUS_CODE {
    ^~~~~~~~~~~~~~~~
    C:/ti/ns_2_60_01_06/source/ti/net/http/http.h:51:7: error: redeclaration of 'enum HTTP_STATUS_CODE'
    In file included from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/nettools.h:87:0,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/_nettool.h:39,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/netmain.h:40,
    from C:/ti/pdk_am437x_1_0_17/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.h:47,
    from ../app.c:69:
    C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/httpif.h:153:6: note: originally defined here
    enum HTTP_STATUS_CODE
    ^~~~~~~~~~~~~~~~
    ../app.c: In function 'MyURLHandler_process':
    ../app.c:209:13: warning: implicit declaration of function 'HTTPServer_SendResponse'; did you mean 'HTTPServer_sendResponse'? [-Wimplicit-function-declaration]
    HTTPServer_SendResponse(ssock, httpRetCode, NULL, 0,
    ^~~~~~~~~~~~~~~~~~~~~~~
    HTTPServer_sendResponse
    ../app.c: In function 'SNTP_Update':
    ../app.c:248:14: warning: variable 'secondsFraction' set but not used [-Wunused-but-set-variable]
    uint32_t secondsFraction;
    ^~~~~~~~~~~~~~~
    ../app.c:247:14: warning: variable 'seconds' set but not used [-Wunused-but-set-variable]
    uint32_t seconds;
    ^~~~~~~
    ../app.c: In function 'MyURLHandler_create':
    ../app.c:186:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    gmake: *** [app.o] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    Problem window:

    Description Resource Path Location Type
    gmake: *** [app.o] Error 1 NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject C/C++ Problem
    gmake: Target 'all' not remade because of errors. NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject C/C++ Problem
    nested redefinition of 'enum HTTP_STATUS_CODE' .ccsproject /NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject line 51, external location: C:\ti\ns_2_60_01_06\source\ti\net\http\http.h C/C++ Problem
    recipe for target 'app.o' failed subdir_rules.mk /NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Debug line 38 C/C++ Problem
    redeclaration of 'enum HTTP_STATUS_CODE' .ccsproject /NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject line 51, external location: C:\ti\ns_2_60_01_06\source\ti\net\http\http.h C/C++ Problem

    If i comment the that part of the code.

    // HTTP response status code
    //httpRetCode = HTTP_SC_OK;//commented 

    i face below problem.


    **** Build of configuration Debug for project NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject ****

    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 4 all -O 

    Building file: "../app.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -DSWITCH_EMAC -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"app.d" -MT"app.o" @"configPkg/compiler.opt" -o"app.o" "../app.c"
    subdir_rules.mk:38: recipe for target 'app.o' failed
    In file included from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/socket.h:43:0,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/stacksys.h:86,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/stkmain.h:39,
    from C:/ti/pdk_am437x_1_0_17/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.h:46,
    from ../app.c:69:
    C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/socketndk.h:94:0: warning: "_SYS_SELECT_H" redefined
    #define _SYS_SELECT_H 1 // TODO: still needed for struct timeval conflict

    In file included from c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\types.h:68:0,
    from c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\stdio.h:61,
    from ../app.c:45:
    c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\select.h:13:0: note: this is the location of the previous definition
    #define _SYS_SELECT_H

    In file included from ../app.c:77:0:
    C:/ti/ns_2_60_01_06/source/ti/net/http/http.h:51:7: error: nested redefinition of 'enum HTTP_STATUS_CODE'
    enum HTTP_STATUS_CODE {
    ^~~~~~~~~~~~~~~~
    C:/ti/ns_2_60_01_06/source/ti/net/http/http.h:51:7: error: redeclaration of 'enum HTTP_STATUS_CODE'
    In file included from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/nettools.h:87:0,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/_nettool.h:39,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/netmain.h:40,
    from C:/ti/pdk_am437x_1_0_17/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.h:47,
    from ../app.c:69:
    C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/httpif.h:153:6: note: originally defined here
    enum HTTP_STATUS_CODE
    ^~~~~~~~~~~~~~~~
    ../app.c: In function 'MyURLHandler_process':
    ../app.c:209:13: warning: implicit declaration of function 'HTTPServer_SendResponse'; did you mean 'HTTPServer_sendResponse'? [-Wimplicit-function-declaration]
    HTTPServer_SendResponse(ssock, httpRetCode, NULL, 0,
    ^~~~~~~~~~~~~~~~~~~~~~~
    HTTPServer_sendResponse
    ../app.c: In function 'SNTP_Update':
    ../app.c:248:14: warning: variable 'secondsFraction' set but not used [-Wunused-but-set-variable]
    uint32_t secondsFraction;
    ^~~~~~~~~~~~~~~
    ../app.c:247:14: warning: variable 'seconds' set but not used [-Wunused-but-set-variable]
    uint32_t seconds;
    ^~~~~~~
    ../app.c: In function 'MyURLHandler_create':
    ../app.c:186:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    gmake: *** [app.o] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    Problem window.

    Description Resource Path Location Type
    gmake: *** [app.o] Error 1 NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject C/C++ Problem
    gmake: Target 'all' not remade because of errors. NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject C/C++ Problem
    nested redefinition of 'enum HTTP_STATUS_CODE' .ccsproject /NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject line 51, external location: C:\ti\ns_2_60_01_06\source\ti\net\http\http.h C/C++ Problem
    recipe for target 'app.o' failed subdir_rules.mk /NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Debug line 38 C/C++ Problem
    redeclaration of 'enum HTTP_STATUS_CODE' .ccsproject /NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject line 51, external location: C:\ti\ns_2_60_01_06\source\ti\net\http\http.h C/C++ Problem

    if i comment both

    // HTTP response status code
    // httpRetCode = HTTP_SC_OK;

    & //#include <ti/net/http/http.h>

    i got below error.


    **** Build of configuration Debug for project NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject ****

    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 4 all -O 

    Building file: "../app.c"
    Invoking: GNU Compiler
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -c -mcpu=cortex-a9 -march=armv7-a -mtune=cortex-a9 -marm -mfloat-abi=hard -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -DSWITCH_EMAC -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Backplane_Communication" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Complogic" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Configuration" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Device_Monitoring_Functions" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Metering" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Modbus" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Motor_ControlMonitoring" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/NVMemory_Module" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/PAL" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Protection" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Application/Utilities" -I"C:/ti/ns_2_60_01_06/source/ti/net" -I"C:/ti/ns_2_60_01_06/source/ti/net/sntp" -I"C:/ti/ns_2_60_01_06/source/ti/net/http" -I"C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc" -I"<SIMPLELINK_SDK_INSTALL_DIR>/source/ti/net/bsd" -I"C:/ti/ns_2_60_01_06/source" -I"C:/Users/20033229/workspace_v9/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MMD -MP -MF"app.d" -MT"app.o" @"configPkg/compiler.opt" -o"app.o" "../app.c"
    In file included from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/socket.h:43:0,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/stacksys.h:86,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/stkmain.h:39,
    from C:/ti/pdk_am437x_1_0_17/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.h:46,
    from ../app.c:69:
    C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/socketndk.h:94:0: warning: "_SYS_SELECT_H" redefined
    #define _SYS_SELECT_H 1 // TODO: still needed for struct timeval conflict

    In file included from c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\types.h:68:0,
    from c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\stdio.h:61,
    from ../app.c:45:
    c:\ti\bios_6_76_03_01\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\sys\select.h:13:0: note: this is the location of the previous definition
    #define _SYS_SELECT_H

    ../app.c: In function 'MyURLHandler_process':
    ../app.c:209:13: warning: implicit declaration of function 'HTTPServer_SendResponse'; did you mean 'HTTPServer_sendResponse'? [-Wimplicit-function-declaration]
    HTTPServer_SendResponse(ssock, httpRetCode, NULL, 0,
    ^~~~~~~~~~~~~~~~~~~~~~~
    HTTPServer_sendResponse
    ../app.c: In function 'SNTP_Update':
    ../app.c:248:14: warning: variable 'secondsFraction' set but not used [-Wunused-but-set-variable]
    uint32_t secondsFraction;
    ^~~~~~~~~~~~~~~
    ../app.c:247:14: warning: variable 'seconds' set but not used [-Wunused-but-set-variable]
    uint32_t seconds;
    ^~~~~~~
    ../app.c: In function 'MyURLHandler_create':
    ../app.c:186:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    ../app.c: In function 'MyURLHandler_process':
    ../app.c:209:13: warning: 'httpRetCode' may be used uninitialized in this function [-Wmaybe-uninitialized]
    HTTPServer_SendResponse(ssock, httpRetCode, NULL, 0,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    strlen(responseBody) + 1, responseBody);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Finished building: "../app.c"

    Building target: "NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject.out"
    Invoking: GNU Linker
    "C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -mtune=cortex-a9 -marm -Dam4379 -DUSE_BIOS -DSOC_AM437x -DidkAM437x -DSWITCH_EMAC -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -mfloat-abi=hard -Wl,-Map,"NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject.map" -nostartfiles -Wl,--gc-sections -L"C:/ti/bios_6_76_03_01/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/hard" -L"C:/ti/ndk_3_61_01_01/packages/ti/ndk/slnetif/lib" -L"C:/ti/ndk_3_61_01_01/packages/ti/ndk/os/lib" -L"C:/ti/pdk_am437x_1_0_17/packages/ti/starterware/binary/soc/lib/am43xx-evm/a9/release/gcc" -L"C:/ti/ns_2_60_01_06/source/ti/net/http/lib/gcc/a9fg" -Wl,--defsym,STACKSIZE=0x18000 -Wl,--defsym,HEAPSIZE=0x400 --specs=nano.specs -static C:/ti/pdk_am437x_1_0_17/packages/MyExampleProjects/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/../../ti/drv/icss_emac/firmware/icss_dualemac/bin/am437x/a9host/REV1/icss_dualemac_PRU0.bin C:/ti/pdk_am437x_1_0_17/packages/MyExampleProjects/NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/../../ti/drv/icss_emac/firmware/icss_dualemac/bin/am437x/a9host/REV1/icss_dualemac_PRU1.bin -o"NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject.out" "./I2C_soc.o" "./UART_soc.o" "./app.o" "./main_a9.o" "./netHooks.o" "./newservers.o" "./osdrv_ndkdeviceconfig.o" "./Application/Backplane_Communication/Backplane_Communication.o" "./Application/Backplane_Communication/Backplane_QueryResponse.o" "./Application/Complogic/CompLogic.o" "./Application/Configuration/CONFIG_COMPLogicSettings.o" "./Application/Configuration/CONFIG_GeneralSettings.o" "./Application/Configuration/CONFIG_ProtectionSettings.o" "./Application/Configuration/Configuration.o" "./Application/Device_Monitoring_Functions/AIO.o" "./Application/Device_Monitoring_Functions/DIO.o" "./Application/Device_Monitoring_Functions/Diagnostic.o" "./Application/Device_Monitoring_Functions/Temperature.o" "./Application/Metering/metering.o" "./Application/Modbus/Modbus.o" "./Application/Modbus/Modbus_CoilRegister.o" "./Application/Modbus/Modbus_DiscretInputRegister.o" "./Application/Modbus/Modbus_HoldingRegister.o" "./Application/Modbus/Modbus_InputRegister.o" "./Application/Modbus/Modbus_UserDefinedFC.o" "./Application/Motor_ControlMonitoring/Motor_Commands.o" "./Application/Motor_ControlMonitoring/Motor_starters.o" "./Application/Motor_ControlMonitoring/Start_Stop_Logic.o" "./Application/NVMemory_Module/DataLogger.o" "./Application/NVMemory_Module/PowerDown.o" "./Application/PAL/PAL.o" "./Application/Protection/Protection.o" "./Application/Protection/Protection_Control.o" "./Application/Protection/Protection_Current.o" "./Application/Protection/Protection_Interlocks.o" "./Application/Protection/Protection_ThermalOverload.o" "./Application/Protection/Protection_Voltage.o" "./Application/Protection/Time_Over_Current.o" "./Application/Utilities/Utilities.o" "./SNTP/sntp.o" "./ftpserver/ftp_commands.o" "./ftpserver/ftp_filerout.o" "./ftpserver/ftpserver.o" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -Wl,-T",C:/ti/pdk_am437x_1_0_17/packages/ti/build/pruss/lnk_a8_a9_a15_REV1.cmd" "C:/ti/ns_2_60_01_06/source/ti/net/lib/gcc/a9fg/slnetsock_release.a" "C:/ti/ns_2_60_01_06/source/ti/net/sntp/lib/gcc/a9fg/sntp_release.a" "C:/ti/ndk_3_61_01_01/packages/ti/ndk/slnetif/lib/slnetifndk.aa9fg" "C:/ti/ns_2_60_01_06/source/ti/net/http/lib/gcc/a9fg/httpserver_release.a" -lrdimon -lgcc -lm -lnosys -l:os.aa9fg -lsoc -lc -Wl,--end-group 
    makefile:221: recipe for target 'NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject.out' failed
    ./app.o: In function `MyURLHandler_process':
    C:\Users\20033229\workspace_v9\NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject\Debug/../app.c:209: undefined reference to `HTTPServer_SendResponse'
    collect2.exe: error: ld returned 1 exit status
    gmake[1]: *** [NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject.out] Error 1
    makefile:217: recipe for target 'all' failed
    gmake: *** [all] Error 2

    **** Build Finished ****

    problem window:

    Description Resource Path Location Type
    gmake: *** [all] Error 2 NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject C/C++ Problem
    gmake[1]: *** [NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject.out] Error 1 NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject C/C++ Problem
    recipe for target 'all' failed makefile /NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Debug line 217 C/C++ Problem
    recipe for target 'NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject.out' failed makefile /NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject/Debug line 221 C/C++ Problem
    undefined reference to `HTTPServer_SendResponse' app.c /NIMU_ICSS_BasicExample_idkAM437x_wSoCLib_armExampleproject line 209 C/C++ Problem

    I have linked the library file for http: from path:C:\ti\ns_2_60_01_06\source\ti\net\http\lib\gcc\a9fg\httpserver_release.a

    C:\ti\ns_2_60_01_06\source\ti\net\lib\gcc\a9fg\slnetsock_release.a

    C:\ti\ns_2_60_01_06\source\ti\net\sntp\lib\gcc\a9fg\sntp_release.a

    and this as well C:\ti\ndk_3_61_01_01\packages\ti\ndk\slnetif\lib\slnetifndk.aa9fg

    Regards,

    Vrund

  • Hi Vrund,

    First of all, you don't have to dump the whole build log here. Too much log makes it difficult to pinpoint the error. You can simply summarize the compilation error.

    The problem of nested redefinition of 'enum HTTP_STATUS_CODE' was caused by including two headers which both have definition of this enum type. This information can be found in the build log below:

    In file included from ../app.c:77:0:
    C:/ti/ns_2_60_01_06/source/ti/net/http/http.h:51:7: error: nested redefinition of 'enum HTTP_STATUS_CODE'
    enum HTTP_STATUS_CODE {
    ^~~~~~~~~~~~~~~~
    C:/ti/ns_2_60_01_06/source/ti/net/http/http.h:51:7: error: redeclaration of 'enum HTTP_STATUS_CODE'
    In file included from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/nettools.h:87:0,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/_nettool.h:39,
    from C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/netmain.h:40,
    from C:/ti/pdk_am437x_1_0_17/packages/ti/transport/ndk/nimu_icss/example/src/osdrv_ndkdeviceconfig.h:47,
    from ../app.c:69:
    C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/nettools/inc/httpif.h:153:6: note: originally defined here
    enum HTTP_STATUS_CODE

    One question I have for you is: do you need both C:/ti/ndk_3_61_01_01/packages/ti/ndk/inc/netmain.h and C:/ti/ns_2_60_01_06/source/ti/net/http/http.h? If you don't need NDK header, you can simple remove it and this problem will be fixed. 

    If you do need both headers, a solution is to modify C:/ti/ns_2_60_01_06/source/ti/net/http/http.h and rename HTTP_STATUS_CODE to something else. For example:

    enum NS_HTTP_STATUS_CODE {

    Hope this helps.

    Regards,

    Jianzhong

    P.S. I will be out from December 24 to January 3 and won't be able to respond to your posts during this period of time.

  • Thank you very much.