Linker Error in Service, Dev-C++ [SOLVED]

Hello Everyone,
I'm writing a simple service to remote manage my other computers. Ive been compiling and testing as I go and alls been fine until I write a parsing function.

I know there are tools out there that could manage all of this for me, ie TELNET. I'm enjoying the experience though.

This program is mostly just strait c but the library for ini reading I found is c++... and I'm a visual foxpro and Java guy!

My problem is a Linker Error in Dev-C++ in which I get a "[Linker Error] undefined reference to parseTask(int, char*)" I have a function header declared at top of file and have tried placing the full definition of the function before and after the function that calls it. As well as making the return a pointer and attempting it that way, to no avail. Rebuild all or creating a project with all the source included did not affect the error either.

full source : http://www.aliceforever.com/relay/clientc.zip

Thank you for all your help.

EDIT: This function is in the main "MemoryStatus.cpp" where it is defined and referenced.
Last edited on
MemoryStatus.cpp:
Line 16: struct taskdata* parseTask(int length, char *fit);
Line 186: struct taskdata* parseTask(char length, char *fit)
I win the darwin award.

Thank you so much helios!
Topic archived. No new replies allowed.