Compiling Smaug with Cygwin on a win2k system

Posted by Negelein on Mon 08 Apr 2002 11:15 PM — 4 posts, 14,331 views.

#0
Alrighty. I'm probably doing something real stupid. Here is what happens when I try compiling it.

make smaug
make[1]: Entering directory `/home/mud/dist/src'
gcc -c -O -g3 -Wall -Wuninitialized -DNOCRYPT -DSMAUG -DTIMEFORMAT act_comm.c

*and it goes through a whole lot of this. And THEN...*

gcc -c -O -g3 -Wall -Wuninitialized -DNOCRYPT -DSMAUG -DTIMEFORMAT colorize.c
rm -f smaug.exe
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 hashstr
.o ibuild.o ident.o interp.o magic.o makeobjs.o mapout.o misc.o mpxset.o mud_comm.o mud_prog.o player.o polymorph.o requests.o reset.o save.o shops.o skills.o s
pecial.o tables.o track.o update.o grub.o stat_obj.o ban.o services.o planes.o imm_host.o colorize.o
make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/home/mud/dist/src'
make: *** [all] Error 2

What am I doing wrong?
Australia Forum Administrator #1
Strange, there is usually an error message (a reason for the error) before the line:

make[1]: *** [smaug] Error 1

Did it work despite the message? Is there a file smaug.exe in that directory?
#2
Nope. No error messages. It creates each .o file, and then gives :

make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/home/mud/dist/src'
make: *** [all] Error 2

When gcc attempts to link the files. No .exe is created.
Australia Forum Administrator #3
In the absence of an explanatory message, it is hard to say. Too little memory perhaps? Disk full?