Re: [CIRCLE-OLC] compile error

From: Peter Nielsen (acido@dvmud.net)
Date: 05/13/00


On Sat, 13 May 2000, Nathaniel White wrote:

> heyas,
>     I got this error but i cant seem to get rid of it, i get it when compiling the patch for OasisOLCv2.0.
>
> comm.c: In function 'get_max_players':
> comm.c:542: 'max_playing' undeclared (first use in this function)
> comm.c:542: (Each undeclared identifier is reported only once
> comm.c:542 for each function it appears in.)
> comm.c: In function 'new_descriptor':
> comm.c:1192: 'socklen_t' undeclared (first use in this function)
> comm.c:1192: parse error before 'i'
> comm.c:1192: 'i' undeclared (first use in this function)
> make[1]: *** [comm.o] Error 1
>
> thanks
> NWhite
>
>

don't know about the max_playing.. it's max_players on my mud so might wanna
try that but if not a extern int max_playing; should do the trick..

socklen_t dosn't exist on my mud either socket_t??

you propably missed a ; after decleration of your i? int i; eg..


     +------------------------------------------------------------+
     | 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 : 04/10/01 PDT