can't stop the file

Posted by DarthOberon on Sun 15 Sep 2013 12:28 PM — 5 posts, 25,120 views.

#0
I have compiled DBSC 2.5 source code and had it working on my home computer. I had looked over the logs and saw no reason for the crash I had when I hotbooted. Now I tried to make clean and make again to run clean. It errored and now I can't catch the process to kill it as it bounces id numbers faster than you can type. It's also generating alot of archived log files. I'm not sure how to stop this process and have gotten quite flustered. I beg of anyone who knows more than I to help.

-Darth Oberon
#1
think I figured out the killing of that one. Now when I try to make the file I get this error.

gcc -c -DMCCP -O -g3 -Wall -DTIMEFORMAT -DIMC -DIMCSMAUG sha256.c
rm -f dbsaga
gcc -DMCCP -lm -lz -o dbsaga imc.o 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 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 skills_genie.o space.o special.o stat_obj.o tables.o track.o update.o dns.o new_auth.o sha256.o
comm.o: In function `write_to_descriptor':
/home/Bones/dbsc/src/comm.c:1754: undefined reference to `deflate'
/home/Bones/dbsc/src/comm.c:1754:(.text+0x50a): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `deflate'
comm.o: In function `compressStart':
/home/Bones/dbsc/src/comm.c:5797: undefined reference to `deflateInit_'
/home/Bones/dbsc/src/comm.c:5797:(.text+0x4215): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `deflateInit_'
comm.o: In function `compressEnd':
/home/Bones/dbsc/src/comm.c:5832: undefined reference to `deflate'
/home/Bones/dbsc/src/comm.c:5832:(.text+0x4325): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `deflate'
/home/Bones/dbsc/src/comm.c:5838: undefined reference to `deflateEnd'
/home/Bones/dbsc/src/comm.c:5838:(.text+0x434c): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `deflateEnd'
collect2: error: ld returned 1 exit status
Makefile:74: recipe for target `dbs' failed
make[1]: *** [dbs] Error 1
make[1]: Leaving directory `/home/Bones/dbsc/src'
Makefile:71: recipe for target `all' failed
make: *** [all] Error 2
Australia Forum Administrator #2
Looks like zLib is not installed properly.
Australia Forum Administrator #3
DarthOberon said:

It errored and now I can't catch the process to kill it as it bounces id numbers faster than you can type.


You can always run it under gdb.

http://www.gammon.com.au/gdb
#4
Thank you for taking the time to help me mr. Nick. I was able to rectify the zlib by doing make clean, ./configure the make again. Th process I couldn't catch I was able to kill by doing a process kill from windows command line by taskkill on the bash process that was running background. I was able to get my sagas code recompiled and running again. Once again thank you for a speedy response.