Re: [NEWBIE] Mobprogs

From: Devastations Mud Admin-Team (mch@thantos.mudservices.com)
Date: 10/10/96


I may be wrong here but I would look for a missing ')' or ']' or '}' 
prolly around line 33 or above.  Just count out your '(' and ')' etc.most 
likely they will not match-up.

Andrew

On Fri, 11 Oct 1996, Nic Suzor wrote:

> Hi,
> this is a resend, as i sent this a while ago, and i assume that either my
> mail did not get through or mail replying was overlooked :)
> i have been trying to install the mobprog patch for bpl11, and everything
> goes in nicely, but when i try to compile, i get hundreds of error messages:
> 
> 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 `mprog_type_to_name':
> mobcmd.c:73: `IN_FILE_PROG' undeclared (first use this function)
> mobcmd.c:73: (Each undeclared identifier is reported only once
> mobcmd.c:73: for each function it appears in.)
> mobcmd.c:74: `ACT_PROG' undeclared (first use this function)
> mobcmd.c:75: `SPEECH_PROG' undeclared (first use this function)
> mobcmd.c:76: `RAND_PROG' undeclared (first use this function)
> mobcmd.c:77: `FIGHT_PROG' undeclared (first use this function)
> mobcmd.c:78: `HITPRCNT_PROG' undeclared (first use this function)
> mobcmd.c:79: `DEATH_PROG' undeclared (first use this function)
> mobcmd.c:80: `ENTRY_PROG' undeclared (first use this function)
> mobcmd.c:81: `GREET_PROG' undeclared (first use this function)
> mobcmd.c:82: `ALL_GREET_PROG' undeclared (first use this function)
> mobcmd.c:83: `GIVE_PROG' undeclared (first use this function)
> mobcmd.c:84: `BRIBE_PROG' undeclared (first use this function)
> mobcmd.c:85: warning: unreachable code at beginning of switch tatement
> mobcmd.c: In function `do_mpasound':
> mobcmd.c:138: `MOBTrigger' undeclared (first use this function)
> mobcmd.c:1297: dereferencing pointer to incomplete type 
> mobcmd.c:1298: dereferencing pointer to incomplete type
> mobcmd.c:1298: dereferencing pointer to incomplete type
> mobcmd.c:1298: dereferencing pointer to incomplete type
> mobcmd.c:1298: dereferencing pointer to incomplete type
> mobcmd.c:1298: dereferencing pointer to incomplete type
> 
> and more of the same...
> 
> i get the feeling that i might have missed just one little thing, but i have
> no idea... 
> thanks in advance :)
> 
> Nic Suzor
> 
> +-----------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> |   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
> +-----------------------------------------------------------+
> 
+-----------------------------------------------------------+
| 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