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 problem

Other Parts Discussed in Thread: CC2540

After adding a few lines of code copied from the TI Wiki BLE sample codes, I seem to have receive the following error. 

Could someone care to explain what they are and how could I solve it? 

Error[e46]: Undefined external "osal_memcpy::?relay" referred in hci_api ( D:\Texas Instruments\Project\Libraries\CC2540DB\bin\CC2540_ble_single_chip_peri.lib ) 
Error[e46]: Undefined external "osal_msg_send::?relay" referred in hci_c_event ( D:\Texas Instruments\Project\Libraries\CC2540DB\bin\CC2540_ble_single_chip_peri.lib ) 
Error[e46]: Undefined external "osal_msg_allocate::?relay" referred in hci_c_event ( D:\Texas Instruments\Project\Libraries\CC2540DB\bin\CC2540_ble_single_chip_peri.lib ) 
Error[e46]: Undefined external "osal_set_event::?relay" referred in ll_isr ( D:\Texas Instruments\Project\Libraries\CC2540DB\bin\CC2540_ble_single_chip_peri.lib ) 
Error[e46]: Undefined external "osal_stop_timerEx::?relay" referred in ll_isr ( D:\Texas Instruments\Project\Libraries\CC2540DB\bin\CC2540_ble_single_chip_peri.lib ) 
Error[e46]: Undefined external "osal_clear_event::?relay" referred in ll_isr ( D:\Texas Instruments\Project\Libraries\CC2540DB\bin\CC2540_ble_single_chip_peri.lib ) 
Error[e46]: Undefined external "osal_int_disable::?relay" referred in OnBoard ( D:\Texas Instruments\Project\SimpleBLEPeripheral\CC2540DB\CC2540\Obj\OnBoard.r51 ) 
Error[e46]: Undefined external "HalDriverInit::?relay" referred in SimpleBLEPeripheral_Main ( D:\Texas Instruments\Project\SimpleBLEPeripheral\CC2540DB\CC2540\Obj\ 
SimpleBLEPeripheral_Main.r51 ) 
Error[e46]: Undefined external "osal_snv_init::?relay" referred in SimpleBLEPeripheral_Main ( D:\Texas Instruments\Project\SimpleBLEPeripheral\CC2540DB\CC2540\Obj\ 
SimpleBLEPeripheral_Main.r51 ) 
Error[e46]: Undefined external "osal_init_system::?relay" referred in SimpleBLEPeripheral_Main ( D:\Texas Instruments\Project\SimpleBLEPeripheral\CC2540DB\CC2540\Obj\ 
SimpleBLEPeripheral_Main.r51 ) 
Error[e46]: Undefined external "osal_start_system::?relay" referred in SimpleBLEPeripheral_Main ( D:\Texas Instruments\Project\SimpleBLEPeripheral\CC2540DB\CC2540\Obj\ 
SimpleBLEPeripheral_Main.r51 )