egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can't startup eggdrop

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Froggaard
Voice


Joined: 25 Sep 2015
Posts: 13

PostPosted: Thu Sep 29, 2016 10:51 pm    Post subject: Can't startup eggdrop Reply with quote

Hello.

When i trying to startup my Eggdrop i got the following error
Quote:

Eggdrop v1.6.21 (C) 1997 Robey Pointer (C) 2011 Eggheads
[04:49:33] --- Loading eggdrop v1.6.21 (Fri Sep 30 2016)
[04:49:33] *** FAILED REALLOC misc.c (105)
[04:49:33] * Last context: tclhash.c/242 []
[04:49:33] * Please REPORT this BUG!
[04:49:33] * Check doc/BUG-REPORT on how to do so.
[04:49:33] * Wrote DEBUG
[04:49:33] * SEGMENT VIOLATION -- CRASHING!
Segmentation fault (core dumped)


I have tried to search it, but can't find any usefull info about in.

My setup is:
Ubuntu 16.04
Eggdrop: 1.6.21
TCL 8.6.6

My DEBUG files looks like this
Quote:
Debug (eggdrop v1.6.21) written Fri Sep 30 04:49:33 2016
Full Patch List:
Tcl library: /usr/local/lib/tcl8.6
Tcl version: 8.6.6 (header version 8.6.5)
Tcl is threaded
Configure flags: '--with-tclinc=/usr/include/tcl8.6/tcl.h' '--with-tcllib=/usr/lib/x86_64-linux-gnu/libtcl8.6.so' 'CFLAGS=-std=gnu89'
Compile flags: gcc -std=gnu89 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H
Link flags: gcc
Strip flags: touch
Context: main.c/969, []
main.c/969, []
main.c/969, []
main.c/969, []
main.c/969, []
main.c/969, []
main.c/969, []
main.c/969, []
main.c/969, []
main.c/969, []
main.c/969, []
main.c/969, []
main.c/969, []
main.c/969, []
tclhash.c/218, []
tclhash.c/242 []

SOCK ADDR PORT NICK HOST TYPE
---- -------- ----- --------- ----------------- ----

Compiled without extensive memory debugging (sorry).
Open sockets: 5 (file), done.


Anyone know what to do from here?
Back to top
View user's profile Send private message
d3n
Voice


Joined: 13 Jul 2016
Posts: 15
Location: Italy

PostPosted: Fri Sep 30, 2016 6:34 am    Post subject: Reply with quote

You can do this command, if not work do the under commands Smile

sudo apt-get install -y libtcl8.6 tcl8.6-dev
./configure --with-tcllib=/usr/lib/x86_64-linux-gnu/libtcl8.6.so --with-tclinc=/usr/include/tcl8.6/tcl.h




-------------------------------------------------------------------------------------

You can see here http://www.greenend.org.uk/rjk/tech/inline.html

If u want more for GCC5 go here https://gcc.gnu.org/gcc-5/porting_to.html

Now do : make distclean . delete all files to create ./configure and make

for your problem u do resolve GNU89

do this:

CFLAGS="-std=gnu89" ./configure --with-tcllib=/usr/lib/x86_64-linux-gnu/libtcl8.6.so --with-tclinc=/usr/include/tcl8.6/tcl.h

and not this :

./configure --with-tcllib=/usr/lib/x86_64-linux-gnu/libtcl8.6.so --with-tclinc=/usr/include/tcl8.6/tcl.h


sorry for my bad english....
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber