hey all, i have been trying to add mob progs... i patched it in, all went easily, i only had to hand patch the makefile, but when i try to compile, i get lots of errors... i am wondering if anyone else had these errors, and what they did to fix them? i think its probably something really small thats causing them, but looking through the code, i really cant tell. thanks in advance Nic Suzor -=-=-=-=-=-=-=-=-=-=-=THE ERRORS=-=-=-=-=-=-=-=-=-=- cc -c -g -O -Wall -fno-strict-prototypes mobcmd.c In file included from mobcmd.c:39: structs.h:956: parse error before `socket_t' structs.h:956: warning: no semicolon at end of struct or union structs.h:957: warning: data definition has no type or storage class structs.h:989: parse error before `}' In file included from mobcmd.c:44: comm.h:33: parse error before `desc' comm.h:43: parse error before `sigfunc' comm.h:43: warning: data definition has no type or storage class mobcmd.c: In function `do_mptransfer': mobcmd.c:591: dereferencing pointer to incomplete type mobcmd.c:593: dereferencing pointer to incomplete type mobcmd.c:594: dereferencing pointer to incomplete type mobcmd.c:595: dereferencing pointer to incomplete type mobcmd.c:596: dereferencing pointer to incomplete type mobcmd.c:596: dereferencing pointer to incomplete type mobcmd.c:596: dereferencing pointer to incomplete type mobcmd.c:596: dereferencing pointer to incomplete type mobcmd.c:596: dereferencing pointer to incomplete type mobcmd.c:596: dereferencing pointer to incomplete type mobcmd.c:599: dereferencing pointer to incomplete type mobcmd.c: In function `do_mpforce': mobcmd.c:678: dereferencing pointer to incomplete type mobcmd.c:679: dereferencing pointer to incomplete type mobcmd.c:679: dereferencing pointer to incomplete type mobcmd.c:680: dereferencing pointer to incomplete type mobcmd.c:681: dereferencing pointer to incomplete type mobcmd.c:682: dereferencing pointer to incomplete type mobcmd.c:682: dereferencing pointer to incomplete type mobcmd.c:676: warning: `vch' might be used uninitialized in this function make[1]: *** [mobcmd.o] Error 1 make[1]: Leaving directory `/home/system/mudroot/circlebpl11/src' make: *** [default] Error 2 +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST