Recompiling SmaugFUSS 1.9

Posted by Whisperedecho on Fri 09 May 2008 12:41 PM — 4 posts, 21,619 views.

USA #0
Hi. I am running SmaugFUSS 1.9 off of Windows Server 2003. I donwloaded the 1.9 dist plus the precompiled executable off of this website and it works like a charm.

I made some changes to the code and went to recompile it using Cygwin. I followed all of Nick's instructions on which packages to get.

When I type "make" everything seems to compile fine and I get no errors. It compiles everything as ".o" files under the folder "smaugfuss/src/o".

Here is what I get from the compiler:

Mike@valdor-server ~/smaugfuss/src
$ 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....
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/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....
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....
Info: resolving __timezone by linking to __imp___timezone (auto-import)
Generating dependency file ...
Done compiling mud.
make -s dns
Done compiling DNS resolver.

However, none of my changes have gone into effect. I basically changed some of the text for when a user is creating a new character. The same default text is still there though.

Is this because smaug.exe has to be changed?

When I try and run "tcsh startup" like one of the instructions said to on this website I get this:

$ tcsh startup
limit: Command not found.
limit: Command not found.
11 [main] ? (3436) C:\cygwin\home\Mike\smaugfuss\src\smaug.exe: *** fatal e
rror - system shared memory version mismatch detected - 0x8A88009C/0x2D1E009C.
This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you are unable to find another cygwin DLL.

Apparently the cygwin.DLL in the executable I downloaded is older than the executable in the "area" folder under smaugfuss. If I delete the older reference in the "area" folder, then smaug.exe won't run because it can't find the .DLL file.

I am also getting this error as well when running the game:

"EOF encountered on read."

Basically what I am trying to ask is how do I recompile SmaugFUSS so that my changes will go into effect and so that I can run the game. Thanks.
Australia Forum Administrator #1
The "make" sequence should have given you a new smaug.exe.

In your ~/smaugfuss/src directory, type "ls -l smaug*" and check you see a smaug.exe with a recent date/time.

A simple way to test is to do this:


cd ../area
../src/smaug


That bypasses the need to use the startup script.
USA #2
Thanks Nick!

Once I followed your instructions, I restarted the MUD and the changed code works.

Just as a side note though, there were a lot of errors when it first started up that looked like this:

Fri May 9 09:21:05 2008 :: [*****] BUG: fread_fuss_mobile: Specfun: vnum 9809,
no spec_fun called spec_thief.

There were a ton more of these. Is this a bad thing or something I can just ignore?
USA #3
Seeing as how that is a FUSS function, I would recommend asking on the FUSS forums.