Mensagem original enviada por lavinpj1
The anope docs/a google search would tell you that, but...
Place the .c in /src/modules
cd to the main anope dir
make modules
make install
then /os modload module_name at your ircd
Whem I di this, there are many errors that I will post here:
*** Building src
make[1]: Entering directory `/home/imperium/anope-1.7.10/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/imperium/anope-1.7.10/src'
(cd src/modules ; ./configure ; make 'CFLAGS=-pipe -g -O2 -I/usr/include/mysql -pthread -export-dynamic' 'CC=gcc' 'ANOPELIBS=-lnsl -lresolv -lbsd -lmysqlclient -ldl' 'LDFLAGS=-L/usr/lib/mysql ' 'BINDEST=/home/imperium/services' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/bin/touch' 'SHELL=/bin/sh' 'DATDEST=/home/imperium/services' 'RUNGROUP=' 'MODULE_PATH=/home/imperium/services/modules/' 'RDB=rdb.c ' 'MYSQL=mysql.c ' 'SHARED=-shared' 'MODULEFLAGS=-fPIC -DPIC -shared' all; )
make[1]: Entering directory `/home/imperium/anope-1.7.10/src/modules'
gcc -pipe -g -O2 -I/usr/include/mysql -pthread -export-dynamic -g -rdynamic -Wall -fPIC -DPIC -shared -I../../include -c ns_ajoin.c
ns_ajoin.c: In function `AnopeInit':
ns_ajoin.c:521: warning: implicit declaration of function `db_keepalive'
ns_ajoin.c: In function `get_src_dests':
ns_ajoin.c:687: warning: unused variable `destination'
ns_ajoin.c: In function `notice_user_ww':
ns_ajoin.c:840: warning: implicit declaration of function `vasprintf'
ns_ajoin.c: In function `ns_ajoin_replace':
ns_ajoin.c:1551: warning: unused variable `oldchanlist'
ns_ajoin.c: In function `ns_ajoin_list':
ns_ajoin.c:1606: warning: suggest parentheses around assignment used as truth value
ns_ajoin.c: In function `do_on_identify':
ns_ajoin.c:1766: warning: suggest parentheses around assignment used as truth value
ns_ajoin.c:1783: error: `CMODE_i' undeclared (first use in this function)
ns_ajoin.c:1783: error: (Each undeclared identifier is reported only once
ns_ajoin.c:1783: error: for each function it appears in.)
ns_ajoin.c: In function `group_info_ids':
ns_ajoin.c:1898: warning: suggest parentheses around assignment used as truth value
ns_ajoin.c: In function `get_ajoin_list':
ns_ajoin.c:1968: warning: suggest parentheses around assignment used as truth value
ns_ajoin.c: In function `update_ajoin_list':
ns_ajoin.c:2063: warning: unused variable `tempstr2'
make[1]: *** [ns_ajoin.o] Error 1
make[1]: Leaving directory `/home/imperium/anope-1.7.10/src/modules'
make: *** [modules] Error 2
What´s the problem? I get this archive in this site... sub secction modules...