Cygwin compilation

Posted by Evermahn on Thu 20 Dec 2001 04:43 PM — 4 posts, 17,469 views.

#0
Heyas,
I followed your directions Nick, at least I thought I did. This is what happened after a nice looking compile, well except for those "ambiguous else" warnings.



rm -f smaug
gcc -o smaug act_comm.o act_info.o act_move.o act_obj.o act_wiz.o boards.o
build.o clans.o comm.o comments.o const.o db.o deity.o fight.o handler.o hashst
.o ibuild.o ident.o interp.o magic.o makeobjs.o mapout.o misc.o mpxset.o mud_co
m.o mud_prog.o player.o polymorph.o requests.o reset.o save.o shops.o skills.o
pecial.o tables.o track.o update.o grub.o stat_obj.o ban.o services.o planes.o
mm_host.o colorize.o
chmod g+w smaug
chmod: changing permissions of `smaug': No such file or directory
make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/home/evermahn/smaug/dist/src'
make: *** [all] Error 2


Any ideas for me? I admit I am a bit ignorant of what may be plain as day in this, but am working on that --chuckles--

Evermahn the vagabond Philospher(wannabe)Coder
p.s. Well it actually worked, so like I said just nevermind me --grin--

USA #1
nothing wrong with that. If you ever need confirmation that smaug compiled ok, just type make again, and it will tell you that smaug is up to date.
Australia Forum Administrator #2
There is a bug in the makefile, it should read:


chmod g+w smaug.exe


Under Windows the executable is smaug.exe, not smaug, however you can ignore it. On the other hand, you can edit the file Makefile to change it if the message annoys you.

USA #3
Actually, I found a copy of the smaug 1.4a codebase with all bugs fixed, including the color parsing bugs repaired. Just go to alsherok's website under the codes section. It's a very good site for snippets and bug fixes, and yes, I frequent the place allot, and Samson is pretty good about getting back to you within 24 hours time for support.