This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

1.6.13 in death throws.. Can't compile 1.6.15

Old posts that have not been replied to for several years.
Locked
R
RedACE

1.6.13 in death throws.. Can't compile 1.6.15

Post by RedACE »

I currently have 3 bots running 1.6.13. Somehow the userfiles on two of them got screwed up. I was able to recover from a backup on one of my bots. However, the hub bot's userfile was lot. I tried deleting it and making it again with ./eggdrop -m Vulcan.conf. The bot is responsive for about 15 seconds, before it just stops responding. The CPU usage of the eggdrop is around 60% (the other bots are around 1%) and the bot won't respond to anything and times out on irc (if it was able to connect at all).

I thought I'd give 1.6.15 a try, but I can't compile it. I get the following error when running make:

server:~/eggdrop1.6.15$ make
make[1]: Entering directory `/home/andrew/eggdrop1.6.15/src'
(This may take a while. Go get some runts.)
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c bg.c
In file included from compat/compat.h:29,
from main.h:99,
from bg.c:27:
compat/inet_ntop.h:36: parse error before `socklen_t'
make[1]: *** [bg.o] Error 1
make[1]: Leaving directory `/home/andrew/eggdrop1.6.15/src'
make: *** [modegg] Error 2
server:~/eggdrop1.6.15$

Anyone have any suggestions for either or both of my problems?
Thanks,
Andrew
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

To fix your compile problem, try editing compat/inet_ntop.h and adding this line right before #include <sys/socket.h> :

#include <sys/types.h>

dunno if it'll work but worth a shot

that said, your problem sounds very strange. If you feel like it, you could run strace on the bot and see what it is doing... the syntax is like

strace -p botpid, where botpid is the pid of the bot (heh)
Locked