Anope IRC Services
Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: TheShip on January 06, 2010, 08:45:58 AM
-
hi all!
When I make a few modules provide anope-1.8.0 ex: ns_ajoin, os_massserv, ns_totaltime.c modules...,I have encountered the following error:
in function `anopeinit':
error: too few arguments to function `createcommand'
plz help me fix this error! thank alot
-
you will have to paste the entire error so we can see which module is throwing it. I know for sure though that ns_ajoin will work nicely on any anope 1.8.
-
oh sorry
Here is the full error when i maked modules ns_ajoin
make[1]: Entering directory `/home/TheShip/anope-1.8.0/src'
gcc -pipe -g -O2 -export-dynamic -fPIC -DPIC -shared -I../include/ -c mod_version.c
gcc -pipe -g -O2 -export-dynamic actions.o base64.o botserv.o channels.o chanserv.o commands.o compat.o config.o datafiles.o encrypt.o events.o helpserv.o hostserv.o init.o ircd.o language.o list.o log.o mail.o main.o memory.o memoserv.o messages.o misc.o modules.o news.o nickserv.o operserv.o process.o send.o servers.o sessions.o slist.o sockutil.o timeout.o users.o -lnsl -lresolv -ldl -o services
make[1]: Leaving directory `/home/TheShip/anope-1.8.0/src'
(cd src/modules ; ./configure ; make 'CFLAGS=-pipe -g -O2 -export-dynamic' 'CC=gcc' 'ANOPELIBS=-lnsl -lresolv -ldl' 'LDFLAGS=' 'BINDEST=/home/TheShip/services' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'DATDEST=/home/TheShip/services' 'RUNGROUP=' 'MODULE_PATH=/home/TheShip/services/modules/' 'RDB=' 'MYSQL=' 'SHARED=-shared' 'MODULEFLAGS=-fPIC -DPIC -shared' all; )
make[1]: Entering directory `/home/TheShip/anope-1.8.0/src/modules'
gcc -pipe -g -O2 -export-dynamic -rdynamic -Wall -fPIC -DPIC -shared -I../../include -c ns_ajoin.c
ns_ajoin.c: In function `AnopeInit':
ns_ajoin.c:436: error: too few arguments to function `createCommand'
ns_ajoin.c:446: error: too few arguments to function `createCommand'
ns_ajoin.c:452: error: too few arguments to function `createCommand'
ns_ajoin.c:458: error: too few arguments to function `createCommand'
ns_ajoin.c:466: error: too few arguments to function `createCommand'
ns_ajoin.c:472: error: too few arguments to function `createCommand'
ns_ajoin.c:479: error: too few arguments to function `createCommand'
make[1]: *** [ns_ajoin.o] Error 1
make[1]: Leaving directory `/home/TheShip/anope-1.8.0/src/modules'
make: *** [modules] Error 2
-
what version of ns_ajoin is this ???
Verify you are using the latest version available from the modules site.
-
*Name : ns_ajoin
* Author : Viper <Viper@Anope.org>
* Date : 23/10/2006 (Last update: 02/12/2009)
* Version : 4.2.2
I downloaded from http://modules.anope.org/index.php?page=view&id=73
-
compiles nicely for just about everyone so far.. try redownloading the src code.