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.

Z stack for cc2520

when i build the sample application project(zstack sample application ), there is many errors now,,, but it has worked good. now only I face this problem,,, Errors are,

Building configuration: SampleApp - Demo
Updating build tree...

ZMain.c
Error[Pe169]: expected a declaration 
Warning[Pe012]: parsing restarts here after previous syntax error 

Error[Pe260]: explicit type is missing ("int" assumed) 
Error[Pe147]: declaration is incompatible with "__cc_version2 uint8 zgInit(void)" (declared at line 355 of "F:\ 
Remark[Pe381]: extra ";" ignored  
Error[Pe260]: explicit type is missing ("int" assumed) 
Error[Pe147]: declaration is incompatible with "__cc_version2 uint8 osal_init_system(void)" (declared at line 
Error[Pe079]: expected a type specifier 
Error[Pe260]: explicit type is missing ("int" assumed) 
Error[Pe147]: declaration is incompatible with "__cc_version2 uint8 osal_int_enable(uint8)" (declared at line 

Error[Pe079]: expected a type specifier F:\IDSWork\SensorBoard\Training\StarterProject\Projects\zstack\ZMain\MSP5438\ZMain.c 120
Error[Pe260]: explicit type is missing ("int" assumed) F:\IDSWork\SensorBoard\Training\StarterProject\Projects\zstack\ZMain\MSP5438\ZMain.c 120
Error[Pe147]: declaration is incompatible with "__cc_version2 void InitBoard(uint8)" (declared at line 179 of "F:\ 
Error[Pe260]: explicit type is missing ("int" assumed) 
Error[Pe147]: declaration is incompatible with "__cc_version2 void zmain_dev_info(void)" (declared at line 66) 
Error[Pe260]: explicit type is missing ("int" assumed) 
Error[Pe147]: declaration is incompatible with "__cc_version2 void osal_start_system(void)" (declared at line 
Error[Pe169]: expected a declaration 
Error[Pe169]: expected a declaration  
Warning[Pe012]: parsing restarts here after previous syntax error
Error[Pe169]: expected a declaration 
Warning[Pe012]: parsing restarts here after previous syntax error 
Error[Pe169]: expected a declaration 
Warning[Pe012]: parsing restarts here after previous syntax error 
Warning[Pe177]: function "zmain_ext_addr" was declared but never referenced 
Warning[Pe177]: function "zmain_dev_info" was declared but never referenced 
Warning[Pe177]: function "zmain_vdd_check" was declared but never referenced 
Error while running C/C++ Compiler

Total number of errors: 20
Total number of warnings: 10

pls give the solution,,,,