|
Please help me fix my makefile.
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
WangFoo
(3 posts) bio
|
| Date |
Sun 18 Aug 2002 05:28 PM (UTC) [ quote
] |
| 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) [ quote
] |
| 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 (18,770 posts) bio
Forum Administrator |
| Date |
Reply #2 on Mon 19 Aug 2002 03:45 AM (UTC) [ quote
] |
| 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) [ quote
] |
| 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.
1,756 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )