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
➜ Makefile help
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Wandering_Ponderer
(27 posts) Bio
|
Date
| Sun 28 Aug 2005 02:30 PM (UTC) Amended on Sun 28 Aug 2005 02:43 PM (UTC) by Wandering_Ponderer
|
Message
| Alright. So in my attempts these days of examining every codebase I can I've stumbled across one called 'Shades of Gray'. It's a derivative of Anatolia..or Icey Depths. One of the two. Anyway, when compiling, I get the following:
'gcc -g -Wall -O -pipe -I . -DLINUX -c util.c
gcc -g -Wall -O -pipe -I . -DLINUX -c varr.c
make: *** No rule to make target `ban.o', needed by `sog'. Stop.'
Here's my makefile:
#
# $Id: Makefile.dist,v 1.7 1999/04/15 10:45:43 fjoe Exp $
#
CC = gcc
LD = gcc
INCLUDES = -I .
CFLAGS = -g -Wall -O -pipe $(INCLUDES)
LFLAGS = -g
LIBS =
INSTALL_PATH = ..
#
# for FreeBSD
#CFLAGS += -DBSD44
#LIBS += -lcrypt
#
# for Linux
CFLAGS += -DLINUX
LIBS += -lcrypt
#
# for SunOS 5 (Solaris)
#CFLAGS += -DSUNOS
#LIBS += -lsocket -lnsl
#CFILES += compat/strsep.c compat/snprintf.c
#OFILES += strsep.o snprintf.o
#
# for Unixware 2.x
#CFLAGS += -DSVR4 -DOLD_RAND
#LIBS += -lsocket -lnsl -lcrypt
#CFILES += compat/strsep.c
#OFILES += strsep.o
#
# Generally Makefile should not be edited below this line
#
COMM_CFILES = comm/ban.c comm/charset.c comm/comm.c comm/comm_act.c\
comm/comm_colors.c comm/comm_info.c comm/resolver.c
COMM_OFILES = ban.o charset.o comm.o comm_act.o\
comm_colors.o comm_info.o resolver.o
DB_CFILES = db/db.c db/db_area.c db/db_clan.c db/db_class.c db/db_hometown.c\
db/db_lang.c db/db_race.c db/db_skills.c db/db_socials.c\
db/db_system.c\
db/cmd.c db/gsn.c db/hometown.c db/lang.c db/msg.c db/spellfn.c\
db/socials.c
DB_OFILES = db.o db_area.o db_clan.o db_class.o db_hometown.o\
db_lang.o db_race.o db_skills.o db_socials.o\
db_system.o\
cmd.o gsn.o hometown.o lang.o msg.o spellfn.o\
socials.o
OLC_CFILES = olc/olc.c olc/olc_area.c olc/olc_clan.c olc/olc_help.c\
olc/olc_lang.c olc/olc_mob.c olc/olc_mpcode.c olc/olc_msg.c\
olc/olc_room.c olc/olc_rule.c olc/olc_obj.c olc/olc_save.c\
olc/olc_social.c
OLC_OFILES = olc.o olc_area.o olc_clan.o olc_help.o\
olc_lang.o olc_mob.o olc_mpcode.o olc_msg.o\
olc_room.o olc_rule.o olc_obj.o olc_save.o\
olc_social.o
CFILES = act_comm.c act_info.c act_move.c act_obj.c act_wiz.c auction.c\
buffer.c clan.c class.c\
effects.c fight.c flag.c handler.c healer.c help.c\
hunt.c interp.c log.c lookup.c magic.c magic2.c martial_art.c mem.c\
mlstring.c mob_cmds.c mob_prog.c namedp.c note.c obj_prog.c quest.c\
race.c raffects.c rating.c recycle.c religion.c repair.c\
save.c skills.c special.c str.c string_edit.c\
tables.c update.c util.c varr.c\
$(COMM_CFILES) $(DB_CFILES) $(OLC_CFILES)
OFILES = act_comm.o act_info.o act_move.o act_obj.o act_wiz.o auction.o\
buffer.o clan.o class.o\
effects.o fight.o flag.o handler.o healer.o help.o\
hunt.o interp.o log.o lookup.o magic.o magic2.o martial_art.o mem.o\
mlstring.o mob_cmds.o mob_prog.o namedp.o note.o obj_prog.o quest.o\
race.o raffects.o rating.o recycle.o religion.o repair.o\
save.o skills.o special.o str.o string_edit.o\
tables.o update.o util.o varr.o\
$(COMM_OFILES) $(DB_OFILES) $(OLC_OFILES)
sog: $(OFILES)
rm -f sog
$(LD) $(LFLAGS) -o sog $(OFILES) $(LIBS)
.c.o:
$(CC) $(CFLAGS) -c $<
depend:
mkdep $(CFLAGS) $(CFILES)
clean:
rm -f *.o *.core sog
ctags:
ctags -dtw $(CFILES) *.h comm/*.h compat/*.h db/*.h olc/*.h
gtags:
gtags -co .
install: sog
install -c -m 770 sog $(INSTALL_PATH)/bin
***End makefile
Thanks in advance for any help any of you may be able to give. Also, does anyone know if there is any OLC available for Anatolia? I took a look at Icey Depths, which is a derivative of Anatolia and supposedly has OLC built into it, but I still need to get some bugs worked out. Basically, it compiles and runs (I gave full paths to gender.rus, etc..) but I can't connect to it... Thanks again | 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.
7,560 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top