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

Gammon 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]  DBSaga Compile on Ubuntu
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

DBSaga Compile on Ubuntu

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


Posted by Aaron   (1 post)  [Biography] bio
Date Sun 22 Mar 2009 11:59 PM (UTC)
Message
Not sure if this has been seen a thousand times or not but I am trying to compile the dbsc2.5.2 source to run a MUD and I keep getting this error

update.c: In function ‘time_update’:
update.c:4203: warning: the address of ‘buf’ will always evaluate as ‘true’
update.c:4144: warning: ‘buf[0u]’ may be used uninitialized in this function
gcc -c -O -g3 -Wall -Wuninitialized -DSMAUG -DTIMEFORMAT -DNOCRYPT dns.c
rm -f dbsaga
gcc -lm -lz -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 deity.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 planet.o player.o polymorph.o rare.o requests.o reset.o save.o services.o shops.o skills.o skills_android.o skills_dbs.o space.o special.o stat_obj.o tables.o track.o update.o dns.o
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[1]: *** [dbs] Error 1
make[1]: Leaving directory `/home/xxx/Desktop/dbsc2.5.2/src'
make: *** [all] Error 2

Not sure what it means so any help would be greatly appreciated! I am running this in Terminal off of UBuntu too
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Mon 23 Mar 2009 12:28 AM (UTC)
Message
Check out this post:

http://www.gammon.com.au/forum/bbshowpost.php?id=9319

You need to change the makefile slightly.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[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.


4,009 views.

It is now over 60 days since the last post. This thread is closed.     [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.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

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

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]