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.
 Entire forum ➜ SMAUG ➜ Compiling the server ➜ Possible zlib problem?

Possible zlib problem?

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


Posted by Daraku   (15 posts)  Bio
Date Tue 15 Dec 2009 02:08 PM (UTC)
Message
I've been reading through some of the posts, and although one of them seems to be alike to my problem, I am unaware if that is still the problem. I'm trying to make DBS2.0 with Cygwin, here's the error.


Quote:

Vengeance@user1 ~/dbs/src
$ make
make dbs
make[1]: Entering directory `/home/Vengeance/dbs/src'
rm -f dbsaga
gcc -o dbsaga act_comm.o act_info.o act_move.o act_obj.o act_wiz.o ban.o board.
o boards.o bounty.o build.o clans.o colorize.o comm.o comments.o const.o db.o de
ity.o editor.o fight.o finger.o grub.o handler.o hashstr.o hiscores.o hotboot.o
house.o ibuild.o ident.o imm_host.o interp.o magic.o makeobjs.o malloc.o mapout.
o marry.o misc.o mpxset.o mud_comm.o mud_prog.o new_fun.o pfiles.o planes.o plan
et.o player.o polymorph.o rare.o requests.o reset.o save.o services.o shops.o sk
ills.o skills_android.o skills_dbs.o space.o special.o stat_obj.o tables.o track
.o update.o dns.o -lcrypt -DMCCP -lm -lz
fight.o: In function `damage':
/home/Vengeance/dbs/src/fight.c:2545: undefined reference to `_floorl'
/home/Vengeance/dbs/src/fight.c:2558: undefined reference to `_floorl'
collect2: ld returned 1 exit status
make[1]: *** [dbs] Error 1
make[1]: Leaving directory `/home/Vengeance/dbs/src'
make: *** [all] Error 2


It's been a loong time(like, I've forgotten almost everything) since I've coded, and I've never had to put a MUD up on my machine.
Top

Posted by Hanaisse   Canada  (114 posts)  Bio
Date Reply #1 on Tue 15 Dec 2009 02:37 PM (UTC)
Message
Two things you could try..

In your Makefile find
#NEED_CRYPT = -NOCRYPT

and uncomment. That may take care of the lcrypt error.

Also in the Makefile find
OPT_FLAG = -DMCCP

and comment that line out. MCCP and Cygwin don't like each other.

Make clean and make. If you still have problems let us know.

aka: Hana
Owner in Training of: Fury of the Gods
alm-dev.org:4000
Top

Posted by Daraku   (15 posts)  Bio
Date Reply #2 on Tue 15 Dec 2009 02:58 PM (UTC)
Message
Alright, I fixed that, got the file to make, and now I'm seeing this;
Quote:

Vengeance@user1 ~/dbs/src
$ ./startup 6000
limit: Command not found.
ulimit: Command not found.
mv: cannot move `../log/syslog.9' to `../log/archived/1000.log': No such file or directory
mv: cannot stat `backup/dbsbackup.current.tar.gz': No such file or directory
tar: backup/exclude.list: No such file or directory
tar: Error is not recoverable: exiting now


I was getting an entire line about the syslogs, 2-9, so I made those files in the log folder, that fixed it up until syslog.9
Top

Posted by Hanaisse   Canada  (114 posts)  Bio
Date Reply #3 on Tue 15 Dec 2009 03:15 PM (UTC)
Message
Interesting. Don't be worried about the limits, that can be ignored.

Try this; in your startup file uncomment these lines:
#    rm ../log/syslog.9

and a little further down all this:
#
# cd ../../
#
# mv backup/dbsbackup.current.tar.gz backup/dbsbackup.previous.tar.gz
#
# tar -czf backup/dbsbackup.current.tar.gz -X backup/exclude.list ./dbs
#
# cd dbs/area

See if that helps. I'm just guessing at this point but they look as close as possible to the errors you got.
Don't forget to make clean/make again.

aka: Hana
Owner in Training of: Fury of the Gods
alm-dev.org:4000
Top

Posted by Daraku   (15 posts)  Bio
Date Reply #4 on Tue 15 Dec 2009 03:22 PM (UTC)
Message
The MUD is running. I checked through the syslog, and it said it was up, so I logged, and viola, it does work.

I haven't made any of those changes, though. Should I, if the MUD is up and working(for now)?
Top

Posted by Hanaisse   Canada  (114 posts)  Bio
Date Reply #5 on Tue 15 Dec 2009 03:29 PM (UTC)
Message
Nice. There may possibly be errors with logging but if it works no, don't change it.

Enjoy :)

aka: Hana
Owner in Training of: Fury of the Gods
alm-dev.org:4000
Top

Posted by Daraku   (15 posts)  Bio
Date Reply #6 on Tue 15 Dec 2009 06:01 PM (UTC)
Message
Thanks for the help.
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.


19,868 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.