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.

Error[e46]: Undefined external referred in main

Hello ,

I am trying some code for MSP430. Complier is IAR Embedded Workbench v6.3 .  Compiler gives error "Undefined extarnal referred in main" for MSP430. 

Error is like below that.

Building configuration: msp430-5438-stk - Debug 
Updating build tree... 
main.c 
Warning[Pe223]: function "delay_ms" declared implicitly C:\Users\Ugur\Downloads\MSP430-5438_STK_MMC_Demo (2)\MSP430-5438_STK_MMC_Demo\main.c 724 
Linking 
Error[e46]: Undefined external "delay_ms" referred in main ( C:\Users\Ugur\Downloads\MSP430-5438_STK_MMC_Demo (2)\ 
MSP430-5438_STK_MMC_Demo\Debug\Obj\main.r43 ) 
Error while running Linker 

Total number of errors: 1 
Total number of warnings: 1

How can i solved this problem ? could you help me please ? 

**Attention** This is a public forum