Error LNK-2005 and multiple defined object

Status
Not open for further replies.

lakshminarayanan

Newbie level 5
Joined
Sep 11, 2006
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,339
i inculded global.h header file in more than two c code file and the compiler stats the error multiple defined object and error lnk-2005 .....how to solve the issue...
The header file starts with
#ifndef _GLOBAL_H_
#def _GLOBAL_H_

// variable declaration
// function declaration
// structures declaration
#endif
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…