You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't seem to figure out why X3 won't compile with the blacklist module:
mod-blacklist.c: In function ‘blacklist_init’:
mod-blacklist.c:401:23: warning: passing argument 1 of ‘reg_new_user_func’ from incompatible pointer type
reg_new_user_func(blacklist_check_user);
^
In file included from gline.h:24:0,
from mod-blacklist.c:22:
hash.h:414:6: note: expected ‘new_user_func_t’ but argument is of type ‘int (*)(struct userNode *)’
void reg_new_user_func(new_user_func_t handler, void *extra);
^
mod-blacklist.c:401:5: error: too few arguments to function ‘reg_new_user_func’
reg_new_user_func(blacklist_check_user);
^
In file included from gline.h:24:0,
from mod-blacklist.c:22:
hash.h:414:6: note: declared here
void reg_new_user_func(new_user_func_t handler, void *extra);
^
mod-blacklist.c:402:19: warning: passing argument 1 of ‘reg_exit_func’ from incompatible pointer type
reg_exit_func(blacklist_cleanup);
^
In file included from recdb.h:24:0,
from conf.h:24,
from mod-blacklist.c:21:
common.h:172:6: note: expected ‘exit_func_t’ but argument is of type ‘void (*)(void)’
void reg_exit_func(exit_func_t handler, void *extra);
^
mod-blacklist.c:402:5: error: too few arguments to function ‘reg_exit_func’
reg_exit_func(blacklist_cleanup);
^
In file included from recdb.h:24:0,
from conf.h:24,
from mod-blacklist.c:21:
common.h:172:6: note: declared here
void reg_exit_func(exit_func_t handler, void *extra);
^
Makefile:411: recipe for target 'mod-blacklist.o' failed
make[2]: *** [mod-blacklist.o] Error 1
make[2]: Leaving directory '/home/ircd/x3-source/src'
Makefile:285: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/ircd/x3-source/src'
Makefile:268: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
The text was updated successfully, but these errors were encountered:
I'm afraid that module had not been used in a long time, and some of the
functions it uses have had changes. I suggest doing blacklist checks in
the nefarius ircd with iauth instead.
-Rubin
On Oct 5, 2015 11:06 AM, "Robert Whitney" [email protected] wrote:
I can't seem to figure out why X3 won't compile with the blacklist module:
mod-blacklist.c: In function ‘blacklist_init’:
mod-blacklist.c:401:23: warning: passing argument 1 of ‘reg_new_user_func’
from incompatible pointer type
reg_new_user_func(blacklist_check_user);
^
In file included from gline.h:24:0,
from mod-blacklist.c:22:
hash.h:414:6: note: expected ‘new_user_func_t’ but argument is of type
‘int ()(struct userNode *)’
void reg_new_user_func(new_user_func_t handler, void *extra);
^
mod-blacklist.c:401:5: error: too few arguments to function
‘reg_new_user_func’
reg_new_user_func(blacklist_check_user);
^
In file included from gline.h:24:0,
from mod-blacklist.c:22:
hash.h:414:6: note: declared here
void reg_new_user_func(new_user_func_t handler, void *extra);
^
mod-blacklist.c:402:19: warning: passing argument 1 of ‘reg_exit_func’
from incompatible pointer type
reg_exit_func(blacklist_cleanup);
^
In file included from recdb.h:24:0,
from conf.h:24,
from mod-blacklist.c:21:
common.h:172:6: note: expected ‘exit_func_t’ but argument is of type ‘void
()(void)’
void reg_exit_func(exit_func_t handler, void extra);
^
mod-blacklist.c:402:5: error: too few arguments to function ‘reg_exit_func’
reg_exit_func(blacklist_cleanup);
^
In file included from recdb.h:24:0,
from conf.h:24,
from mod-blacklist.c:21:
common.h:172:6: note: declared here
void reg_exit_func(exit_func_t handler, void *extra);
^
Makefile:411: recipe for target 'mod-blacklist.o' failed
make[2]: ** [mod-blacklist.o] Error 1
make[2]: Leaving directory '/home/ircd/x3-source/src'
Makefile:285: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/ircd/x3-source/src'
Makefile:268: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
—
Reply to this email directly or view it on GitHub #35.
I can't seem to figure out why X3 won't compile with the blacklist module:
The text was updated successfully, but these errors were encountered: