What version of Smaug, exactly, did you attempt to compile?
Using this file:
http://www.smaugmuds.org/index.php?a=files&s=download&cid=9&fid=165
... under Lion, I got this:
iMac5:src nick$ make
make -s smaug
Compiling o/imc.o....
Compiling o/act_comm.o....
Compiling o/act_info.o....
Compiling o/act_move.o....
Compiling o/act_obj.o....
Compiling o/act_wiz.o....
Compiling o/ban.o....
Compiling o/boards.o....
Compiling o/build.o....
Compiling o/calendar.o....
Compiling o/chess.o....
Compiling o/clans.o....
Compiling o/color.o....
Compiling o/comm.o....
Compiling o/comments.o....
Compiling o/const.o....
Compiling o/db.o....
Compiling o/deity.o....
Compiling o/dns.o....
Compiling o/fight.o....
Compiling o/handler.o....
Compiling o/hashstr.o....
Compiling o/hint.o....
Compiling o/hotboot.o....
Compiling o/imm_host.o....
Compiling o/interp.o....
cc1plus: warnings being treated as errors
interp.c: In function ‘void interpret(CHAR_DATA*, char*)’:
interp.c:564: warning: format ‘%06ld’ expects type ‘long int’, but argument 9 has type ‘__darwin_suseconds_t’
interp.c: In function ‘void do_timecmd(CHAR_DATA*, const char*)’:
interp.c:955: warning: format ‘%06ld’ expects type ‘long int’, but argument 4 has type ‘__darwin_suseconds_t’
interp.c: In function ‘void send_timer(timerset*, CHAR_DATA*)’:
interp.c:1004: warning: format ‘%06ld’ expects type ‘long int’, but argument 4 has type ‘__darwin_suseconds_t’
interp.c:1004: warning: format ‘%06ld’ expects type ‘long int’, but argument 6 has type ‘__darwin_suseconds_t’
interp.c:1004: warning: format ‘%06ld’ expects type ‘long int’, but argument 8 has type ‘__darwin_suseconds_t’
make[1]: *** [o/interp.o] Error 1
make: *** [all] Error 2
There were errors (warnings), but not the ones you got.
Basically I edited interp.c and cast a few arguments (as in the line numbers above) to be (long) where appropriate.
Then I got this:
iMac5:src nick$ make
make -s smaug
Compiling o/interp.o....
Compiling o/liquids.o....
Compiling o/magic.o....
Compiling o/makeobjs.o....
Compiling o/mapout.o....
Compiling o/mapper.o....
Compiling o/mccp.o....
Compiling o/misc.o....
Compiling o/mpxset.o....
Compiling o/mssp.o....
Compiling o/mud_comm.o....
Compiling o/mud_prog.o....
Compiling o/news.o....
Compiling o/planes.o....
Compiling o/player.o....
Compiling o/polymorph.o....
Compiling o/renumber.o....
Compiling o/reset.o....
Compiling o/save.o....
Compiling o/services.o....
Compiling o/sha256.o....
sha256.c:35:20: error: endian.h: No such file or directory
make[1]: *** [o/sha256.o] Error 1
I edited sha256.c and changed the start to read:
#include <stdio.h>
#include <string.h>
#include <sys/param.h>
#if !defined(WIN32)
#include <sys/cdefs.h>
#if defined(__FreeBSD__)
#include <sys/endian.h>
#else
#include <machine/endian.h>
#endif
#endif
#include "sha256.h"
(line in bold changed).
Then I got this:
iMac5:src nick$ make
make -s smaug
Compiling o/sha256.o....
Compiling o/shops.o....
Compiling o/skills.o....
Compiling o/special.o....
Compiling o/tables.o....
Compiling o/track.o....
Compiling o/update.o....
Compiling o/variables.o....
Compiling o/weather.o....
ld: unknown option: -export-dynamic
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
I edited Makefile and changed as follows:
#Some systems need this for dynamic linking to work.
#EXPORT_SYMBOLS = -export-dynamic
That is, comment out that line.
Also change:
smaug: $(O_FILES)
rm -f smaug
$(CC) -export-dynamic -o smaug $(O_FILES) $(L_FLAGS)
to be:
smaug: $(O_FILES)
rm -f smaug
$(CC) $(EXPORT_SYMBOLS) -o smaug $(O_FILES) $(L_FLAGS)
Then it worked:
make -s smaug
Generating dependency file ...
Done compiling mud.
make -s dns
Done compiling DNS resolver.
iMac5:src nick$ cd ../area
iMac5:area nick$ ../src/smaug
Thu Oct 6 15:10:23 2011 :: Booting Database
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Thu Oct 6 15:10:23 2011 :: [*****] BOOT: ---------------------[ Boot Log ]--------------------
Thu Oct 6 15:10:23 2011 :: Initializing libdl support...
Thu Oct 6 15:10:23 2011 :: Loading commands...
Thu Oct 6 15:10:23 2011 :: Loading spec_funs...
Thu Oct 6 15:10:23 2011 :: Loading sysdata configuration...
Thu Oct 6 15:10:23 2011 :: Loading socials
Thu Oct 6 15:10:23 2011 :: Loading skill table
Thu Oct 6 15:10:23 2011 :: Sorting skill table...
Thu Oct 6 15:10:23 2011 :: Creating skill table sorted by type...
Thu Oct 6 15:10:23 2011 :: Remapping slots to sns
Thu Oct 6 15:10:23 2011 :: Loading classes
Thu Oct 6 15:10:23 2011 :: Loading races
Thu Oct 6 15:10:23 2011 :: Loading news data
Thu Oct 6 15:10:23 2011 :: Loading liquids
Thu Oct 6 15:10:23 2011 :: Loading mixtures
Thu Oct 6 15:10:23 2011 :: Loading herb table
Thu Oct 6 15:10:23 2011 :: Loading tongues
Thu Oct 6 15:10:23 2011 :: Making wizlist
Thu Oct 6 15:10:23 2011 :: Loading MSSP Data...
Thu Oct 6 15:10:23 2011 :: Initializing random number generator
Thu Oct 6 15:10:23 2011 :: Setting time and weather.
Thu Oct 6 15:10:23 2011 :: Loading holiday chart...
Thu Oct 6 15:10:23 2011 :: Loading DNS cache...
Thu Oct 6 15:10:23 2011 :: Assigning gsn's
... blah blah