Register forum user name Search FAQ

Gammon Forum

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 ➜ a sample makefile

a sample makefile

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Drakemir   (4 posts)  Bio
Date Tue 16 Dec 2003 12:27 PM (UTC)
Message
Greetins, I was wondering if I could ask a favor
would it be posible to get a sample makefile for a rom server shown, as I have NO idea how to make one;/

also, whats the command to get out of grep ? :)

Thanks!

d-
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Tue 16 Dec 2003 01:28 PM (UTC)
Message
The ROM distributions should come with makefiles, I would have assumed... it's a little odd if they don't. Can't help you much there...

As for getting out of grep, I'm not quite sure what you mean since when you type the command, it gives the results and terminates, but you can always try pressing ctrl-c.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Drakemir   (4 posts)  Bio
Date Reply #2 on Wed 17 Dec 2003 01:06 AM (UTC)
Message
Aye it seems that the makefile was lost in a backup.. so tryin to rebuild one from scratch..:(


its a rom build, with olc, just tryin to remeber what was in teh makefile it was years ago;/

D
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #3 on Wed 17 Dec 2003 01:16 AM (UTC)
Message
Can't you get a new one from a distribution, and work off of that instead of doing it from scratch? Seems a lot easier to me... :)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Drakemir   (4 posts)  Bio
Date Reply #4 on Wed 17 Dec 2003 02:44 AM (UTC)
Message
figured out the makefile.. but problems compiling.
got this error, so close but so far.. any ideas?


$ make
rm -f rom
gcc -O -g -lcrypt -o rom act_comm.o act_enter.o act_info.o act_move.o act_obj.
act_wiz.o alias.o ban.o comm.o const.o db.o db2.o effects.o fight.o flags.o ha
ler.o healer.o interp.o note.o lookup.o magic.o magic2.o music.o recycle.o sav
o scan.o skills.o special.o tables.o update.o
c:/djgpp/bin/ld.exe: cannot find -lcrypt
collect2: ld returned 1 exit status
make.exe: *** [rom] Error 1
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #5 on Wed 17 Dec 2003 07:05 AM (UTC)
Message
Since you're running on Windows, you don't have the crypt library... you need to define NOCRYPT somewhere, so that it doesn't use it, and then take out a part that says "-lcrypt" in the makefile. Do a search on this forum for crypt, you should find some more detailed answers. :)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Drakemir   (4 posts)  Bio
Date Reply #6 on Wed 17 Dec 2003 11:26 AM (UTC)
Message
Aye it seems that the makefile was lost in a backup.. so tryin to rebuild one from scratch..:(


its a rom build, with olc, just tryin to remeber what was in teh makefile it was years ago;/

D
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.


20,674 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.