Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: make moduels  (Read 3396 times)

0 Members and 1 Guest are viewing this topic.

craig

  • Guest
make moduels
« on: May 25, 2007, 03:57:51 PM »

im trying to make some modules but i get this do u know what im doing wrong????

Quote

craiguk@stealth:~/anope-1.7.18/src/modules$ make modules
cc -O -pipe  -rdynamic -Wall  -I../ -c cs_denyregchan.c
cs_denyregchan.c:1:20: module.h: No such file or directory
cs_denyregchan.c:39: error: syntax error before '*' token
cs_denyregchan.c: In function `AnopeInit':
cs_denyregchan.c:42: error: `Command' undeclared (first use in this function)
cs_denyregchan.c:42: error: (Each undeclared identifier is reported only once
cs_denyregchan.c:42: error: for each function it appears in.)
cs_denyregchan.c:42: error: `c' undeclared (first use in this function)
cs_denyregchan.c:43: warning: implicit declaration of function `createCommand'
cs_denyregchan.c:43: error: `NULL' undeclared (first use in this function)
cs_denyregchan.c:44: warning: implicit declaration of function `moduleAddCommand'
cs_denyregchan.c:44: error: `CHANSERV' undeclared (first use in this function)
cs_denyregchan.c:44: error: `MOD_HEAD' undeclared (first use in this function)
cs_denyregchan.c:45: warning: implicit declaration of function `alog'
cs_denyregchan.c:45: error: `s_ChanServ' undeclared (first use in this function)
cs_denyregchan.c:47: warning: implicit declaration of function `moduleAddAuthor'
cs_denyregchan.c:48: warning: implicit declaration of function `moduleAddVersion'
cs_denyregchan.c:49: error: `MOD_CONT' undeclared (first use in this function)
cs_denyregchan.c: In function `AnopeFini':
cs_denyregchan.c:54: error: `s_ChanServ' undeclared (first use in this function)
cs_denyregchan.c: At top level:
cs_denyregchan.c:57: error: syntax error before '*' token
cs_denyregchan.c: In function `do_denyreg':
cs_denyregchan.c:59: error: `ChannelInfo' undeclared (first use in this function)
cs_denyregchan.c:59: error: `ci' undeclared (first use in this function)
cs_denyregchan.c:60: warning: implicit declaration of function `moduleGetLastBuffer'
cs_denyregchan.c:60: warning: initialization makes pointer from integer without a cast
cs_denyregchan.c:61: warning: implicit declaration of function `myStrGetToken'
cs_denyregchan.c:61: warning: initialization makes pointer from integer without a cast
cs_denyregchan.c:62: warning: implicit declaration of function `cs_findchan'
cs_denyregchan.c:63: warning: implicit declaration of function `stricmp'
cs_denyregchan.c:64: warning: implicit declaration of function `notice_lang'
cs_denyregchan.c:64: error: `s_ChanServ' undeclared (first use in this function)
cs_denyregchan.c:64: error: `u' undeclared (first use in this function)
cs_denyregchan.c:64: error: `CHAN_MAY_NOT_BE_REGISTERED' undeclared (first use in this function)
cs_denyregchan.c:65: warning: implicit declaration of function `free'
cs_denyregchan.c:66: error: `MOD_STOP' undeclared (first use in this function)
cs_denyregchan.c:70: error: `MOD_CONT' undeclared (first use in this function)
*** Error code 1

Stop in /usr/home/craiguk/anope-1.7.18/src/modules.



Craig
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #1 on: May 25, 2007, 04:26:51 PM »

you need to execute the make modules command from the source main directory, not from src/modules
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

craig

  • Guest
(No subject)
« Reply #2 on: May 25, 2007, 06:01:53 PM »

Thank you that worked :)
Logged
Pages: [1]   Go Up