|
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:
- alter the DEFS line to read:
DEFS = -DDST_NONE
- alter the LIB_DIRS line to read:
LIB_DIRS = -L/usr/lib -Ls_lib
- 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:
- remove the random( ) and srandom( ) declarations
- add #include <errno.h> after the ctype.h include
In comm.h:
- remove the htonl( ) and ntohl( ) declarations
In comm.c:
- line 1018, sprintf( ) call, first two args should be %ld rather than %d (tv_sec/usec are longs in 5.2)
|