Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Module bs_fantasy.c error when compile  (Read 3706 times)

0 Members and 1 Guest are viewing this topic.

listen

  • Guest
Module bs_fantasy.c error when compile
« on: July 01, 2007, 02:36:09 PM »

hi guys i have any problem when compile bs_fantasy.c error
im use anope 1.7.14

amic -rdynamic -Wall -fPIC -DPIC -shared -I../../include -c bs_fantasy.c
bs_fantasy.c:210: warning: static declaration of 'unassign' follows non-static declaration
../../include/extern.h:75: warning: previous declaration of 'unassign' was here
bs_fantasy.c:211: warning: static declaration of 'is_real_founder' follows non-static declaration
../../include/extern.h:167: warning: previous declaration of 'is_real_founder' was here
bs_fantasy.c:216: warning: static declaration of 'get_mlock_modes' follows non-static declaration
../../include/extern.h:204: warning: previous declaration of 'get_mlock_modes' was here
bs_fantasy.c:237: warning: static declaration of 'insert_bot' follows non-static declaration
../../include/extern.h:76: warning: previous declaration of 'insert_bot' was here
bs_fantasy.c:241: warning: static declaration of 'makechan' follows non-static declaration
../../include/extern.h:202: warning: previous declaration of 'makechan' was here
bs_fantasy.c:283: error: conflicting types for 'levelinfo'
../../include/extern.h:150: error: previous declaration of 'levelinfo' was here
bs_fantasy.c:283: error: conflicting types for 'levelinfo'
../../include/extern.h:150: error: previous declaration of 'levelinfo' was here
bs_fantasy.c: In function `do_clear':
bs_fantasy.c:1468: warning: long unsigned int format, time_t arg (arg 4)
bs_fantasy.c: In function `do_set_mlock':
bs_fantasy.c:2463: error: `CMODE_r' undeclared (first use in this function)
bs_fantasy.c:2463: error: (Each undeclared identifier is reported only once
bs_fantasy.c:2463: error: for each function it appears in.)
bs_fantasy.c: In function `do_suspend':
bs_fantasy.c:2884: warning: long unsigned int format, time_t arg (arg 4)
gmake[1]: *** [bs_fantasy.o] Error 1

need help :)

[Editado el 1-7-2007 por listen]

[Editado el 1-7-2007 por listen]

[Editado el 1-7-2007 por listen]
Logged

katsklaw

  • Guest
(No subject)
« Reply #1 on: July 01, 2007, 03:28:24 PM »

you should upgrade to 1.7.19, 1.7.14 has quite a few bugs in it. Addionally, bs_fantasy is more than 3 years old and it's likely that it won't compile even on 1.7.14

So you know 1.7.19 comes with basic bs_fantasy commands :)
Logged

listen

  • Guest
(No subject)
« Reply #2 on: July 10, 2007, 11:21:55 PM »

hi i'm upgrade to anope 1.7.19
but when i want to use this module http://www.anope.org/modules/bs_fantasy.c
bs_fantasy.c advance command
the problem persists
gcc -pipe -g -O2 -export-dynamic -rdynamic -Wall -fPIC -DPIC -shared -I../../inc                  lude -c bs_fantasy.c
bs_fantasy.c:211: warning: static declaration of 'unassign' follows non-static d                  eclaration
../../include/extern.h:79: warning: previous declaration of 'unassign' was here
bs_fantasy.c:212: warning: static declaration of 'is_real_founder' follows non-s                  tatic declaration
../../include/extern.h:167: warning: previous declaration of 'is_real_founder' w                  as here
bs_fantasy.c:217: warning: static declaration of 'get_mlock_modes' follows non-s                  tatic declaration
../../include/extern.h:204: warning: previous declaration of 'get_mlock_modes' w                  as here
bs_fantasy.c:238: warning: static declaration of 'insert_bot' follows non-static                   declaration
../../include/extern.h:80: warning: previous declaration of 'insert_bot' was her                  e
bs_fantasy.c:242: warning: static declaration of 'makechan' follows non-static d                  eclaration
../../include/extern.h:202: warning: previous declaration of 'makechan' was here
bs_fantasy.c:284: error: conflicting types for 'levelinfo'
../../include/extern.h:150: error: previous declaration of 'levelinfo' was here
bs_fantasy.c:284: error: conflicting types for 'levelinfo'
../../include/extern.h:150: error: previous declaration of 'levelinfo' was here
bs_fantasy.c: In function `do_clear':
bs_fantasy.c:1469: warning: long unsigned int format, time_t arg (arg 4)
bs_fantasy.c: In function `do_set_mlock':
bs_fantasy.c:2464: error: `CMODE_r' undeclared (first use in this function)
bs_fantasy.c:2464: error: (Each undeclared identifier is reported only once
bs_fantasy.c:2464: error: for each function it appears in.)
bs_fantasy.c: In function `do_suspend':
bs_fantasy.c:2885: warning: long unsigned int format, time_t arg (arg 4)
gmake[1]: *** [bs_fantasy.o] Error 1
gmake[1]: Leaving directory `/usr/home/comcastt/anope-1.7.19/src/modules'
gmake: *** [modules] Error 2

it can be some failure of programming or is not compatible with my anope?
help me ty

[Editado el 10-7-2007 por listen]

[Editado el 10-7-2007 por listen]
Logged

katsklaw

  • Guest
(No subject)
« Reply #3 on: July 10, 2007, 11:28:41 PM »

Your nick maybe "listen" but you don't do alot of it .. I've already told you the solution.
Logged
Pages: [1]   Go Up