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.

Can't startup eggdrop

General support and discussion of Eggdrop bots.
Post Reply
F
Froggaard
Voice
Posts: 13
Joined: Fri Sep 25, 2015 5:20 am

Can't startup eggdrop

Post by Froggaard »

Hello.

When i trying to startup my Eggdrop i got the following error
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
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?
User avatar
d3n
Voice
Posts: 15
Joined: Wed Jul 13, 2016 2:30 pm
Location: Italy
Contact:

Post by d3n »

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

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....
Post Reply