Other Parts Discussed in Thread: SYSBIOS, OMAPL138, MATHLIB
Tool/software: Code Composer Studio
I Have installed the SDK examples in my code composer workspace and I am trying to create a new project and run that example code in my new CCS Project.
I have correctly added the paths and include options, but still, after resolving tons of error I am stuck on this one.
Please have a look and try to help me with this.
**** Build of configuration Debug for project gpio_led ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O
making ../src/sysbios/sysbios.ae674 ...
gmake[1]: Nothing to be done for 'all'.
'Building file: "../main.c"'
'Invoking: C6000 Compiler'
"C:/ti/ti-cgt-c6000_8.2.2/bin/cl6x" -mv6740 --include_path="C:/ti/pdk_omapl138_1_0_4/packages/ti/drv/gpio/test/led_blink/src" --include_path="C:/ti/pdk_omapl138_1_0_4/packages/ti/drv/uart" --include_path="C:/ti/pdk_omapl138_1_0_4/packages/ti/csl" --include_path="C:/ti/pdk_omapl138_1_0_4/packages/ti/board/src/lcdkOMAPL138/include" --include_path="C:/ti/pdk_omapl138_1_0_4/packages/ti/drv/gpio/src/v0" --include_path="E:/AWI/Workspace/gpio_led" --include_path="C:/ti/ti-cgt-c6000_8.2.2/include" --include_path="C:/ti/pdk_omapl138_1_0_4/packages/ti/drv/gpio" --include_path="C:/ti/pdk_omapl138_1_0_4/packages" --include_path="E:/AWI/Workspace/gpio_led" --include_path="C:/ti/ti-cgt-c6000_8.2.2/include" --define=SOC_OMAPL138 --define=lcdkOMAPL138 --define=USE_BIOS --define=LCDK_OMAPL138 --define=c6748 -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.d_raw" --cmd_file="configPkg/compiler.opt" "../main.c"
'Finished building: "../main.c"'
making ../src/sysbios/sysbios.ae674 ...
gmake[2]: Nothing to be done for 'all'.
'Building target: "gpio_led.out"'
'Invoking: C6000 Linker'
"C:/ti/ti-cgt-c6000_8.2.2/bin/cl6x" -mv6740 --define=SOC_OMAPL138 --define=lcdkOMAPL138 --define=USE_BIOS --define=LCDK_OMAPL138 --define=c6748 -g --diag_warning=225 --diag_wrap=off --display_error_number -z -m"gpio_led.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ti-cgt-c6000_8.2.2/lib" -i"C:/ti/ti-cgt-c6000_8.2.2/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="gpio_led_linkInfo.xml" --rom_model -o "gpio_led.out" "./GPIO_board.obj" "./GPIO_drv.obj" "./GPIO_log.obj" "./GPIO_soc.obj" "./GPIO_v0.obj" "./GPIO_v1.obj" "./UART_ascii_utils.obj" "./UART_drv.obj" "./board.obj" "./lcdkOMAPL138.obj" "./lcdkOMAPL138_clock.obj" "./lcdkOMAPL138_ddr.obj" "./lcdkOMAPL138_lld_init.obj" "./lcdkOMAPL138_pinmux.obj" "./lcdkOMAPL138_pll.obj" "./main.obj" "./package_ti.drv.gpio.obj" "./package_ti.drv.uart.obj" -l"configPkg/linker.cmd" -llibc.a
<Linking>
undefined first referenced
symbol in file
--------- ----------------
UART_stdioInit ./GPIO_log.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "gpio_led.out" not built
>> Compilation failure
makefile:157: recipe for target 'gpio_led.out' failed
gmake[1]: *** [gpio_led.out] Error 1
makefile:153: recipe for target 'all' failed
gmake: *** [all] Error 2