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
➜ Problems Compiling ROM24b6
Problems Compiling ROM24b6
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Arkane
(3 posts) Bio
|
Date
| Fri 07 Feb 2003 01:42 AM (UTC) |
Message
| I'm currently running Win98 and am using a Cygwin Bash Shell,I don't really know what's wrong, I've created the makefile and everything but every time I try to compile it I get the following error.
make: *** [act_comm.o] Error 255
Can someone please help me? | Top |
|
Posted by
| Cravin
(1 post) Bio
|
Date
| Reply #1 on Fri 07 Feb 2003 02:16 PM (UTC) |
Message
| If you have stock rom2.4b6, make your makefile look like this:
CC = gcc
PROF = -O -g
NOCRYPT = -DNOCRYPT
C_FLAGS = -Wall $(PROF) $(NOCRYPT) -DOLD_RAND
L_FLAGS = $(PROF)
O_FILES = act_comm.o act_enter.o act_info.o act_move.o act_obj.o act_wiz.o \
alias.o ban.o comm.o const.o db.o db2.o effects.o fight.o flags.o \
handler.o healer.o interp.o note.o lookup.o magic.o magic2.o \
music.o recycle.o save.o scan.o skills.o special.o tables.o \
update.o
rom: $(O_FILES)
rm -f rom
$(CC) $(L_FLAGS) -o rom $(O_FILES)
.c.o: merc.h
$(CC) -c $(C_FLAGS) $< | Top |
|
Posted by
| Arkane
(3 posts) Bio
|
Date
| Reply #2 on Sat 08 Feb 2003 12:44 AM (UTC) |
Message
| Ok, I did that but now I'm getting the following error:
Makefile:14: *** missing separator. Stop.
[1]+ Exit 2 make | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #3 on Mon 10 Feb 2003 10:30 PM (UTC) |
Message
| Make files are sensitive to tabs. Use the makefile suggested, but typing a tab character where shown in bold...
CC = gcc
PROF = -O -g
NOCRYPT = -DNOCRYPT
C_FLAGS = -Wall $(PROF) $(NOCRYPT) -DOLD_RAND
L_FLAGS = $(PROF)
O_FILES = act_comm.o act_enter.o act_info.o act_move.o act_obj.o act_wiz.o \
alias.o ban.o comm.o const.o db.o db2.o effects.o fight.o flags.o \
handler.o healer.o interp.o note.o lookup.o magic.o magic2.o \
music.o recycle.o save.o scan.o skills.o special.o tables.o \
update.o
rom: $(O_FILES)
[tab]rm -f rom
[tab] $(CC) $(L_FLAGS) -o rom $(O_FILES)
.c.o: merc.h
[tab] $(CC) -c $(C_FLAGS) $<
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Sephiroth
(6 posts) Bio
|
Date
| Reply #4 on Wed 26 Feb 2003 07:49 AM (UTC) Amended on Wed 26 Feb 2003 07:50 AM (UTC) by Sephiroth
|
Message
| Hey thanks, that worked, now if only I could get the grant command in *points to his most recent post*.
Hehehe...
(Changed my name cause I couldn't remember what I was registered under...sorry) | 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.
15,826 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top