Anope IRC Services

Anope Development => Modules => Topic started by: X-Trancer on January 05, 2007, 08:46:44 AM

Title: Module ircd_init
Post by: X-Trancer on January 05, 2007, 08:46:44 AM
Hi all

Works ircd_init on Anope 1.7.18?
Title:
Post by: owine on January 05, 2007, 11:57:25 AM
it has worked for me thusfar with no issues.
Title:
Post by: dave-evad on January 30, 2007, 01:29:02 PM
can i ask how you got it to work,
Quote

Module ircd_init is compiled against an old version of anope (1182) current is 1214
Title:
Post by: SpaceDoG on January 30, 2007, 02:29:33 PM
You need to recompile the module. make modules && make install
Title:
Post by: katsklaw on January 30, 2007, 04:08:05 PM
if you are upgrading svn then you need to do an additional step after you do a svn up or svn checkout cd to the anope directory and do a make distclean then run ./Config, make and make install. If the module source code hadn't changed then to it doesn't get re-compiled against the newer version and make distclean deletes all the moules from the compile directory and starts over from scratch. meaining all the modules get re-compiled. which gives you a much cleaner installation.
Title:
Post by: DerPate on April 06, 2007, 05:27:20 PM
hi guys i have an other qustion is it possible to chane the modol in the way that chanserv do not join any channel because my user didn't like it

derpate
Title:
Post by: GhosT on April 07, 2007, 06:20:30 AM
Quote
Originally posted by DerPate
hi guys i have an other qustion is it possible to chane the modol in the way that chanserv do not join any channel because my user didn't like it

derpate


remove load_chanserv() ;)
Title:
Post by: Chad on May 07, 2007, 02:09:09 PM
Code: [Select]
All done!  Now run "make" (or possibly "gmake") to compile your modules.
See the INSTALL, README and FAQ files if you have any problems.
make[1]: Entering directory `/root/Anope/modules'
gcc -O2 -Wall -g -c ircd_init.c
ircd_init.c: In function `AnopeInit':
ircd_init.c:61: error: `MODULE_EXT' undeclared (first use in this function)
ircd_init.c:61: error: (Each undeclared identifier is reported only once
ircd_init.c:61: error: for each function it appears in.)
ircd_init.c: In function `load_chanserv':
ircd_init.c:75: warning: implicit declaration of function `anope_cmd_join'
ircd_init.c:76: error: `IRCDModule' undeclared (first use in this function)
ircd_init.c:83: warning: implicit declaration of function `anope_cmd_mode'
ircd_init.c: In function `cs_kick_rejoin':
ircd_init.c:101: error: `IRCDModule' undeclared (first use in this function)
ircd_init.c:113: warning: implicit declaration of function `anope_cmd_kick'
ircd_init.c: In function `load_services':
ircd_init.c:121: error: `IRCDModule' undeclared (first use in this function)
ircd_init.c: In function `load_bots':
ircd_init.c:391: error: `nbots' undeclared (first use in this function)
ircd_init.c:397: error: `IRCDModule' undeclared (first use in this function)
ircd_init.c: In function `AnopeFini':
ircd_init.c:415: error: `MODULE_EXT' undeclared (first use in this function)
make[1]: *** [ircd_init.o] Error 1
make[1]: Leaving directory `/root/Anope/modules'
make: *** [modules] Error 2


I did as per the compiling instructions in the wiki... what is wrong here?
Title:
Post by: n00bie on May 07, 2007, 05:27:58 PM
Chad, please refer to this http://forum.anope.org/viewthread.php?tid=1459