Howdy,

My MUD (based on QuickMUD/ROM) doesn't seem to like to drop core files.  I've
read through the archives and have set the ulimit to unlimited.  One person
mentions something about "-g in your Makefile".  I'm not quite sure what he
means, so here's our Makefile. We're running on Red Had Linux; gcc version
3.0.4.  I don't *think* we have any disk quotas, we've used way more disk than
we are right now.

# $Id $

# Makefile for Rom24. Works fine on my Debian system.
# You may need to use 'gmake' on BSD systems.

CC = gcc
RM = rm
EXE = rom
PROF = -O -ggdb

# Use these two lines to use crypt(), ie on Linux systems.
# C_FLAGS = $(PROF) -Wall
# L_FLAGS = $(PROF) -lcrypt

# Uncomment these two lines to use plaintext passwords.
# This is how you fix the 'crypt' linking errors!
C_FLAGS = -Wall $(PROF) -DNOCRYPT -DQMFIXES
L_FLAGS = $(PROF)

# Source Files
SRC_FILES := $(wildcard *.c)
# Object Files
OBJ_DIR = obj
OBJ_FILES := $(patsubst %.c,$(OBJ_DIR)/%.o,$(SRC_FILES))

rom: $(OBJ_FILES)
        $(RM) -f $(EXE)
        $(CC) $(L_FLAGS) -o $(EXE) $(OBJ_FILES)

$(OBJ_DIR)/%.o: %.c
        $(CC) $(C_FLAGS) -c -o $@ $<

clean:
        $(RM) -f $(OBJ_FILES) $(EXE) *~ *.bak *.orig *.rej
=============
When I make, I usually do "make &".  Do I need to change that possibly?

Also, here's my ulimit stuff.
core file size        (blocks, -c) unlimited
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
max locked memory     (kbytes, -l) unlimited
max memory size       (kbytes, -m) unlimited
open files                    (-n) 1024
pipe size          (512 bytes, -p) 8
stack size            (kbytes, -s) 8192
cpu time             (seconds, -t) unlimited
max user processes            (-u) 2047
virtual memory        (kbytes, -v) unlimited

Any other ideas? More information needed?


Reply via email to