I'm running into some errors that I'm not entirely sure how to correct. I did not write this code - I'm updating it - and I want to ensure I know what the original intent was prior to changing a bunch of stuff.
Error:
1 2 3 4 5 6 7
ld: fatal: symbol `Abend::Exit(charconst*, ...)' is multiply-defined:
(file ./SiteAggregator.o type=FUNC; file ./Abend.o type=FUNC);
ld: fatal: symbol `Abend::_CleanupFunc' is multiply-defined:
(file ./SiteAggregator.o type=OBJT; file ./Abend.o type=OBJT);
ld: fatal: File processing errors. No output written to SiteReport
collect2: ld returned 1 exit status
gmake: *** [SiteReport] Error 1
It sounds like including that header file in more than one file is violating the one definition rule. The problem must be in the header file itself. Headers typically contain declarations not definitions (class definitions and inline function definitions are ok).