Am i missing something really silly ?
using anope 1.6.5 - which is working fine
[ircd@server modules]$ ./configure
All done! Now run "make" (or possibly "gmake") to compile your modules.
See the INSTALL, README and FAQ files if you have any problems.
[ircd@server modules]$ make
gcc -O2 -D_REENTRANT -g -rdynamic -Wall -c cs_autoowner.c
cs_autoowner.c: In function `AnopeInit':
cs_autoowner.c:90: error: `EvtHook' undeclared (first use in this function)
cs_autoowner.c:90: error: (Each undeclared identifier is reported only once
cs_autoowner.c:90: error: for each function it appears in.)
cs_autoowner.c:90: error: `hook' undeclared (first use in this function)
cs_autoowner.c:92: warning: implicit declaration of function `moduleMinVersion'
cs_autoowner.c:97: error: `ircd' undeclared (first use in this function)
cs_autoowner.c:104: warning: implicit declaration of function `createEventHook'
cs_autoowner.c:104: error: `EVENT_RELOAD' undeclared (first use in this function )
cs_autoowner.c:104: warning: implicit declaration of function `moduleAddEventHoo k'
cs_autoowner.c:105: error: `EVENT_JOIN_CHANNEL' undeclared (first use in this fu nction)
cs_autoowner.c:106: error: `EVENT_NICK_IDENTIFY' undeclared (first use in this f unction)
cs_autoowner.c:118: warning: implicit declaration of function `moduleSetType'
cs_autoowner.c:118: error: `THIRD' undeclared (first use in this function)
cs_autoowner.c: In function `do_on_join':
cs_autoowner.c:141: error: `EVENT_STOP' undeclared (first use in this function)
cs_autoowner.c:144: error: `UseTS6' undeclared (first use in this function)
cs_autoowner.c:144: error: `ircd' undeclared (first use in this function)
cs_autoowner.c:145: warning: implicit declaration of function `find_byuid'
cs_autoowner.c:145: warning: assignment makes pointer from integer without a cas t
cs_autoowner.c:161: warning: implicit declaration of function `stripModePrefix'
cs_autoowner.c:161: warning: assignment makes pointer from integer without a cas t
cs_autoowner.c:162: warning: implicit declaration of function `anope_cmd_mode'
cs_autoowner.c: In function `do_set_modes':
cs_autoowner.c:210: error: `ircd' undeclared (first use in this function)
cs_autoowner.c:210: warning: assignment makes pointer from integer without a cas
t
cs_autoowner.c: In function `reload_config':
cs_autoowner.c:223: error: `EVENT_START' undeclared (first use in this function)
cs_autoowner.c: In function `load_config':
cs_autoowner.c:234: error: `Directive' undeclared (first use in this function)
cs_autoowner.c:234: error: syntax error before "confvalues"
cs_autoowner.c:233: warning: unused variable `i'
make: *** [cs_autoowner.o] Error 1
[ircd@server modules]$