<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/2610" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2002-09-16T17:54:34-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/2610</id>

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-09-16T17:54:34-04:00</updated>

		<published>2002-09-16T17:54:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10979#p10979</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10979#p10979"/>
		<title type="html"><![CDATA[using libmysql with a eggdrop module]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10979#p10979"><![CDATA[
No it's a filed called "core" or "core.pid" like I said above. If you don't have it, then you don't have debugging turned on.<br><br>Either recompile eggdrop with debugging, or add your own putlogs for debugging.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Sep 16, 2002 5:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-16T17:54:00-04:00</updated>

		<published>2002-09-16T17:54:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10978#p10978</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10978#p10978"/>
		<title type="html"><![CDATA[using libmysql with a eggdrop module]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10978#p10978"><![CDATA[
usualy the core file name is simply "core"; but you must have compiled your eggdrop doing "make debug".<br>I bet there are nice introductions to gdb on the web.<p>Statistics: Posted by Guest — Mon Sep 16, 2002 5:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-16T14:51:50-04:00</updated>

		<published>2002-09-16T14:51:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10972#p10972</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10972#p10972"/>
		<title type="html"><![CDATA[hmm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10972#p10972"><![CDATA[
whats a core file? the .so file?<p>Statistics: Posted by Guest — Mon Sep 16, 2002 2:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-09-16T13:44:07-04:00</updated>

		<published>2002-09-16T13:44:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10971#p10971</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10971#p10971"/>
		<title type="html"><![CDATA[using libmysql with a eggdrop module]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10971#p10971"><![CDATA[
1. Change to your bot's dir.<br><br>2. Type "ls" and look for a core file.<br><br>3. Type "gdb eggdrop corefilename" (where corefilename is the name of the core file)<br><br>4. In gdb, if it says "(no debugging symbols found)..." then you do not have debugging enabled. Read the INSTALL file to find out how to enable debugging.<br><br>5. Type "where" in gdb to find out where the bot crashed.<br><br>If this is too hard, then try debugging your code with "putlog". You can see which putlogs succeed and which fail. Then you can narrow down where your module is crashing.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Sep 16, 2002 1:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-16T13:34:09-04:00</updated>

		<published>2002-09-16T13:34:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10970#p10970</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10970#p10970"/>
		<title type="html"><![CDATA[blah]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10970#p10970"><![CDATA[
could u help me?<br><br>ive tryed, but couldnt get it to work<p>Statistics: Posted by Guest — Mon Sep 16, 2002 1:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-09-16T13:21:07-04:00</updated>

		<published>2002-09-16T13:21:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10968#p10968</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10968#p10968"/>
		<title type="html"><![CDATA[using libmysql with a eggdrop module]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10968#p10968"><![CDATA[
Use gdb to figure out the exact cause of the error as suggested in the other thread.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Sep 16, 2002 1:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-16T13:18:01-04:00</updated>

		<published>2002-09-16T13:18:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10966#p10966</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10966#p10966"/>
		<title type="html"><![CDATA[yes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10966#p10966"><![CDATA[
i added it now.. <br>same thing happend...<br><br>&lt;tech&gt; .tcl loadmodule cocacola<br>&lt;TNet&gt; [13:17] * Last context: tclhash.c/677 [Tcl proc: *dcc:tcl, param:  $_dcc1 $_dcc2 $_dcc3]<br>&lt;TNet&gt; [13:17] * Please REPORT this BUG!<br>&lt;TNet&gt; [13:17] * Check doc/BUG-REPORT on how to do so.<br>&lt;TNet&gt; [13:17] * Wrote DEBUG<br>&lt;TNet&gt; [13:17] * SEGMENT VIOLATION -- CRASHING!<p>Statistics: Posted by Guest — Mon Sep 16, 2002 1:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-09-16T13:13:08-04:00</updated>

		<published>2002-09-16T13:13:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10964#p10964</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10964#p10964"/>
		<title type="html"><![CDATA[using libmysql with a eggdrop module]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10964#p10964"><![CDATA[
<blockquote class="uncited"><div>$(LD) -lmysqlclient -L/usr/local/lib/mysql/ -o ../../../sheep.$(MOD_EXT) ../sheep.o</div></blockquote>Have you added /usr/local/lib/mysql to the LD_LIBRARY_PATH environment variable?<br><br>In .bash_profile add the command:<br><br>export LD_LIBRARY_PATH=/usr/local/lib/mysql<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Sep 16, 2002 1:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-16T12:55:56-04:00</updated>

		<published>2002-09-16T12:55:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10961#p10961</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10961#p10961"/>
		<title type="html"><![CDATA[using libmysql with a eggdrop module]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10961#p10961"><![CDATA[
i did try to compile a eggdrop module with the mysql lib,<br>but it justs crashes.<br><br>this is the makefile:<br><div class="codebox"><p>Code: </p><pre><code># Makefile for src/mod/woobie.mod/# $Id: Makefile,v 1.9 2000/07/09 14:10:49 fabian Exp $srcdir = .doofus:@echo ""@echo "Let's try this from the right directory..."@echo ""@cd ../../../ &amp;&amp; makestatic: ../sheep.omodules: ../../../sheep.$(MOD_EXT)../sheep.o:$(CC) -I/usr/local/include $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c $(srcdir)/sheep.c@rm -f ../sheep.omv sheep.o ../../../../sheep.$(MOD_EXT): ../sheep.o$(LD) -lmysqlclient -L/usr/local/lib/mysql/ -o ../../../sheep.$(MOD_EXT) ../sheep.o$(STRIP) ../../../sheep.$(MOD_EXT)depend:$(CC) $(CFLAGS) $(CPPFLAGS) -MM $(srcdir)/woobie.c &gt; .dependclean:@rm -f .depend *.o *.$(MOD_EXT) *~distclean: clean#safety hash../sheep.o: .././woobie.mod/woobie.c ../../../src/mod/module.h \ ../../../src/main.h ../../../src/lang.h ../../../src/eggdrop.h \ ../../../src/flags.h ../../../src/proto.h ../../../lush.h \ ../../../src/misc_file.h ../../../src/cmdt.h ../../../src/tclegg.h \ ../../../src/tclhash.h ../../../src/chan.h ../../../src/users.h \ ../../../src/compat/compat.h ../../../src/compat/inet_aton.h \ ../../../src/compat/snprintf.h ../../../src/compat/memset.h \ ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \ ../../../src/mod/modvals.h ../../../src/tandem.h</code></pre></div><p>Statistics: Posted by Guest — Mon Sep 16, 2002 12:55 pm</p><hr />
]]></content>
	</entry>
	</feed>
