Alright, this becoming a rather large headache, and I get the same exact error for all the codebases I have tried to compile - From Dawn, to Rom24b6, To startermud, afkmud, basically every rom deritive in existance. Heres the problem:
string.c:699: error: conflicting types for 'getline'
/usr/include/sys/stdio.h:31: error: previous declaration of 'getline' was here
string.c:699: error: conflicting types for 'getline'
/usr/include/sys/stdio.h:31: error: previous declaration of 'getline' was here
make: *** [string.o] Error 1
---
Basically thats the error I get for every single codebase I try to compile. Any help would be greatly appreciated.
What is your operating system? What is your environment?
The getline problem has been covered here before; have you tried searching in the ROM section?
Basically you'll need to rename the function to something else, and change all references to getline in your source code to your new function name.
BTW, just to keep the record straight, AFKMud is not a ROM derivative and would not have been subject to this problem :)
The compiler error encountered is usually because you have a function sharing the same name as one from the standard includes. I don't recall hitting this with any of the stock Rom derivs I've tested but it is possible one or more flavors of GCC are to blame for this.
Best bet, find and rename the "getline" function in whatever file it's located in. Then rename all of the calls within the code to use the new name.