Re: Compiling stock ROM code under Fedora Core 4
Chad Simmons <[email protected]> Fri, 7 Oct 2005 19:31:57 -0700 (PDT)
| Newsgroups | gmane.games.devel.mud.rom |
|---|---|
| Message-ID | <[email protected]> |
--- Franklin Zecca <[email protected]> wrote: > Howdy all, I'm the resident list n00b and I had some questions about > compiling ROM. > > I recently set up a machine with Fedora Core 4, and decided I wanted > to use this machine as my server. Just to tinker around with it, I put > the stock source (v2.4b6) in a folder -- without any modifications of > my own -- and ran make. Ok, I just compiled both QuickMUD and ROM 2.4b6 with gcc 4.0 . Here's simple version of the changes needed: In tables.h, move all the extern const struct lines to the bottom of the file rather than the top. (They are being used before the structs are defined). That's it for ROM. For QuickMUD you also have to rename the logf function, as it conflicts with the C99 function of the same name which is used to return the natural logarithm of a given float. you can do this by running perl -pi -e 's/logf/qm_logf/g' *.[ch] within the source directory for Quickmud Hope that helps, ~Kender -----BEGIN GEEK CODE BLOCK----- Version 3.12 GCS/IT/L/S/O d-(+) s++: a-(?) C++++$ UBLS++++$ P+++(--)$ L++++$ E--- W+$ N !o K? w(---) !O M- !V PS+ PE(-) Y+ PGP->+ t+ 5 X++ R(+) tv+@ b+(++) !DI+++ D G(-) e>+++ h---() r+++ y+++(++) ------END GEEK CODE BLOCK------ __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs -- ROM mailing list [email protected] Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom