Description Resource Path Location Type Link error: multiple


#1

While compiling source code on Developer studio am getting error like this…

Description Resource Path Location Type
Link error: multiple definition of `g_eGprsProcessState’ Addon.c /q26/src line 401 C/C++ Problem[/b]

i checked this structure definition only one time it was declared.
what was the the problem…can any body please tell me…


#2

Look at the actual Linker output in the ‘Console’ view (not just the summary in the ‘Problems’ view).

This should also have another message saying where it thinks the other definition(s) is/are…

The most common reason for this kind of error is that you have variable definition(s) in header file(s);
your headers should contain only declarations.

c-faq.com/decl/decldef.html