Errors like that may mean that you have a typo in your structure.
For instance:
typedef struct Foo { int a; } FOO;
typedef struct Bar { int b; FOOO c; // <-- typo } BAR;
Check your header file for spelling errors. For instance, "CALENDER" for "CALENDAR".
HTH, --Eljay