Anope IRC Services

Anope Development => Modules => Topic started by: DragonRyder on January 23, 2008, 12:04:13 AM

Title: [ns_joinhelpchan.o] Error 1
Post by: DragonRyder on January 23, 2008, 12:04:13 AM
i get this error:

Code: [Select]
gcc -pipe -g -O2 -I/usr/local/include/mysql -fno-strict-aliasing -pipe -export-dynamic -rdynamic -Wall -fPIC -DPIC -shared -I../../include -c ns_joinhelpchan.c
ns_joinhelpchan.c: In function `joinhelp':
ns_joinhelpchan.c:53: error: too few arguments to function `anope_cmd_svsjoin'
ns_joinhelpchan.c:59: error: too few arguments to function `anope_cmd_svsjoin'
gmake[1]: *** [ns_joinhelpchan.o] Error 1
gmake[1]: Leaving directory `/usr/home/zebulon/anope-1.7.21/src/modules'
gmake: *** [modules] Error 2


can someone help me asap please

[Edited on 1-22-2008 by DragonRyder]
Title:
Post by: katsklaw on January 23, 2008, 12:21:05 AM
moving to modules since ns_joinhelpchan is not a module supported by the Anope Team. Contact the module author.
Title:
Post by: DragonRyder on January 23, 2008, 12:23:53 AM
its in your anope - when i do ./Config then do gmake inside of anope that is when i get that specific error.
Title:
Post by: DragonRyder on January 23, 2008, 12:43:57 AM
ok i found the issue -- some schmuck tried to use that module -- adnnow anope wont remove it from its memory -- adn that module is NOT in there when i run it

someone used it in the anope 19 -- and i am trying to run 21 -- any ideas how to clear this form memory so i can fix?
Title:
Post by: katsklaw on January 23, 2008, 12:46:24 AM
The module is not supported. Since the Anope team did not write it, we do not support it. This module does not come with Anope therefore we do not support it. Anope is however smart enough to dynamiclly detect modules placed in the source directory and will try to compile said modules along with the rest of Anope. This is for your convenience only. You can take a text file and rename it blah.c and place it in the modules directory and Anope will try to compile it, but that by no means makes it "our Anope's" fault it can not compile.

your error: ns_joinhelpchan.c:53: error: too few arguments to function `anope_cmd_svsjoin' is because anope_cmd_svsjoin was updated in 1.7.20 and the module author has not corrected the code to handle the change.

[Edited on 22-1-2008 by katsklaw]
Title:
Post by: DragonRyder on January 23, 2008, 01:27:04 AM
and i said before i found the issue - what i can not resolve is why does it keep trying to compile themodule -- when the module was removed and i typed:


make clean
Title:
Post by: katsklaw on January 23, 2008, 01:29:21 AM
removed from where? Anope will try to compile any file with the .c extension that is in src/modules or src/core for that matter.

[Edited on 22-1-2008 by katsklaw]
Title:
Post by: DragonRyder on January 23, 2008, 06:22:19 AM
we got it fixed -- had to clear out my puttys history -- was wierd aerror caused by putty -- thanks for the heads up -- adn if you want you can close this one and remove it -- sorry for issue.