Hello, I'm new here, I tried searching for other posts about this but haven't found any. If this was covered before, I apologize and could gladly use a pointer in the right direction. :P
Heres the problem, I am trying to compile pure stock SWR code. I had managed to compile and run it fine on cygwin, no problem. The trouble comes when I'm now trying to compile it on a native Linux enviorenment.
The compiler will compile all the files except act_wiz.c, and here is the error dump I recieve.
Any help would be greatly appreciated. =)
P.S
make version: GNU Make 3.80
GCC version: (GCC) 3.3 (Debian)
Heres the problem, I am trying to compile pure stock SWR code. I had managed to compile and run it fine on cygwin, no problem. The trouble comes when I'm now trying to compile it on a native Linux enviorenment.
The compiler will compile all the files except act_wiz.c, and here is the error dump I recieve.
[16:07](raistlen@linux src)$ make
make swreality
make[1]: Entering directory `/home/raistlen/dist/src'
gcc -c -g3 -Wall act_wiz.c
act_wiz.c:2355:22: missing terminating " character
act_wiz.c: In function `do_balzhur':
act_wiz.c:2356: error: parse error before "Thoric"
act_wiz.c:2356: error: stray '\' in program
act_wiz.c:2356: error: stray '\' in program
act_wiz.c:2356:11: missing terminating " character
act_wiz.c:2372:25: missing terminating " character
act_wiz.c:2373: error: parse error before "backup"
act_wiz.c:2373: error: `backup' undeclared (first use in this function)
act_wiz.c:2373: error: (Each undeclared identifier is reported only once
act_wiz.c:2373: error: for each function it appears in.)
act_wiz.c:2373: error: stray '\' in program
act_wiz.c:2373: error: stray '\' in program
act_wiz.c:2373: error: parse error before "r"
act_wiz.c:2373:12: missing terminating " character
act_wiz.c:2376:26: missing terminating " character
act_wiz.c:2377: error: stray '\' in program
act_wiz.c:2377: error: stray '\' in program
act_wiz.c:2377:12: missing terminating " character
act_wiz.c: At top level:
act_wiz.c:2385: warning: type defaults to `int' in declaration of `make_wizlist'
act_wiz.c:2385: error: conflicting types for `make_wizlist'
mud.h:4299: error: previous declaration of `make_wizlist'
act_wiz.c:2385: warning: data definition has no type or storage class
act_wiz.c:2386: error: parse error before string constant
act_wiz.c:2386: warning: type defaults to `int' in declaration of `do_help'
act_wiz.c:2386: error: conflicting types for `do_help'
mud.h:3561: error: previous declaration of `do_help'
act_wiz.c:2386: warning: data definition has no type or storage class
act_wiz.c:2387: error: parse error before numeric constant
act_wiz.c:2387: warning: type defaults to `int' in declaration of `set_char_colo
r'
act_wiz.c:2387: error: conflicting types for `set_char_color'
mud.h:4234: error: previous declaration of `set_char_color'
act_wiz.c:2387: warning: data definition has no type or storage class
act_wiz.c:2388: error: parse error before string constant
act_wiz.c:2388: warning: type defaults to `int' in declaration of `send_to_char_
color'
act_wiz.c:2388: error: conflicting types for `send_to_char_color'
mud.h:4231: error: previous declaration of `send_to_char_color'
act_wiz.c:2388: warning: data definition has no type or storage class
make[1]: *** [act_wiz.o] Error 1
make[1]: Leaving directory `/home/raistlen/dist/src'
make: *** [all] Error 2
Any help would be greatly appreciated. =)
P.S
make version: GNU Make 3.80
GCC version: (GCC) 3.3 (Debian)