[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]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  Possible zlib problem?
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Possible zlib problem?

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Daraku   (15 posts)  [Biography] bio
Date Tue 15 Dec 2009 02:08 PM (UTC)  quote  ]
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.
[Go to top] top

Posted by Hanaisse   Canada  (114 posts)  [Biography] bio
Date Reply #1 on Tue 15 Dec 2009 02:37 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Daraku   (15 posts)  [Biography] bio
Date Reply #2 on Tue 15 Dec 2009 02:58 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Hanaisse   Canada  (114 posts)  [Biography] bio
Date Reply #3 on Tue 15 Dec 2009 03:15 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Daraku   (15 posts)  [Biography] bio
Date Reply #4 on Tue 15 Dec 2009 03:22 PM (UTC)  quote  ]
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)?
[Go to top] top

Posted by Hanaisse   Canada  (114 posts)  [Biography] bio
Date Reply #5 on Tue 15 Dec 2009 03:29 PM (UTC)  quote  ]
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
[Go to top] top

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


2,559 views.

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

[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]    [Web site powered by FutureQuest.Net]