[EDIT] This problem was solved, i had a file that i kept saving with the wrong name, so it never really updated. Thanks anyway!
[/EDIT]
Wow, this is really weird. Somehow it thinks I am redefining a function where i am not, and even where a function isn't even being defined. Here are the errors:
Code:
g++ -pthread nemoserv.o nemoirc.o logger.o ircfunc.o sockfunc.o -o nemoserv
nemoirc.o: In function `putServ(char *, int)':
/home/ethereal/c++/nemoserv/nemoirc.h:83: multiple definition of `putServ(char *, int)'
nemoserv.o:/home/ethereal/c++/nemoserv/logger.h:40: first defined here
nemoirc.o: In function `putRawServ(char *, int)':
/home/ethereal/c++/nemoserv/ircfunc.h:31: multiple definition of `putRawServ(char *, int)'
nemoserv.o:/home/ethereal/c++/nemoserv/ircfunc.h:31: first defined here
ircfunc.o: In function `putServ(char *, int)':
/home/ethereal/c++/nemoserv/ircfunc.cpp:19: multiple definition of `putServ(char *, int)'
nemoserv.o:/home/ethereal/c++/nemoserv/logger.h:40: first defined here
ircfunc.o: In function `putRawServ(char *, int)':
/home/ethereal/c++/nemoserv/ircfunc.cpp:32: multiple definition of `putRawServ(char *, int)'
nemoserv.o:/home/ethereal/c++/nemoserv/ircfunc.h:31: first defined here
collect2: ld returned 1 exit status
make: *** [nemoserv] Error 1
[NOTE]
The attached file is only .zip for upload reasons, it is not actually a .zip file. It is a .tar.gz or a .tgz file.
[/NOTE]