In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:455:29: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion] Board_flashEraseBlk(flashHandle, blockNum); ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:456:26: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion] Board_flashWrite(flashHandle, SPI_EEPROM_SPEED_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashWrite(Board_flashHandle handle, ^~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c: In function 'EIPAPP_main': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:711:13: warning: implicit declaration of function 'Board_phyMDIXFixDeInit' [-Wimplicit-function-declaration] Board_phyMDIXFixDeInit(); ^~~~~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c: In function 'EIPAPP_ipAddressChange': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:796:9: warning: implicit declaration of function 'TimeSync_addIP' [-Wimplicit-function-declaration] TimeSync_addIP(timeSyncHandle, ipAddress); ^~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c: In function 'EIPAPP_getInitParams': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:824:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion] Board_flashRead(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashRead(Board_flashHandle handle, ^~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:834:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion] Board_flashRead(flashHandle, SPI_EEPROM_ACD_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashRead(Board_flashHandle handle, ^~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:837:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion] Board_flashRead(flashHandle, SPI_EEPROM_SPEED_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashRead(Board_flashHandle handle, ^~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:839:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion] Board_flashRead(flashHandle, SPI_EEPROM_SPEED_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashRead(Board_flashHandle handle, ^~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:842:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion] Board_flashRead(flashHandle, SPI_EEPROM_ACD_CONFLICT_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashRead(Board_flashHandle handle, ^~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:846:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion] Board_flashRead(flashHandle, SPI_EEPROM_INCARN_OFFSET, (uint8_t *)&incarnId, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.c:48:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashRead(Board_flashHandle handle, ^~~~~~~~~~~~~~~ gmake: *** [eip_main.o] Error 1 'Building file: "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c"' 'Invoking: GNU Compiler' "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM335x -Dicev2AM335x -Dcore0 -DPTP_TESTING -Dam3359 -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/projects/ethernetip_adapter_AM335x_arm" -I"C:/ti/pdk_am335x_1_0_6/packages" -I"C:/ti/pdk_am335x_1_0_6/packages/ti/starterware/include/am335x" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/timeSync/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"eip_utils.d" -MT"eip_utils.o" @"configPkg/compiler.opt" -o"eip_utils.o" "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c" subdir_rules.mk:72: recipe for target 'eip_utils.o' failed 'Building file: "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c"' 'Invoking: GNU Compiler' "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM335x -Dicev2AM335x -Dcore0 -DPTP_TESTING -Dam3359 -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/projects/ethernetip_adapter_AM335x_arm" -I"C:/ti/pdk_am335x_1_0_6/packages" -I"C:/ti/pdk_am335x_1_0_6/packages/ti/starterware/include/am335x" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/timeSync/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"icss_dlr.d" -MT"icss_dlr.o" @"configPkg/compiler.opt" -o"icss_dlr.o" "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c" subdir_rules.mk:86: recipe for target 'icss_dlr.o' failed In file included from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socket.h:43:0, from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/stacksys.h:77, from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/netmain.h:39, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/os_inc.h:48, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/adt_config.h:245, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/app_api.h:27, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.h:40, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:39: C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socketndk.h:293:8: error: redefinition of 'struct timeval' struct timeval { ^~~~~~~ In file included from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\select.h:26:0, from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\types.h:68, from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\stdio.h:61, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/os_inc.h:26, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/adt_config.h:245, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/app_api.h:27, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.h:40, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:39: c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\_timeval.h:52:8: note: originally defined here struct timeval { ^~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c: In function 'EIPUTILS_assignUserIP': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:381:36: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion] Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:41:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:384:29: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion] Board_flashEraseBlk(flashHandle, blockNum); ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:41:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:385:26: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion] Board_flashWrite(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_utils.c:41:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashWrite(Board_flashHandle handle, ^~~~~~~~~~~~~~~~ gmake: *** [eip_utils.o] Error 1 In file included from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socket.h:43:0, from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/stacksys.h:77, from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/netmain.h:39, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/os_inc.h:48, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/adt_config.h:245, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/app_api.h:27, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.h:40, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:41: C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socketndk.h:293:8: error: redefinition of 'struct timeval' struct timeval { ^~~~~~~ In file included from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\select.h:26:0, from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\types.h:68, from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\stdio.h:61, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/os_inc.h:26, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/adt_config.h:245, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/app_api.h:27, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.h:40, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:41: c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\_timeval.h:52:8: note: originally defined here struct timeval { ^~~~~~~ In file included from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/nettools/nettools.h:86:0, from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/_nettool.h:39, from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/netmain.h:40, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/os_inc.h:48, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/adt_config.h:245, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/app_api.h:27, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.h:40, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:41: C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/nettools/inc/dnsif.h:54:0: warning: "OVERFLOW" redefined #define OVERFLOW 16 /* buffer overflow */ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/timeSync/include/icss_timeSync.h:17:0, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/include/icss_eip_driver.h:149, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:23: c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\math.h:622:0: note: this is the location of the previous definition #define OVERFLOW 3 C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c: In function 'EIP_DLR_init': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:174:5: warning: implicit declaration of function 'addMACID' [-Wimplicit-function-declaration] addMACID(dlrHandle->dlrEmptyFrame + DLR_SRC_MAC_OFFSET, ifMacID); ^~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:181:5: warning: implicit declaration of function 'addWord' [-Wimplicit-function-declaration] addWord(dlrHandle->dlrEmptyFrame + DLR_SOURCE_IP_OFFSET, dlrHandle->deviceIP); ^~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c: In function 'EIP_DLR_port0ISR': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:402:9: warning: implicit declaration of function 'getMACId' [-Wimplicit-function-declaration] getMACId((uint8_t *)wordPtr, actSupAddrPtr->supMACAddress); ^~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:408:39: warning: implicit declaration of function 'convBigEndianToLittleEndianWord' [-Wimplicit-function-declaration] actSupAddrPtr->supIPAddress = convBigEndianToLittleEndianWord(( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c: In function 'EIP_DLR_processDLRFrame': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/drivers/icss_dlr.c:1458:20: warning: implicit declaration of function 'convBigEndianToLittleEndianHalfWord' [-Wimplicit-function-declaration] numNodes = convBigEndianToLittleEndianHalfWord(dlrSrc + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake: *** [icss_dlr.o] Error 1 'Building file: "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c"' 'Invoking: GNU Compiler' "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM335x -Dicev2AM335x -Dcore0 -DPTP_TESTING -Dam3359 -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/projects/ethernetip_adapter_AM335x_arm" -I"C:/ti/pdk_am335x_1_0_6/packages" -I"C:/ti/pdk_am335x_1_0_6/packages/ti/starterware/include/am335x" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/timeSync/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"main.d" -MT"main.o" @"configPkg/compiler.opt" -o"main.o" "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c" subdir_rules.mk:100: recipe for target 'main.o' failed In file included from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socket.h:43:0, from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/stacksys.h:77, from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/stkmain.h:39, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c:50: C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socketndk.h:293:8: error: redefinition of 'struct timeval' struct timeval { ^~~~~~~ In file included from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\select.h:26:0, from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\types.h:68, from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\stdio.h:61, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c:39: c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\_timeval.h:52:8: note: originally defined here struct timeval { ^~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c: In function 'pruss_iep_MDIOInitialization': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c:415:5: warning: implicit declaration of function 'ICSS_EMAC_testDelay' [-Wimplicit-function-declaration] ICSS_EMAC_testDelay(50); ^~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c: At top level: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c:418:6: warning: conflicting types for 'ICSS_EMAC_testDelay' void ICSS_EMAC_testDelay(uint32_t delay) ^~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c:415:5: note: previous implicit declaration of 'ICSS_EMAC_testDelay' was here ICSS_EMAC_testDelay(50); ^~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c: In function 'main': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/main.c:452:5: warning: implicit declaration of function 'PRCMModuleEnable' [-Wimplicit-function-declaration] PRCMModuleEnable(CHIPDB_MOD_ID_PWMSS, 0, 0); ^~~~~~~~~~~~~~~~ gmake: *** [main.o] Error 1 'Building file: "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c"' 'Invoking: GNU Compiler' "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM335x -Dicev2AM335x -Dcore0 -DPTP_TESTING -Dam3359 -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/projects/ethernetip_adapter_AM335x_arm" -I"C:/ti/pdk_am335x_1_0_6/packages" -I"C:/ti/pdk_am335x_1_0_6/packages/ti/starterware/include/am335x" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/timeSync/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"hal.d" -MT"hal.o" @"configPkg/compiler.opt" -o"hal.o" "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c" subdir_rules.mk:79: recipe for target 'hal.o' failed In file included from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\select.h:26:0, from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\types.h:68, from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\stdio.h:61, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/os_inc.h:26, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/adt_config.h:245, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/app_api.h:27, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/eip_main.h:40, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:40: c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\_timeval.h:52:8: error: redefinition of 'struct timeval' struct timeval { ^~~~~~~ In file included from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socket.h:43:0, from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/stacksys.h:77, from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/stkmain.h:39, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:39: C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socketndk.h:293:8: note: originally defined here struct timeval { ^~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setConfigurationControl': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:228:40: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion] Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:231:33: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion] Board_flashEraseBlk(flashHandle, blockNum); ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:232:30: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion] Board_flashWrite(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashWrite(Board_flashHandle handle, ^~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:239:40: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion] Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:242:33: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion] Board_flashEraseBlk(flashHandle, blockNum); ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:243:30: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion] Board_flashWrite(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashWrite(Board_flashHandle handle, ^~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setInterfaceConfiguration': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:289:32: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion] Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:292:25: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion] Board_flashEraseBlk(flashHandle, blockNum); ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:293:22: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion] Board_flashWrite(flashHandle, SPI_EEPROM_DEVICEIP_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashWrite(Board_flashHandle handle, ^~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_getInterfaceSpeed': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:376:18: warning: implicit declaration of function 'MDIO_getPhyConfig' [-Wimplicit-function-declaration] phyVal = MDIO_getPhyConfig((((ICSS_EmacHwAttrs *) ^~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_getInterfaceFlags': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:436:12: warning: implicit declaration of function 'MDIO_getAutoNegCompleteStat' [-Wimplicit-function-declaration] if(MDIO_getAutoNegCompleteStat((((ICSS_EmacHwAttrs *) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:441:16: warning: implicit declaration of function 'MDIO_getLinkPartnerAutonegAble' [-Wimplicit-function-declaration] if(MDIO_getLinkPartnerAutonegAble((((ICSS_EmacHwAttrs *) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setInterfaceControl': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:648:32: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion] Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_SPEED_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:651:25: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion] Board_flashEraseBlk(flashHandle, blockNum); ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:652:22: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion] Board_flashWrite(flashHandle, SPI_EEPROM_SPEED_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashWrite(Board_flashHandle handle, ^~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setIncarnID': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:707:32: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion] Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_INCARN_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:710:25: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion] Board_flashEraseBlk(flashHandle, blockNum); ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:711:22: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion] Board_flashWrite(flashHandle, SPI_EEPROM_INCARN_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashWrite(Board_flashHandle handle, ^~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setLastConflictDetails': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:741:32: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion] Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_ACD_CONFLICT_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:744:25: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion] Board_flashEraseBlk(flashHandle, blockNum); ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:745:22: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion] Board_flashWrite(flashHandle, SPI_EEPROM_ACD_CONFLICT_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashWrite(Board_flashHandle handle, ^~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setACDEnable': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:789:32: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion] Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_ACD_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:792:25: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion] Board_flashEraseBlk(flashHandle, blockNum); ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:793:22: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion] Board_flashWrite(flashHandle, SPI_EEPROM_ACD_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashWrite(Board_flashHandle handle, ^~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setQoSValues': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:808:32: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion] Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_QOS_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:811:25: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion] Board_flashEraseBlk(flashHandle, blockNum); ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:812:22: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion] Board_flashWrite(flashHandle, SPI_EEPROM_QOS_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashWrite(Board_flashHandle handle, ^~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_getQoSValues': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:828:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion] Board_flashRead(flashHandle, SPI_EEPROM_QOS_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashRead(Board_flashHandle handle, ^~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setInterfaceSpeed': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:848:17: warning: implicit declaration of function 'MDIO_setPhyConfig' [-Wimplicit-function-declaration] MDIO_setPhyConfig((((ICSS_EmacHwAttrs *) ^~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c: In function 'EIPHAL_setEthernetLinkConfig': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:929:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion] Board_flashRead(flashHandle, SPI_EEPROM_SPEED_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashRead(Board_flashHandle handle, ^~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:931:21: warning: passing argument 1 of 'Board_flashRead' makes integer from pointer without a cast [-Wint-conversion] Board_flashRead(flashHandle, SPI_EEPROM_SPEED_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/hal.c:49:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:169:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashRead(Board_flashHandle handle, ^~~~~~~~~~~~~~~ gmake: *** [hal.o] Error 1 'Building file: "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c"' 'Invoking: GNU Compiler' "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon -DSOC_AM335x -Dicev2AM335x -Dcore0 -DPTP_TESTING -Dam3359 -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/projects/ethernetip_adapter_AM335x_arm" -I"C:/ti/pdk_am335x_1_0_6/packages" -I"C:/ti/pdk_am335x_1_0_6/packages/ti/starterware/include/am335x" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00" -I"C:/ti/ndk_2_25_01_11" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/protocols/timeSync/include" -I"C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ptp/ptpd/dep" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -O2 -ffunction-sections -fdata-sections -g -gdwarf-2 -gstrict-dwarf -Wall -mno-unaligned-access -MMD -MP -MF"user_acd_ndk.d" -MT"user_acd_ndk.o" @"configPkg/compiler.opt" -o"user_acd_ndk.o" "C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c" subdir_rules.mk:107: recipe for target 'user_acd_ndk.o' failed In file included from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\select.h:26:0, from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\types.h:68, from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\stdio.h:61, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/os_inc.h:26, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/adt_config.h:245, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/third_party/protocols/ethernetip_adapter/include/app_api.h:27, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.h:43, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:64: c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\arm-none-eabi\include\sys\_timeval.h:52:8: error: redefinition of 'struct timeval' struct timeval { ^~~~~~~ In file included from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socket.h:43:0, from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/stacksys.h:77, from C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/netmain.h:39, from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:46: C:/ti/ndk_2_25_01_11/packages/ti/ndk/inc/socketndk.h:293:8: note: originally defined here struct timeval { ^~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c: In function 'EIPACD_conflictDetected': C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:707:32: warning: passing argument 1 of 'Board_flashOffsetToBlkPage' makes integer from pointer without a cast [-Wint-conversion] Board_flashOffsetToBlkPage(flashHandle, SPI_EEPROM_ACD_CONFLICT_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:63:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:222:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashOffsetToBlkPage(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:710:25: warning: passing argument 1 of 'Board_flashEraseBlk' makes integer from pointer without a cast [-Wint-conversion] Board_flashEraseBlk(flashHandle, blockNum); ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:63:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:202:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashEraseBlk(Board_flashHandle handle, ^~~~~~~~~~~~~~~~~~~ C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:711:22: warning: passing argument 1 of 'Board_flashWrite' makes integer from pointer without a cast [-Wint-conversion] Board_flashWrite(flashHandle, SPI_EEPROM_ACD_CONFLICT_OFFSET, ^~~~~~~~~~~ In file included from C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/ethernetip_adapter/user_acd_ndk.c:63:0: C:/ti/PRU-ICSS-EthernetIP_Adapter_01.00.02.00/examples/board/include/board_spi.h:185:20: note: expected 'Board_flashHandle {aka long unsigned int}' but argument is of type 'S25FL_Handle {aka struct S25FL_Object *}' Board_flash_STATUS Board_flashWrite(Board_flashHandle handle, ^~~~~~~~~~~~~~~~ gmake: *** [user_acd_ndk.o] Error 1 gmake: Target 'all' not remade because of errors. **** Build Finished ****