Re: SV: patching Newbie style

From: Xual (xual@satanspawn.ml.org)
Date: 02/02/99


> 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)

This bit is confusing... were you running configure in the background
while compiling?  Make sure that you let the configure process complete
itself before trying to compile.

> (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 */

configure will take care of this problem as well.

> 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'

These aren't errors, but warnings.  If you want to get rid of them, use
sprinttype() (see do_stat_character() for an example) or you can typecast,

ie:  pc_class_types[(int)GET_CLASS(ch)]
instead of: pc_class_types[GET_CLASS(ch)]


"Misery is boundless"
        -Xual the Torturer, on the Eve of the Sundering.

Danathara Online RPG
telnet://danathara.ml.org:4000


     +------------------------------------------------------------+
     | 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