Anope IRC Services

Anope Development => Modules => Topic started by: Alex on September 12, 2006, 12:45:22 PM

Title: Mdule cs_operonly_register.c
Post by: Alex on September 12, 2006, 12:45:22 PM
Hello,

I just wondered if module cs_operonly_register.c are available only for Anope-1.7.14? I was just trying to install but got the following err.messages:

ircd_admin.c:116: error: missing terminating " character
ircd_admin.c:117: error: `network' undeclared (first use in this function)
ircd_admin.c:117: error: (Each undeclared identifier is reported only once
ircd_admin.c:117: error: for each function it appears in.)
ircd_admin.c:117: error: missing terminating " character
ircd_admin.c:119: error: syntax error before ';' token
ircd_admin.c: In function `do_amode':
ircd_admin.c:172: error: missing terminating " character
ircd_admin.c:173: error: `specified' undeclared (first use in this function)
ircd_admin.c:173: error: missing terminating " character
ircd_admin.c:174: error: syntax error before "return"
ircd_admin.c: In function `do_aswhois':
ircd_admin.c:191: error: missing terminating " character
ircd_admin.c:192: error: `specified' undeclared (first use in this function)
ircd_admin.c:192: error: missing terminating " character
ircd_admin.c:193: error: syntax error before "return"
gmake[1]: *** [ircd_admin.o] Error 1

All help would be appreciated.
Title:
Post by: n00bie on September 12, 2006, 01:00:01 PM
Hi, your'e talking about the module cs_operonly_register.c and looking at the error code you are pasting, the error comes from a module called ircd_admin.c which stops all compilation for other module(s). So, if you want to compile cs_operonly_register.c module, firstly the ircd_admin.c needs to be fixed or have to be removed/deleted from the 'src/modules/' folder. I hope you got what i meant.


[Edited on 12-9-2006 by n00bie]
Title:
Post by: Alex on September 12, 2006, 01:02:58 PM
Hello n00bie,

Will take a look into it later today and see if I can fix it.  Anyway, thanks for your help. ;)