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.

Linking error while complilation of UART example from starterware in LCDK C6748

Other Parts Discussed in Thread: OMAPL138, TMS320C6748

Hi,

I am a newbie and I am trying to execute UART echo example from starterware  in LCDK . I am using a TMS320C6748 DSP Development Kit (LCDK) with XDS100v2 JTAG emulator. I have created a project and added the uartEcho.c file from example directory (C:\ti\OMAPL138_StarterWare_1_10_03_03\examples\lcdkOMAPL138\uart).

I have added the include path but on compilation i am getting linking error. I know I haven't added required libraries. Please guide me where I can find the required libraries to run this example. Error message from the console is as following.

 **** Build of configuration Debug for project UART_Echo ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building target: UART_Echo.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/bin/cl6x" -mv6740 --abi=eabi -g --define=c6748 --display_error_number --diag_warning=225 --diag_wrap=off -z -m"UART_Echo.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccsv5/tools/compiler/lib" -i"C:/ti/ccsv5/tools/compiler/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="UART_Echo_linkInfo.xml" --rom_model -o "UART_Echo.out" "./main.obj" -l"libc.a" "../C6748.cmd"
<Linking>

undefined first referenced
symbol in file
--------- ----------------
IntDSPINTCInit ./main.obj
IntEnable ./main.obj
IntEventClear ./main.obj
IntEventMap ./main.obj
IntGlobalEnable ./main.obj
IntRegister ./main.obj
PSCModuleControl ./main.obj
UARTCharGetNonBlocking ./main.obj
UARTCharPutNonBlocking ./main.obj
UARTConfigSetExpClk ./main.obj
UARTEnable ./main.obj
UARTFIFOEnable ./main.obj
UARTFIFOLevelSet ./main.obj
UARTIntDisable ./main.obj
UARTIntEnable ./main.obj
UARTIntStatus ./main.obj
UARTPinMuxSetup ./main.obj
UARTRxErrorGet ./main.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "UART_Echo.out" not built

>> Compilation failure
gmake: *** [UART_Echo.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

Please help

Regards,

Pallab