[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  ROM
. -> [Folder]  Compiling the server
. . -> [Subject]  Please help me fix my makefile.

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Please help me fix my makefile.
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by WangFoo   (3 posts)  [Biography] bio
Date 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.
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date 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
[Go to top] top

Posted by WangFoo   (3 posts)  [Biography] bio
Date 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
[Go to top] top

Posted by WangFoo   (3 posts)  [Biography] 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
[Go to top] 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,753 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]