RoAMUD Linux 5.x/6.x Info


    RoAMUD v2.0 will run fine on Linux 2.0.x running Linux libc5 w/out modification. Listed are the steps needed to get the MUDbase version 2.0 to compile on a machine running Linux with glibc.

    In Makefile:

    1. alter the DEFS line to read:
      DEFS    = -DDST_NONE
    2. alter the LIB_DIRS line to read:
      LIB_DIRS = -L/usr/lib -Ls_lib
    3. alter the LIBS line to read:
      LIBS     = -ldmalloc -lcrypt
      (you can remove *crypt* from roa/src/s_lib, they are no longer needed)

    In sysdep.h:

    1. remove the random( ) and srandom( ) declarations
    2. add #include <errno.h> after the ctype.h include

    In comm.h:

    1. remove the htonl( ) and ntohl( ) declarations

    In comm.c:

    1. line 1018, sprintf( ) call, first two args should be %ld rather than %d (tv_sec/usec are longs in 5.2)