View
previous topic :: View
next topic |
Author |
Message |
pwpreacher Village Guru
Joined: 13 Jul
2003 Posts: 28
|
Posted: Thu Jun
16, 2005 2:16 pm Post
subject: Problem with fedora core 4 and ircd.c |
|
|
Code: |
Neostats version 2.5.21
gcc (GCC)
4.0.0 20050519 (Red Hat 4.0.0-8)
configured
manually with ./configure --enable-ultimate3
--enable-modules="cs statserv extauth"
| on make
get this error
Code: |
gcc -O2 -g -fPIC -DPIC -DNDEBUG
-I. -Iadns -Ikeeper -Icurl -c ircd.c ircd.c:47:
error: static declaration of āservices_bot_umodeā
follows non-static declaration ircd.h:79: error:
previous declaration of āservices_bot_umodeā was here
make: *** [ircd.o] Error 1
|
shalom
Preacher | |
Back
to top |
|
|
Fish NeoStats
Developer
Joined: 02 Mar 2002 Posts: 2521 Location:
Singapore
|
Posted: Thu Jun
16, 2005 8:15 pm Post
subject: |
|
|
remove the "static" keyword
from ircd.c line 47 so it looks like this:
Code: |
long services_bot_umode=
0; |
Geez,
you don't waste time upgrading. _________________ Fish ---------------------------------- [img]http://fwd.pulver.com/myicon.php?userid=61367[/img] | |
Back
to top |
|
|
pwpreacher Village Guru
Joined: 13 Jul
2003 Posts: 28
|
Posted: Fri Jun
17, 2005 2:19 pm Post
subject: |
|
|
Fish wrote: |
remove the "static" keyword from ircd.c
line 47 so it looks like this:
Code: |
long services_bot_umode=
0; | |
Thanks
Fish wrote: |
Geez, you don't waste time upgrading.
|
Well gotta do it one day, and yum
upgrade does make life easier, so long as you know how to use
it, and what to do to get it working
Many thanks for the fast reply
Will
go and try it now
shalom
Preacher | |
Back
to top |
|
|
pwpreacher Village Guru
Joined: 13 Jul
2003 Posts: 28
|
Posted: Fri Jun
17, 2005 2:52 pm Post
subject: |
|
|
Code: |
make[2]: Leaving directory
`/home/neostats/NeoStats-2.5.21/dl/statserv' <===
modules/statserv ===> modules/extauth
make[2]: Entering directory
`/home/neostats/NeoStats-2.5.21/dl/extauth' ld
-shared -o extauth.so ld: no input
files make[2]: *** [extauth.so] Error 1 make[2]:
Leaving directory
`/home/neostats/NeoStats-2.5.21/dl/extauth' make[1]:
*** [all] Error 1 make[1]: Leaving directory
`/home/neostats/NeoStats-2.5.21/dl' make: ***
[modules] Error 2
|
/me smiles sweetly @ fish | |
Back
to top |
|
|
Fish NeoStats
Developer
Joined: 02 Mar 2002 Posts: 2521 Location:
Singapore
|
|
Back
to top |
|
|
Torzten Villager
Joined: 22 Jul 2005 Posts:
3
|
Posted: Fri Jul
22, 2005 12:58 am
Post subject: |
|
|
Hi have the same problem
first i reviced this error message
ircd.c:47:
error: static declaration of āservices_bot_umodeā follows
non-static declaration ircd.h:79: error: previous
declaration of āservices_bot_umodeā was here make: ***
[ircd.o] Fel 1
i removed that static line at line 47.
but now i recive another error message
ircd.o(.text+0xf6): I funktionen "init_ircd":
/home/fredrik/NeoStats-2.5.21/ircd.c:73: undefined
reference to `services_bot_umode' ircd.o(.text+0x23ff): I
funktionen "signon_newbot":
/home/fredrik/NeoStats-2.5.21/ircd.c:245: undefined
reference to `services_bot_umode' collect2: ld returned 1
exit status make: *** [neostats] Fel 1
can you
help me | |
Back
to top |
|
|
Fish NeoStats
Developer
Joined: 02 Mar 2002 Posts: 2521 Location:
Singapore
|
Posted: Fri Jul
22, 2005 1:00 am Post
subject: |
|
|
Fish wrote: |
remove the "static" keyword from ircd.c
line 47 so it looks like this:
Code: |
long services_bot_umode=
0; |
|
Remove a word, not a
line _________________ Fish ---------------------------------- [img]http://fwd.pulver.com/myicon.php?userid=61367[/img] | |
Back
to top |
|
|
Torzten Villager
Joined: 22 Jul 2005 Posts:
3
|
Posted: Fri Jul
22, 2005 4:07 am Post
subject: |
|
|
I said i removed that word
" long services_bot_umode= 0; " on line 47
after that
i run make. and then i recived this error message
ircd.o(.text+0xf6): I funktionen "init_ircd":
/home/fredrik/NeoStats-2.5.21/ircd.c:73: undefined
reference to `services_bot_umode' ircd.o(.text+0x23ff): I
funktionen "signon_newbot":
/home/fredrik/NeoStats-2.5.21/ircd.c:245: undefined
reference to `services_bot_umode' collect2: ld returned 1
exit status make: *** [neostats] Fel 1 | |
Back
to top |
|
|
Fish NeoStats
Developer
Joined: 02 Mar 2002 Posts: 2521 Location:
Singapore
|
|
Back
to top |
|
|
Torzten Villager
Joined: 22 Jul 2005 Posts:
3
|
Posted: Fri Jul
22, 2005 5:02 am Post
subject: |
|
|
i removed this command long
services_bot_umode= 0;
then when i run make
i
recived this error message
ircd.o(.text+0xf6): I
funktionen "init_ircd":
/home/fredrik/NeoStats-2.5.21/ircd.c:73: undefined
reference to `services_bot_umode' ircd.o(.text+0x23ff): I
funktionen "signon_newbot":
/home/fredrik/NeoStats-2.5.21/ircd.c:245: undefined
reference to `services_bot_umode' collect2: ld returned 1
exit status make: *** [neostats] Fel 1 | |
Back
to top |
|
|
Fish NeoStats
Developer
Joined: 02 Mar 2002 Posts: 2521 Location:
Singapore
|
Posted: Fri Jul
22, 2005 5:12 am Post
subject: |
|
|
Torzten
wrote: |
i removed this command long
services_bot_umode= 0;
|
I suggest you take a lesson in english,
because its obvious you are not even trying to understand what
I'm saying. Thread Locked. _________________ Fish ---------------------------------- [img]http://fwd.pulver.com/myicon.php?userid=61367[/img] | |
Back
to top |
|
|
|