Re: Errors: Any help?

From: blah (merren@MINDCRYME.COM)
Date: 04/27/98


Put this at the top:

extern struct command_info cmd_info[];

That should fix.

Melen
Allanthya.org 4000

On Mon, 27 Apr 1998, Quinn ShadowStalker wrote:

> ok I tried adding the aedit patch to my code and most of it worked cept
> when I go to compile it screws up at act.social.c and there is no rej file
> for it.
> here is the error.
>
> gcc -c -g -O2 -Wall  act.social.c
> act.social.c: In function `do_gf':
> act.social.c:371: `cmd_info' undeclared (first use in this function)
> act.social.c:371: (Each undeclared identifier is reported only once
> act.social.c:371: for each function it appears in.)
> act.social.c: In function `do_wf':
> act.social.c:493: `cmd_info' undeclared (first use in this function)
> act.social.c: In function `do_tf':
> act.social.c:622: `cmd_info' undeclared (first use in this function)
> act.social.c: In function `do_gtf':
> act.social.c:730: `cmd_info' undeclared (first use in this function)
>
>             _,
>         _.-{__}-._
>       .:-'`____`'-:.
>      /_.-"`_  _`"-._\
>     /`   / .\/. \   `\     Eric Cartman of South Park
>     |    \__/\__/    |
>   .-\                /-.
>  /   '._-.__--__.-_.'   \   Matt Roach - Owner of OnyxMUD
>  /`'.  `""""""""`    .'`\"I dont have bugs......just randomly created features!"
>   |  |      '       |   |   matt@shiva.ml.org    quinn@mud.comsys.net
>  .'-;`______'________`;-'
>   `--------------------`
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+
>


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



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