**** Clean-only build of configuration Debug for project SPI_BasicExample_evmK2G_armTestProject **** "C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O DEL /F "SPI_BasicExample_evmK2G_armTestProject.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "SPI_BasicExample_evmK2G_armTestProject.out" DEL /F "GPIO_board_SPI.o" "GPIO_soc.o" "main_spi_flash_read_write_test.o" DEL /F "GPIO_board_SPI.d" "GPIO_soc.d" "main_spi_flash_read_write_test.d" RMDIR /S/Q "configPkg\" Could Not Find C:\Source\Next_Gen_Coll\SPI_BasicExample_evmK2G_armTestProject\Debug\SPI_BasicExample_evmK2G_armTestProject.hex Finished clean **** Build Finished **** **** Build of configuration Debug for project SPI_BasicExample_evmK2G_armTestProject **** "C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k -j 8 all -O Building file: "C:/ti/pdk_k2g_1_0_14/packages/ti/drv/spi/test/spi_flash/k2g/armv7/bios/spi_arm.cfg" Invoking: XDCtools "C:/ti/xdctools_3_51_01_18_core/xs" --xdcpath="C:/ti/bios_6_75_02_00/packages;C:/ti/pdk_k2g_1_0_14/packages;C:/ti/edma3_lld_2_12_05_30E/packages;C:/ti/ipc_3_50_03_05/packages;C:/ti/ndk_3_60_00_13/packages;C:/ti/uia_2_30_01_02/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A15F -p ti.platforms.evmTCI66AK2G02 -r debug -c "C:/ti/ccs910/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32" "C:/ti/pdk_k2g_1_0_14/packages/ti/drv/spi/test/spi_flash/k2g/armv7/bios/spi_arm.cfg" making package.mak (because of package.bld) ... generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ... configuring spi_arm.xa15fg from package/cfg/spi_arm_pa15fg.cfg ... SoC Type is k2g SoC Type is k2g generating custom ti.sysbios library makefile ... Linking with library ti.drv.spi:./lib/k2g/a15/release/ti.drv.spi.profiling.aa15fg Linking with library ti.drv.gpio:./lib/k2g/a15/release/ti.drv.gpio.profiling.aa15fg Linking with library ti.board:./lib/evmK2G/a15/release/ti.board.aa15fg Linking with library ti.drv.uart:./lib/k2g/a15/release/ti.drv.uart.aa15fg Linking with library ti.drv.i2c:./lib/k2g/a15/release/ti.drv.i2c.aa15fg Linking with library ti.osal:./lib/tirtos/k2g/a15/release/ti.osal.aa15fg Linking with library ti.utils.profiling:./lib/a15/release/ti.utils.profiling.aa15fg Linking with library ti.csl:./lib/k2g/a15/release/ti.csl.aa15fg Starting build of library sources ... making C:/ti/pdk_k2g_1_0_14/packages/ti/drv/spi/test/spi_flash/k2g/armv7/bios/src/sysbios/sysbios.aa15fg ... Build of libraries done. cla15fg package/cfg/spi_arm_pa15fg.c ... Finished building: "C:/ti/pdk_k2g_1_0_14/packages/ti/drv/spi/test/spi_flash/k2g/armv7/bios/spi_arm.cfg" Building file: "C:/ti/pdk_k2g_1_0_14/packages/ti/drv/gpio/soc/k2g/GPIO_soc.c" Invoking: GNU Compiler "C:/ti/ccs910/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DUSE_BIOS -DSOC_K2G -DevmK2G -I"C:/Source/Next_Gen_Coll/SPI_BasicExample_evmK2G_armTestProject" -I"C:/ti/ccs910/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_k2g_1_0_14/packages/ti/drv/spi" -I"C:/ti/pdk_k2g_1_0_14/packages" -I"/packages" -I"C:/ti/ccs910/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -finstrument-functions -MMD -MP -MMD -MP -MF"GPIO_soc.d" -MT"GPIO_soc.o" @"configPkg/compiler.opt" -o"GPIO_soc.o" "C:/ti/pdk_k2g_1_0_14/packages/ti/drv/gpio/soc/k2g/GPIO_soc.c" Finished building: "C:/ti/pdk_k2g_1_0_14/packages/ti/drv/gpio/soc/k2g/GPIO_soc.c" Building file: "C:/ti/pdk_k2g_1_0_14/packages/ti/drv/spi/test/spi_flash/src/main_spi_flash_read_write_test.c" Invoking: GNU Compiler "C:/ti/ccs910/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -Dk2g02 -Darm0 -DUSE_BIOS -DSOC_K2G -DevmK2G -I"C:/Source/Next_Gen_Coll/SPI_BasicExample_evmK2G_armTestProject" -I"C:/ti/ccs910/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include/newlib-nano" -I"C:/ti/pdk_k2g_1_0_14/packages/ti/drv/spi" -I"C:/ti/pdk_k2g_1_0_14/packages" -I"/packages" -I"C:/ti/ccs910/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi/include" -Og -g -gdwarf-3 -gstrict-dwarf -Wall -c -finstrument-functions -MMD -MP -MMD -MP -MF"main_spi_flash_read_write_test.d" -MT"main_spi_flash_read_write_test.o" @"configPkg/compiler.opt" -o"main_spi_flash_read_write_test.o" "C:/ti/pdk_k2g_1_0_14/packages/ti/drv/spi/test/spi_flash/src/main_spi_flash_read_write_test.c" In file included from C:/ti/pdk_k2g_1_0_14/packages/ti/drv/spi/test/spi_flash/src/main_spi_flash_read_write_test.c:23:0: C:/ti/pdk_k2g_1_0_14/packages/ti/drv/spi/test/spi_flash/src/main_spi_flash_read_write_test.c: In function 'Board_initGPIO': C:/ti/pdk_k2g_1_0_14/packages/ti/drv/gpio/src/v0/GPIO_v0.h:157:15: warning: statement with no effect [-Wunused-value] ((((port) << GPIO_CFG_PORT_NUM_SHIFT) & (GPIO_CFG_PORT_NUM_MASK)) | \ ^ C:/ti/pdk_k2g_1_0_14/packages/ti/drv/spi/test/spi_flash/src/main_spi_flash_read_write_test.c:62:4: note: in expansion of macro 'GPIO_DEVICE_CONFIG' GPIO_DEVICE_CONFIG(GPIO_PWM1_OUT_PORT_NUM, GPIO_PWM1_OUT_PIN_NUM) | GPIO_CFG_OUTPUT; ^~~~~~~~~~~~~~~~~~ At top level: C:/ti/pdk_k2g_1_0_14/packages/ti/drv/spi/test/spi_flash/src/main_spi_flash_read_write_test.c:229:13: warning: 'GeneratePattern' defined but not used [-Wunused-function] static void GeneratePattern(uint8_t *txBuf, uint8_t *rxBuf, uint32_t length) ^~~~~~~~~~~~~~~ Finished building: "C:/ti/pdk_k2g_1_0_14/packages/ti/drv/spi/test/spi_flash/src/main_spi_flash_read_write_test.c" Building target: "SPI_BasicExample_evmK2G_armTestProject.out" Invoking: GNU Linker "C:/ti/ccs910/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a15 -marm -Dk2g02 -Darm0 -DUSE_BIOS -DSOC_K2G -DevmK2G -Og -g -gdwarf-3 -gstrict-dwarf -Wall -finstrument-functions -MMD -MP -mfloat-abi=hard -Wl,-Map,"SPI_BasicExample_evmK2G_armTestProject.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/bios_6_75_02_00/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/hard" -Wl,--defsym,ARM_CORE=1 -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 --specs=nano.specs -o"SPI_BasicExample_evmK2G_armTestProject.out" "./GPIO_soc.o" "./main_spi_flash_read_write_test.o" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lrdimon -lgcc -lm -lnosys -lc -Wl,--end-group makefile:147: recipe for target 'SPI_BasicExample_evmK2G_armTestProject.out' failed C:\ti\pdk_k2g_1_0_14\packages\ti\drv\gpio\lib\k2g\a15\release\ti.drv.gpio.profiling.aa15fg(GPIO_v0.oa15fg): In function `GPIO_toggle_v0': C:\ti\pdk_k2g_1_0_14\packages\ti\drv\gpio/src/v0/GPIO_v0.c:572: undefined reference to `GPIO_v0_config' C:\ti\pdk_k2g_1_0_14\packages\ti\drv\gpio/src/v0/GPIO_v0.c:580: undefined reference to `GPIO_v0_config' C:\ti\pdk_k2g_1_0_14\packages\ti\drv\gpio/src/v0/GPIO_v0.c:580: undefined reference to `GPIO_v0_config' C:\ti\pdk_k2g_1_0_14\packages\ti\drv\gpio\lib\k2g\a15\release\ti.drv.gpio.profiling.aa15fg(GPIO_v0.oa15fg): In function `GPIO_setCallback_v0': C:\ti\pdk_k2g_1_0_14\packages\ti\drv\gpio/src/v0/GPIO_v0.c:380: undefined reference to `GPIO_v0_config' C:\ti\pdk_k2g_1_0_14\packages\ti\drv\gpio/src/v0/GPIO_v0.c:380: undefined reference to `GPIO_v0_config' C:\ti\pdk_k2g_1_0_14\packages\ti\drv\gpio\lib\k2g\a15\release\ti.drv.gpio.profiling.aa15fg(GPIO_v0.oa15fg):C:\ti\pdk_k2g_1_0_14\packages\ti\drv\gpio/src/v0/GPIO_v0.c:608: more undefined references to `GPIO_v0_config' follow collect2.exe: error: ld returned 1 exit status gmake[1]: *** [SPI_BasicExample_evmK2G_armTestProject.out] Error 1 gmake: *** [all] Error 2 makefile:143: recipe for target 'all' failed **** Build Finished ****