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.

Compiler/CC2530-SE2431L: file.hex shared by multiple files

Part Number: CC2530-SE2431L
Other Parts Discussed in Thread: CC2530, Z-STACK

Tool/software: TI C/C++ Compiler

I can't understand this error (........hex used for multiple files)  and how to solve it.

what these warning mean??

///////////////////////////////////////////////////////////////////

Building configuration: light_switch - srf05_cc2530 
Updating build tree... 

21 file(s) deleted. 
Updating build tree... 
basic_rf.c basic_rf_security.c hal_int.c adc.c clock.c hal_mcu.c hal_rf.c hal_rf_security.c hal_lcd_srf05.c hal_assert.c hal_board.c hal_button.c hal_digio.c hal_joystick.c hal_led.c util.c util_buffer.c util_lcd.c light_switch.c 
Warning[Pe177]: variable "appMode" was declared but never referenced D:\M7moud\cc2530\CC2530 EM\CC2530-ZB502-ZB600-Code\CC2530 BasicRF_RISS\source\apps\light_switch\light_switch.c 203 
Warning[Pe177]: function "appLight" was declared but never referenced D:\M7moud\cc2530\CC2530 EM\CC2530-ZB502-ZB600-Code\CC2530 BasicRF_RISS\source\apps\light_switch\light_switch.c 108 
Warning[Pe177]: function "appSelectMode" was declared but never referenced D:\M7moud\cc2530\CC2530 EM\CC2530-ZB502-ZB600-Code\CC2530 BasicRF_RISS\source\apps\light_switch\light_switch.c 241 
Linking 
Fatal Error[e62]: File name "D:\M7moud\cc2530\CC2530 EM\CC2530-ZB502-ZB600-Code\CC2530 BasicRF_RISS\ide\srf05_cc2530\iar\light_switch.hex" used for multiple files 
Error while running Linker 

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