hello
how to fix this problem?
whem i install any modules example ns_welcome
anope-1.8.7/src/modules)$ make modules
cc -O2 -fno-strict-aliasing -pipe -rdynamic -Wall -I../ -c ns_welcome.c
ns_welcome.c:1:20: module.h: No such file or directory
ns_welcome.c:24: error: `NULL' undeclared here (not in a function)
ns_welcome.c: In function `AnopeInit':
ns_welcome.c:33: error: `EvtHook' undeclared (first use in this function)
ns_welcome.c:33: error: (Each undeclared identifier is reported only once
ns_welcome.c:33: error: for each function it appears in.)
ns_welcome.c:33: error: `hook' undeclared (first use in this function)
ns_welcome.c:35: warning: implicit declaration of function `createEventHook'
ns_welcome.c:35: error: `EVENT_RELOAD' undeclared (first use in this function)
ns_welcome.c:36: warning: implicit declaration of function `moduleAddEventHook'
ns_welcome.c:36: error: `MOD_ERR_OK' undeclared (first use in this function)
ns_welcome.c:37: warning: implicit declaration of function `alog'
ns_welcome.c:38: error: `MOD_STOP' undeclared (first use in this function)
ns_welcome.c:40: error: `EVENT_NICK_REGISTERED' undeclared (first use in this function)
ns_welcome.c:51: warning: implicit declaration of function `moduleAddAuthor'
ns_welcome.c:52: warning: implicit declaration of function `moduleAddVersion'
ns_welcome.c:55: error: `MOD_CONT' undeclared (first use in this function)
ns_welcome.c: In function `AnopeFini':
ns_welcome.c:60: warning: implicit declaration of function `free'
ns_welcome.c: In function `welcome_user':
ns_welcome.c:67: warning: implicit declaration of function `notice'
ns_welcome.c:67: error: `s_NickServ' undeclared (first use in this function)
ns_welcome.c: In function `load_config':
ns_welcome.c:74: error: syntax error before "confvalues"
*** Error code 1
Stop in /usr/home/chat/anope-1.8.7/src/modules.
and when i delete the module from src/modules and type make modules
anope-1.8.7/src/modules)$ make modules
Graph cycles through ns_welcome.o
`modules' not remade because of errors.
dunno what happened because it was working perfecr before
same errors with
Graph cycles through ban_ip.o
Graph cycles through bs_perchannelfantasy.o
Graph cycles through os_flood.o
Graph cycles through os_restrictemail.o
[/b]