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
➜ Please help me fix my makefile.
Please help me fix my makefile.
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| WangFoo
(3 posts) Bio
|
Date
| Sun 18 Aug 2002 05:28 PM (UTC) |
Message
| Ok, I just found out that I can't post everything. so here is a snippet of the errors from the makefile.
olc_act.o: In function `medit_damdice':
/usr/local/actofwar/src/olc_act.c:4777: undefined reference to `__ctype_b'
olc_act.o: In function `medit_damdice':
/usr/include/stdlib.h:303: undefined reference to `__strtol_internal'
note.o: In function `load_thread':
/usr/local/actofwar/src/note.c:227: undefined reference to `_IO_getc'
/usr/local/actofwar/src/note.c:234: undefined reference to `__ctype_b'
db.o: In function `fread_string':
/usr/local/actofwar/src/db.c:2965: undefined reference to `_IO_getc'
/usr/local/actofwar/src/db.c:2967: undefined reference to `__ctype_b'
/usr/local/actofwar/src/db.c:2980: undefined reference to `_IO_getc'
I will post makefile in next post | Top |
|
Posted by
| WangFoo
(3 posts) Bio
|
Date
| Reply #1 on Sun 18 Aug 2002 05:29 PM (UTC) |
Message
| Here is makefile:
CC = gcc
PROF = -O -g
NOCRYPT =
C_FLAGS = -Wall $(PROF) $(NOCRYPT)
L_FLAGS = -lcrypt $(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 mob_cmds.o mob_prog.o olc.o olc_act.o olc_save.o bit.o \
mem.o string.o olc_mpcode.o mount.o quest.o hunt.o
rom: $(O_FILES)
rm -f rom
$(CC) $(L_FLAGS) -o rom $(O_FILES)
.c.o: merc.h
$(CC) -c $(C_FLAGS) $<
I appreciate your help | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #2 on Mon 19 Aug 2002 03:45 AM (UTC) |
Message
| Are you using Cygwin? What is the first error message? Maybe there is an include file missing. These errors sound serious, sounds like you don't have the proper system include files or something like that. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| WangFoo
(3 posts) Bio
|
Date
| Reply #3 on Mon 19 Aug 2002 11:22 PM (UTC) |
Message
| I was missing some include stuff that I saw in an earlier reply that u made to another post. it works now and I appreciate your time. | 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.
12,895 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top