Hello
The code snippet you have provided below is showing the declaration for variable stRS_Event.
Did you place a definition fro the same variable in one of your application .c file?
Definition should look as follows and must reside in a source file (not an include file).:
ST_FLAGS_RS_EVENT stRS_Event;
CrasyCat