My guess, you've copied the declaration cAutoGroups AutoGroups; into the header file. If you want to declare global variables in a header file, you have to declare extern cAutoGroups AutoGroups; in the .h file (for import and forward declaration) and another cAutoGroups AutoGroups; in the .c file (the actual declaration).
direct hit
thank you very much
Thorsten