I am building an RTSC app on the OMAP-L138 LCDK board with SYS/BIOS and PSP Drivers.
I am using a demo sample but I get an undefined symbol error for both the Gpio_open and the Psc_ModuleClkCtrl calls.
I have included a path in the linker to the bios_psp_gpio.a674 and .ae674 files.
Here is the console output.
**** Build of configuration Debug for project typical_LCDKOMAPL138_ARM9 ****
"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all 'Building file: ../app.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_24_05_48/xs" --xdcpath="C:/ti/bios_6_34_02_18/packages;C:/ti/ccsv5/ccs_base;C:/Program Files/Texas Instruments/edma3_lld_02_11_04_01/packages;C:/Program Files/Texas Instruments/dsplib_c674x_3_1_0_0/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.Arm9 -p ti.platforms.evmOMAPL138 -r debug -c "C:/ti/ccsv5/tools/compiler/arm_5.0.1" --compileOptions "-g --optimize_with_debug" "../app.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring app.xe9 from package/cfg/app_pe9.cfg ...
cle9 package/cfg/app_pe9.c ...
'Finished building: ../app.cfg'
' '
'Building file: ../main.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv5/tools/compiler/arm_5.0.1/bin/armcl" -mv5e --code_state=32 --abi=eabi -me -g --include_path="C:/ti/ccsv5/tools/compiler/arm_5.0.1/include" --include_path="C:/Program Files/Texas Instruments/pdk_C6748_2_0_0_0/biospsp_03_00_01_00/drivers/gpio" --include_path="C:/Program Files/Texas Instruments/pdk_C6748_2_0_0_0/biospsp_03_00_01_00/cslr" --include_path="C:/Program Files/Texas Instruments/pdk_C6748_2_0_0_0/biospsp_03_00_01_00" --include_path="C:/Program Files/Texas Instruments/pdk_C6748_2_0_0_0/biospsp_03_00_01_00/drivers" --define=omapl138 --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="main.pp" --cmd_file="./configPkg/compiler.opt" "../main.c"
'Finished building: ../main.c'
' '
'Building target: typical_LCDKOMAPL138_ARM9.out'
'Invoking: ARM Linker'
"C:/ti/ccsv5/tools/compiler/arm_5.0.1/bin/armcl" -mv5e --code_state=32 --abi=eabi -me -g --define=omapl138 --diag_warning=225 --display_error_number --diag_wrap=off -z --stack_size=0x800 -m"typical_LCDKOMAPL138_ARM9.map" --heap_size=0x800 -i"C:/ti/ccsv5/tools/compiler/arm_5.0.1/lib" -i"C:/Program Files/Texas Instruments/pdk_C6748_2_0_0_0/biospsp_03_00_01_00/drivers/gpio/src" -i"C:/Program Files/Texas Instruments/pdk_C6748_2_0_0_0/biospsp_03_00_01_00/drivers/gpio/lib/c6748-evm/674/debug" -i"C:/ti/ccsv5/tools/compiler/arm_5.0.1/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --rom_model -o "typical_LCDKOMAPL138_ARM9.out" -l"./configPkg/linker.cmd" "./main.obj" -l"libc.a"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
Gpio_open ./main.obj
Psc_ModuleClkCtrl ./main.obj
error #10234-D: unresolved symbols remain
>> Compilation failure
error #10010: errors encountered during linking; "typical_LCDKOMAPL138_ARM9.out" not built
gmake: *** [typical_LCDKOMAPL138_ARM9.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
Any guidance will be appreciated.
Sam