I am included C headers file in my VC8 project. In one of my C header file , we have few definistions of the variables. When i compile my project it gives me linker error for all the global variables.
My global hearder file "intdefs.h" has below data:
long rfl_xref_id;

I have included intdefs.h file in my main cpp file say myfile.cpp:
#include intdefs.h
extern long rfl_xref_id

getting linker error :error LNK2001: unresolved external symbol "long rfl_xref_id" (?rfl_xref_id@@3JA)