Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ ROM ➜ Compiling the server ➜ compiling error 255

compiling error 255

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Proto-6   Canada  (26 posts)  Bio
Date Fri 23 May 2003 05:41 AM (UTC)
Message
ok I know you have gotten this like over 100 times but I couldent find it in the serch I ame trying to compile a src file for windows but I get

gcc act_comm.c -D_GNU_SOURCE -g -Wall -O -ggdb -DNOCRYPT -c -o obj/act_comm.o
make: *** [obj/act_comm.o] Error 255

now my make file looks like this

# $Id $

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

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

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

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

# 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 $@

nodocs:
@ echo didn\'t read the docs did you!!!???

clean:
$(RM) -f $(OBJ_FILES) $(EXE) *~ *.bak *.orig *.rej

archive:
make clean && cd ../../ && tar -zcf dbz-`date -I`.tar.gz dbz && mv dbz*.tar.gz backup

if my make file is broken pleas tell me oo and if it is for linix that is good to I just need to know because I can then transfer it to my linix one yhanx :)
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 23 May 2003 09:12 PM (UTC)
Message
First, you had this post in the section for announcing new MUDs, whereas it is a post about compiling ROM, so I have moved it.

Quote:

ok I know you have gotten this like over 100 times but I couldent find it in the serch


I did a search for "255" and got quite a few returns, including in the compiling ROM section - I suggest you try that.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Proto-6   Canada  (26 posts)  Bio
Date Reply #2 on Sun 25 May 2003 07:22 PM (UTC)

Amended on Sun 25 May 2003 07:23 PM (UTC) by Proto-6

Message
ooops Im sory about that I wasent paying attenchion and I shuld have checkrd the serch better I think I messed up and typed 225 instead of 255.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


14,251 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.