Hi,
I have some problems linking a program that I created. I get these errors:
/tmp/cciJGmJZ.o(.data+0x0): multiple definition of `operators'
/tmp/ccAQ8C4f.o(.data+0x0): first defined here
/tmp/cciJGmJZ.o(.data+0x8): multiple definition of `fNames'
/tmp/ccAQ8C4f.o(.data+0x8): first defined here
/tmp/cciJGmJZ.o(.data+0x1c): multiple definition of `countFunctions'
/tmp/ccAQ8C4f.o(.data+0x1c): first defined here
/tmp/cciJGmJZ.o(.bss+0x0): multiple definition of `currentExpression'
/tmp/ccAQ8C4f.o(.bss+0x0): first defined here
collect2: ld returned 1 exit status
make: *** [all] Error 1
because the source files are to big to be posted here, I'l just give a link to where they are at;
link
You will find three files, ES.cpp, ES.h and main.h
The thing is, I need the stuff that's in "ES.h" in both "ES.cpp" and "main.cpp". That's why I have an "#include "ES.h" " in both. And I think this results in the error.
Can someone help me?