How to use a global variable declared in a header file inside a source file?
<p>I'm writing a cross platform C++ application for HP-UX and Linux.  I was wondering how I could go about using a const char * variable declared in file 1 inside file 3 without the following error popping up:</p>

<pre><code>/usr/ccs/bin/ld: Duplicate symbol "OPERATING_SYSTEM" in files smac_dictionary.o and smac_dsl_parser.o
/usr/ccs/bin/ld: Found 1 duplicate symbol(s)
gmake: *** [smac_dsl_parser] Error 1
</code></pre>

<p>Thanks.</p>
