I started out by doing "make all" in the src subdirecty and by changing "gcc" to "cc" in Makefile, like Nick suggest elsewhere in this forum.
After getting some warnings, like the examples below
cc -c -O -g3 -Wall -Wuninitialized -DSMAUG player.c
player.c:1024:10: warning: trigraph ??) ignored
save.c: In function `load_char_obj':
save.c:949: warning: suggest explicit braces to avoid ambiguous `else'
and this message at the end of the command
cc -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 special.o tables.o track.o update.o grub.o stat_obj.o ban.o services.o planes.o imm_host.o colorize.o
ld: Undefined symbols:
_re_exec
make[1]: *** [smaug] Error 1
make: *** [all] Error 2
After all this i tried to "startup 4000" within the area subdirectory and the whole thing just stalls. Probably something to do with above errors.
I know that Nick was successful in compiling Smaug under OS X and i would like to know what it was i did wrong.
Thanks in advance for all possible help.
After getting some warnings, like the examples below
cc -c -O -g3 -Wall -Wuninitialized -DSMAUG player.c
player.c:1024:10: warning: trigraph ??) ignored
save.c: In function `load_char_obj':
save.c:949: warning: suggest explicit braces to avoid ambiguous `else'
and this message at the end of the command
cc -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 special.o tables.o track.o update.o grub.o stat_obj.o ban.o services.o planes.o imm_host.o colorize.o
ld: Undefined symbols:
_re_exec
make[1]: *** [smaug] Error 1
make: *** [all] Error 2
After all this i tried to "startup 4000" within the area subdirectory and the whole thing just stalls. Probably something to do with above errors.
I know that Nick was successful in compiling Smaug under OS X and i would like to know what it was i did wrong.
Thanks in advance for all possible help.