Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: cs_autoowner  (Read 3742 times)

0 Members and 1 Guest are viewing this topic.

Gigabit

  • Guest
cs_autoowner
« on: September 02, 2007, 09:30:08 PM »

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]$
Logged

heinz

  • Guest
(No subject)
« Reply #1 on: September 02, 2007, 10:08:46 PM »

This module has been coded for the 1.7 series (it uses the event system), so it won't work with any 1.6 version.
Logged

Gigabit

  • Guest
(No subject)
« Reply #2 on: September 02, 2007, 10:39:47 PM »

tried with 1.7.19

[ircd@server modules]$ ./configure
[ircd@server modules]$ make
cc  -rdynamic -Wall  -I../ -c cs_autoowner.c
cs_autoowner.c:72:20: module.h: No such file or directory
cs_autoowner.c:82: error: syntax error before '*' token
cs_autoowner.c:83: error: syntax error before '*' token
cs_autoowner.c: In function `AnopeInit':
cs_autoowner.c:89: error: `Command' undeclared (first use in this function)
cs_autoowner.c:89: error: (Each undeclared identifier is reported only once
cs_autoowner.c:89: error: for each function it appears in.)
cs_autoowner.c:89: error: `c' undeclared (first use in this function)
cs_autoowner.c:89: error: `NULL' undeclared (first use in this function)
cs_autoowner.c:90: error: `EvtHook' undeclared (first use in this function)
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:93: warning: implicit declaration of function `alog'
cs_autoowner.c:93: error: `s_OperServ' undeclared (first use in this function)
cs_autoowner.c:94: error: `MOD_STOP' undeclared (first use in this function)
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:108: warning: implicit declaration of function `createCommand'
cs_autoowner.c:109: warning: implicit declaration of function `moduleAddCommand'
cs_autoowner.c:109: error: `NICKSERV' undeclared (first use in this function)
cs_autoowner.c:109: error: `MOD_TAIL' undeclared (first use in this function)
cs_autoowner.c:116: warning: implicit declaration of function `moduleAddAuthor'
cs_autoowner.c:117: warning: implicit declaration of function `moduleAddVersion'
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:121: error: `MOD_CONT' undeclared (first use in this function)
cs_autoowner.c: In function `AnopeFini':
cs_autoowner.c:126: error: `s_OperServ' undeclared (first use in this function)
cs_autoowner.c: In function `do_on_join':
cs_autoowner.c:130: error: `User' undeclared (first use in this function)
cs_autoowner.c:130: error: `u' undeclared (first use in this function)
cs_autoowner.c:131: error: `Channel' undeclared (first use in this function)
cs_autoowner.c:131: error: `c' undeclared (first use in this function)
cs_autoowner.c:131: error: `NULL' undeclared (first use in this function)
cs_autoowner.c:136: error: `MOD_CONT' undeclared (first use in this function)
cs_autoowner.c:141: warning: implicit declaration of function `stricmp'
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:147: warning: implicit declaration of function `finduser'
cs_autoowner.c:150: warning: implicit declaration of function `findchan'
cs_autoowner.c:154: warning: implicit declaration of function `nick_identified'
cs_autoowner.c:157: warning: implicit declaration of function `chan_get_user_sta                                                           tus'
cs_autoowner.c:159: warning: implicit declaration of function `get_access_level'
cs_autoowner.c:159: warning: implicit declaration of function `is_founder'
cs_autoowner.c:160: error: `CUS_OWNER' undeclared (first use in this function)
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:162: warning: implicit declaration of function `whosends'
cs_autoowner.c:163: warning: implicit declaration of function `free'
cs_autoowner.c:164: warning: implicit declaration of function `chan_set_user_sta                                                           tus'
cs_autoowner.c: In function `do_on_identify':
cs_autoowner.c:172: error: `User' undeclared (first use in this function)
cs_autoowner.c:172: error: `u' undeclared (first use in this function)
cs_autoowner.c:175: error: `MOD_CONT' undeclared (first use in this function)
cs_autoowner.c:182: error: `NSModeOnID' undeclared (first use in this function)
cs_autoowner.c: At top level:
cs_autoowner.c:188: error: syntax error before '*' token
cs_autoowner.c: In function `do_on_update':
cs_autoowner.c:189: error: `u' undeclared (first use in this function)
cs_autoowner.c:190: error: `MOD_CONT' undeclared (first use in this function)
cs_autoowner.c:192: error: `NSModeOnID' undeclared (first use in this function)
cs_autoowner.c: At top level:
cs_autoowner.c:200: error: syntax error before '*' token
cs_autoowner.c: In function `do_set_modes':
cs_autoowner.c:201: error: `NULL' undeclared (first use in this function)
cs_autoowner.c:203: error: `Channel' undeclared (first use in this function)
cs_autoowner.c:203: error: `c' undeclared (first use in this function)
cs_autoowner.c:206: error: `u' undeclared (first use in this function)
cs_autoowner.c:206: error: dereferencing pointer to incomplete type
cs_autoowner.c:207: error: dereferencing pointer to incomplete type
cs_autoowner.c:209: error: dereferencing pointer to incomplete type
cs_autoowner.c:209: error: `CUS_OWNER' undeclared (first use in this function)
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:218: error: `MOD_CONT' undeclared (first use in this function)
cs_autoowner.c: In function `reload_config':
cs_autoowner.c:223: error: `EVENT_START' undeclared (first use in this function)
cs_autoowner.c:224: error: `s_OperServ' undeclared (first use in this function)
cs_autoowner.c:228: error: `MOD_CONT' 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]$
Logged

Gigabit

  • Guest
(No subject)
« Reply #3 on: September 02, 2007, 11:02:38 PM »

all working, compiles fine when done with everything :>
Logged
Pages: [1]   Go Up