Home  
  Download  
  FAQ  
NeoStats Software Forum Index NeoStats Software
NeoStats Software Forums
 
Frequently Asked Questions.FAQ   Search through forums.Search   See your private message.Log in to check your private messages   Register.Register   Log in to use your nick and profile settings.Log in

Problem with fedora core 4 and ircd.c

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    NeoStats Software Forum Index -> NeoStats Support
View previous topic :: View next topic  
Author Message
pwpreacher
Village Guru


Joined: 13 Jul 2003
Posts: 28

PostPosted: Thu Jun 16, 2005 2:16 pm    Post subject: Problem with fedora core 4 and ircd.c Reply with quote

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
View user's profile Send private message
Fish
NeoStats Developer
NeoStats Developer


Joined: 02 Mar 2002
Posts: 2521
Location: Singapore

PostPosted: Thu Jun 16, 2005 8:15 pm    Post subject: Reply with quote

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. Smile
_________________
Fish Cool
----------------------------------
[img]http://fwd.pulver.com/myicon.php?userid=61367[/img]
Back to top
View user's profile Send private message Visit poster's website
pwpreacher
Village Guru


Joined: 13 Jul 2003
Posts: 28

PostPosted: Fri Jun 17, 2005 2:19 pm    Post subject: Reply with quote

Fish wrote:
remove the "static" keyword from ircd.c line 47 so it looks like this:
Code:
long services_bot_umode= 0;


Thanks Smile

Fish wrote:
Geez, you don't waste time upgrading. Smile


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 Wink

Many thanks for the fast reply

Will go and try it now

shalom

Preacher Cool
Back to top
View user's profile Send private message
pwpreacher
Village Guru


Joined: 13 Jul 2003
Posts: 28

PostPosted: Fri Jun 17, 2005 2:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Fish
NeoStats Developer
NeoStats Developer


Joined: 02 Mar 2002
Posts: 2521
Location: Singapore

PostPosted: Sun Jun 19, 2005 6:19 pm    Post subject: Reply with quote

Could i get access to the shell so I can fix any remaining issues?
email me at justin at dynam dot ac if its cool
_________________
Fish Cool
----------------------------------
[img]http://fwd.pulver.com/myicon.php?userid=61367[/img]
Back to top
View user's profile Send private message Visit poster's website
Torzten
Villager


Joined: 22 Jul 2005
Posts: 3

PostPosted: Fri Jul 22, 2005 12:58 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Fish
NeoStats Developer
NeoStats Developer


Joined: 02 Mar 2002
Posts: 2521
Location: Singapore

PostPosted: Fri Jul 22, 2005 1:00 am    Post subject: Reply with quote

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 Cool
----------------------------------
[img]http://fwd.pulver.com/myicon.php?userid=61367[/img]
Back to top
View user's profile Send private message Visit poster's website
Torzten
Villager


Joined: 22 Jul 2005
Posts: 3

PostPosted: Fri Jul 22, 2005 4:07 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Fish
NeoStats Developer
NeoStats Developer


Joined: 02 Mar 2002
Posts: 2521
Location: Singapore

PostPosted: Fri Jul 22, 2005 4:54 am    Post subject: Reply with quote

Quote:
I said i removed that word " long services_bot_umode= 0; " on line 47

That is not a word!!!!!!!! Christ. Read this: Word
_________________
Fish Cool
----------------------------------
[img]http://fwd.pulver.com/myicon.php?userid=61367[/img]
Back to top
View user's profile Send private message Visit poster's website
Torzten
Villager


Joined: 22 Jul 2005
Posts: 3

PostPosted: Fri Jul 22, 2005 5:02 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Fish
NeoStats Developer
NeoStats Developer


Joined: 02 Mar 2002
Posts: 2521
Location: Singapore

PostPosted: Fri Jul 22, 2005 5:12 am    Post subject: Reply with quote

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 Cool
----------------------------------
[img]http://fwd.pulver.com/myicon.php?userid=61367[/img]
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    NeoStats Software Forum Index -> NeoStats Support All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group