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.

omapl138 starterware 使用delay()函数时编译出错

Other Parts Discussed in Thread: SYSBIOS

我的工程里面加了delay()之后就编译报错

# Making ../bin/server_dsp.xe674 ...
/opt/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/lnk6x --abi=eabi -w -q -c -m ../bin/server_dsp.xe674.map -o ../bin/server_dsp.xe674 main.oe674 sys.oe674 shm_ipc.oe674 shm_ipc_handler.oe674 hostmsg.oe674 osdep.oe674 bsp/uart.oe674 bsp/timer.oe674 bsp/emif.oe674 bsp/gpio.oe674 bsp/led.oe674 bsp/edma.oe674 bsp/adc.oe674 utils/utility.oe674 diagnose/diagnose.oe674 ../shared/public_memory.oe674 ../shared/adcdata.oe674 ../algorithm/analytic.oe674 ../algorithm/basic_random.oe674 ../algorithm/curvefit.oe674 ../algorithm/diagnonsis_analysis.oe674 ../algorithm/DigitalIIR.oe674 ../algorithm/fct.oe674 ../algorithm/fft.oe674 ../algorithm/fht.oe674 ../algorithm/ifct.oe674 ../algorithm/irfft.oe674 ../algorithm/light_matrix.oe674 ../algorithm/linearInterpolation.oe674 ../algorithm/math_basic.oe674 ../algorithm/rfft.oe674 ../algorithm/spectrum_analysis.oe674 ../algorithm/spectrum_basic.oe674 ../algorithm/statistics_utils.oe674 ../algorithm/transform.oe674 ../algorithm/wave_basic.oe674 ../algorithm/wdt.oe674 ../algorithm/window.oe674 ../algorithm/testalgo.oe674 configuro/linker.cmd -l /opt/ti/ccsv5/tools/compiler/c6000_7.4.4/lib/rts6740_elf.lib -l/opt/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt/omapl138/drivers/Release/drivers.lib -l/opt/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt/utils/Release/utils.lib -l/opt/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt/omapl138/evmOMAPL138/platform/Release/platform.lib -l/opt/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt/omapl138/system_config/Release/system_config.lib

undefined first referenced 
symbol in file 
--------- ---------------- 
TimerConfigure /opt/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt/omapl138/evmOMAPL138/platform/Release/platform.lib<sysdelay.obj>
TimerCounterSet /opt/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt/omapl138/evmOMAPL138/platform/Release/platform.lib<sysdelay.obj>
TimerDisable /opt/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt/omapl138/evmOMAPL138/platform/Release/platform.lib<sysdelay.obj>
TimerEnable /opt/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt/omapl138/evmOMAPL138/platform/Release/platform.lib<sysdelay.obj>
TimerIntDisable /opt/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt/omapl138/evmOMAPL138/platform/Release/platform.lib<sysdelay.obj>
TimerIntEnable /opt/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt/omapl138/evmOMAPL138/platform/Release/platform.lib<sysdelay.obj>
TimerIntStatusClear /opt/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt/omapl138/evmOMAPL138/platform/Release/platform.lib<sysdelay.obj>
TimerPeriodSet /opt/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt/omapl138/evmOMAPL138/platform/Release/platform.lib<sysdelay.obj>

error: unresolved symbols remain
error: errors encountered during linking; "../bin/server_dsp.xe674" not built
makefile:43: recipe for target '../bin/server_dsp.xe674' failed
make[2]: *** [../bin/server_dsp.xe674] Error 1
make[2]: Leaving directory '/mnt/hgfs/win/czbox_ompl138/dsp'
makefile:39: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/mnt/hgfs/win/czbox_ompl138/dsp'
makefile:43: recipe for target 'all' failed
make: *** [all] Error 2

错误中提示定时器相关的函数未定义,这几个函数应该是在driver.lib中定义的吧,这个库位已经链接了,为什么还报错,不知道是什么情况,还请高手指点,谢谢了!

x 出现错误。请重试或与管理员联系。