SV: patching Newbie style

From: Neal Robinson. (nrobinso@c2i.net)
Date: 02/02/99


-----Opprinnelig melding-----
Fra: Donald P. Taylor <dtay@iquest.net>
Til: Neal Robinson. <nrobinso@c2i.net>
Dato: 1. februar 1999 03:51
Emne: RE: patching


Right Thanks Donald,

I picked up a copy of a file called bpl14+.zip from
http://home.earthlink.net/~caminturn/bpl14+.zip
it seems to be a finished patched Circle and OLC+
with DGscripts. saved me a lot of handpatching, 8)
but then came the compiling hmmm.
I am using circle30bpl14 and Cygnus GNU-Win32. and
when i compiled i got this text

cd src; make
d src; make
make ../bin/circle
gcc -c -g -O2 -Wall  comm.c
In file included from comm.c:14:
sysdep.h:178: crypt.h: No such file or directory
In file included from comm.c:14:
sysdep.h:204: sys/select.h: No such file or directory
make[1]: *** [comm.o] Error 1
make: *** [all] Error 2
[1]+  Done                    ./configure  (wd: //H/circle/circle)
(wd now: //H/circle/circle/src)

So next I looked at sysdep.h and enclosed the lines
178 like this
/* #ifdef HAVE_CRYPT_H
#include <crypt.h>
#endif */

wrote make again and the crypt.h problem went away.
then I did the same in line 204 added /*------ */

wrote make again and big trouble

act.wizard.c: In function `find_target_room':
act.wizard.c:178: warning: subscript has type `char'
act.wizard.c: In function `do_load':
act.wizard.c:1106: warning: subscript has type `char'
act.wizard.c: In function `do_vstat':
act.wizard.c:1155: warning: subscript has type `char'

so i suppose i wasnt meant to rem out lines 204 in sysdep.h
where did I go wrong?

Regards Neal Robinson.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST