Having problems with a custom SMAUG base

Posted by SsDko on Wed 19 Jan 2005 07:03 PM — 7 posts, 25,576 views.

#0
Hi. Im a bit new to linux so im having trouble with compiling a smaug base that I downloaded. Im using ubuntu linux and when I use the make file to compile I get a whole slew of warrnings and errors that finnaly make the compiler (GCC of course) bail out. These are the last few errors and what not as they are all very simmilar and hopefully can be fixed esialy. Thanks for any help in advance

mud.h:6997:987: warning: null character(s) ignored
mud.h:6997: error: stray '\2' in program
mud.h:6997:992: warning: null character(s) ignored
mud.h:6997: error: stray '\4' in program
mud.h:6997:994: warning: null character(s) ignored
mud.h:6997: error: syntax error at '@' token
mud.h:6997: error: stray '`' in program
mud.h:6997: error: stray '\32' in program
mud.h:6997: error: syntax error at '@' token
mud.h:6997:1003: warning: null character(s) ignored
mud.h:6997: error: stray '\2' in program
mud.h:6997:1012: warning: null character(s) ignored
mud.h:6997: error: stray '\2' in program
mud.h:6997:1032: warning: null character(s) ignored
mud.h:6997: error: stray '\310' in program
mud.h:6997: error: stray '\37' in program
mud.h:6997: error: syntax error at '@' token
mud.h:6997:1039: warning: null character(s) ignored
mud.h:6997: confused by earlier errors, bailing out
make[1]: *** [act_comm.o] Error 1
make[1]: Leaving directory `/mnt/windows/My Documents/C++ programs/dbsc2.5/src'
make: *** [all] Error 2
root@roc-24-169-212-6:/mnt/windows/My Documents/C++ programs/dbsc2.5/src #
USA #1
Could you show the relevant lines from your source code?
#2
I would but the code doesn't seam to go past line 6713. O_o
USA #3
It should. Are you sure you're looking in the right file? mud.h
USA #4
If it doesn't, then something is wrong with your distribution. Where did you get your download?
Australia #5
Looks to me as if one line that was word wraped has been made into 2 lines, i have had this trouble with code written or saved in some windos programs and then used in linux, 1 line has become 2 lines and then you have 1billion errors.
USA #6
He most likely got the download from:
http://sourceforge.net/projects/dbsaga/

It is the recently released Dragonball Saga codebase. The codebase compiles fine, but apparently he changed something, or the version of linux he is using does not fully support the code.