02 Oct, 2009, Xrakisis wrote in the 1st comment:
Votes: 0
gcc -O  -lnsl -lsocket -o ground0 act_comm.o act_info.o act_move.o act_obj.o act_wiz.o comm.o db.o handler.o interp.o save.o fight.o update.o memory.o
/usr/lib/gcc/i486-slackware-linux/4.3.3/../../../../i486-slackware-linux/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status
make: *** [ground0] Error 1
ianshirm@zeno:~/ground0/src$


Im trying to compile Groundzero and im getting this.. any idea how to fix it?
02 Oct, 2009, Tyche wrote in the 2nd comment:
Votes: 0
libsocket is used on FreeBSD.
Remove it and try to link.
I believe most of the functions on Linux live in libc.
02 Oct, 2009, Xrakisis wrote in the 3rd comment:
Votes: 0
i grepped lib and libsocket and didnt get any hits, except <stdlib.h>
02 Oct, 2009, Tyche wrote in the 4th comment:
Votes: 0
gcc -O -lnsl -lsocket -o ground0 act…

Remove the above parameter which causes the linker to try to find libsocket
02 Oct, 2009, Xrakisis wrote in the 5th comment:
Votes: 0
i removed -lsocket from the Makfile,
when i connect to the mud i get
…………………………………………………………………………………………………………………..
and the periods continue at a rate of two per second.
02 Oct, 2009, Zeno wrote in the 6th comment:
Votes: 0
Try gdb?
02 Oct, 2009, Xrakisis wrote in the 7th comment:
Votes: 0
no startup file so i ran the mud in gdb..

every second i got two periods attached to the line, within the mud, then it would go to the next line
and so forth.

0 Fri Oct  2 17:07:32 2009: Ground ZERO is ready to rock on port 2853.
^0 Fri Oct 2 17:07:32 2009: Ground ZERO is ready to rock on port 2853.
^[[3~*********40 Fri Oct 2 17:07:42 2009: TICK 0

**********80 Fri Oct 2 17:07:52 2009: TICK 1

****rm: cannot remove `1000.resolve': No such file or directory
93 Fri Oct 2 17:07:55 2009: Sock.sinaddr: 172.164.41.229
******120 Fri Oct 2 17:08:02 2009: TICK 2

**********160 Fri Oct 2 17:08:12 2009: TICK 3

**********200 Fri Oct 2 17:08:22 2009: TICK 4

**********240 Fri Oct 2 17:08:32 2009: TICK 5

**********280 Fri Oct 2 17:08:42 2009: TICK 6

**********320 Fri Oct 2 17:08:52 2009: TICK 7

**********360 Fri Oct 2 17:09:02 2009: TICK 8[/code]
0.0/7