Ok, i have gotten to the point where every file compiles all be it with a bunch of warnings about signed and unsigned ints that i will fix later.
My main problem now is when it goes to link everything together is spits out a multitude of errors about multiple definitions.
Most of them seem to do with things that use LINK and UNLINK
ObjectFiles/act_info.o: In function `str_similarity(char const*, char const*)':
/home/robert/eldhamud.v5/src/act_info.c:2289: multiple definition of `first_homebuy'
ObjectFiles/act_comm.o:/home/robert/eldhamud.v5/src/act_comm.c:2337: first defined here
ObjectFiles/act_info.o: In function `str_similarity(char const*, char const*)':
/home/robert/eldhamud.v5/src/act_info.c:2289: multiple definition of `last_homebuy'
ObjectFiles/act_comm.o:/home/robert/eldhamud.v5/src/act_comm.c:2337: first defined here
ObjectFiles/act_info.o: In function `str_similarity(char const*, char const*)':
/home/robert/eldhamud.v5/src/act_info.c:2291: multiple definition of `first_lmsg'
ObjectFiles/act_comm.o:/home/robert/eldhamud.v5/src/act_comm.c:2341: first defined here
ObjectFiles/act_info.o: In function `str_similarity(char const*, char const*)':
/home/robert/eldhamud.v5/src/act_info.c:2293: multiple definition of `last_lmsg'
ObjectFiles/act_comm.o:/home/robert/eldhamud.v5/src/act_comm.c:2341: first defined here
ObjectFiles/act_info.o: In function `str_similarity(char const*, char const*)':
/home/robert/eldhamud.v5/src/act_info.c:2293: multiple definition of `first_home'
ObjectFiles/act_comm.o:/home/robert/eldhamud.v5/src/act_comm.c:2342: first defined here
ObjectFiles/act_info.o: In function `str_similarity(char const*, char const*)':
/home/robert/eldhamud.v5/src/act_info.c:2293: multiple definition of `last_home'
ObjectFiles/act_comm.o:/home/robert/eldhamud.v5/src/act_comm.c:2342: first defined here
ObjectFiles/act_info.o: In function `str_similarity(char const*, char const*)':
/home/robert/eldhamud.v5/src/act_info.c:2293: multiple definition of `first_accessory'
ObjectFiles/act_comm.o:/home/robert/eldhamud.v5/src/act_comm.c:2343: first defined here
ObjectFiles/act_info.o: In function `str_similarity(char const*, char const*)':
/home/robert/eldhamud.v5/src/act_info.c:2294: multiple definition of `last_accessory'
ObjectFiles/act_comm.o:/home/robert/eldhamud.v5/src/act_comm.c:2343: first defined here
ObjectFiles/act_info.o: In function `str_similarity(char const*, char const*)':
/home/robert/eldhamud.v5/src/act_info.c:2294: multiple definition of `DONT_UPPER'
ObjectFiles/act_comm.o:/home/robert/eldhamud.v5/src/act_comm.c:2341: first defined here
ObjectFiles/act_info.o: In function `str_similarity(char const*, char const*)':
/home/robert/eldhamud.v5/src/act_info.c:2294: multiple definition of `area_version'
ObjectFiles/act_comm.o:/home/robert/eldhamud.v5/src/act_comm.c:2341: first defined here
ObjectFiles/act_info.o: In function `str_similarity(char const*, char const*)':
/home/robert/eldhamud.v5/src/act_info.c:2298: multiple definition of `MOBtrigger'
ObjectFiles/act_comm.o:/home/robert/eldhamud.v5/src/act_comm.c:2341: first defined here
ObjectFiles/act_info.o: In function `str_similarity(char const*, char const*)':
I tryed doing this to each of my headers so they only get defined one time, but even that didnt seem to do anything, i just got the same mass of linking errors.
#if !defined(_INC_HOUSE_H_)
#define _INC_HOUSE_H_
^
codeblock
^
#endif //_INC_HOUSE_H_
Thanks in advance for any idead to whats going on here.