<?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/13840" />

	<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>2007-07-31T12:31:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-07-31T12:31:14-04:00</updated>

		<published>2007-07-31T12:31:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74875#p74875</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74875#p74875"/>
		<title type="html"><![CDATA[make - undefined reference]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74875#p74875"><![CDATA[
A quick google search on the macro thats causing the error reveals:<br><br><a href="http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01965.html" class="postlink">http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01965.html</a><br><br>Apparently a known bug in newer versions of gcc..  Either try the patch provided yourself (in other words, compile gcc) or see if ubuntu has fixed it yet and install an updated package, cos ubuntu must also be aware of the problem, there's discussion about it on their forums.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Jul 31, 2007 12:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rix]]></name></author>
		<updated>2007-07-31T08:22:24-04:00</updated>

		<published>2007-07-31T08:22:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=74868#p74868</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=74868#p74868"/>
		<title type="html"><![CDATA[make - undefined reference]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=74868#p74868"><![CDATA[
Hello!<br><br>I just completed installing software on my new server (Ubuntu server 6.06), but unfortunately Eggdrop installation process fails at linking.<br><br>"Configure", "make config" are successful. Make always stops with "/usr/lib/libtcl8.4.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'".<br><br>Output of make:<div class="codebox"><p>Code: </p><pre><code>You can now compile the bot, using "make".rix@ubuntu:~/eggdrop1.6.17$ makemake[1]: Entering directory `/home/rix/eggdrop1.6.17/src'This may take a while. Go get some runts.gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c bg.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c botcmd.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c botmsg.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c botnet.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c chanprog.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c cmds.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c dcc.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c dccutil.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c dns.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c flags.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c language.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c match.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   \'-DCCFLAGS="gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H  "' \'-DLDFLAGS="gcc -pipe"' \'-DSTRIPFLAGS="touch"' -c ./main.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c mem.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c misc.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c misc_file.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c modules.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c net.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c rfc1459.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c tcl.ctcl.c:492: warning: dereferencing type-punned pointer will break strict-aliasing rulestcl.c: In function âreadtclprogâ:tcl.c:741: warning: assignment discards qualifiers from pointer target typegcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c tcldcc.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c tclhash.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c tclmisc.ctclmisc.c: In function âtcl_md5â:tclmisc.c:688: warning: pointer targets in assignment differ in signednessgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c tcluser.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c userent.cuserent.c: In function âdel_entry_typeâ:userent.c:1135: warning: dereferencing type-punned pointer will break strict-aliasing rulesgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c userrec.cgcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c users.cmake[2]: Entering directory `/home/rix/eggdrop1.6.17/src/md5'gcc -pipe -g -O2 -Wall -I. -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c md5c.cmake[2]: Leaving directory `/home/rix/eggdrop1.6.17/src/md5'make[2]: Entering directory `/home/rix/eggdrop1.6.17/src/compat'gcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c inet_aton.cgcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c snprintf.cgcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c memset.cgcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c memcpy.cgcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c strcasecmp.cgcc -pipe -g -O2 -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c strftime.cmake[2]: Leaving directory `/home/rix/eggdrop1.6.17/src/compat'---------- Yeah! That's the compiling, now the linking! ----------Linking eggdrop (standard build).gcc -pipe -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o userent.o userrec.o users.o  -L/usr/lib -ltcl8.4 -lm -ldl -lnsl  md5/md5c.o compat/*.o `cat mod/mod.xlibs`/usr/lib/libtcl8.4.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'collect2: ld returned 1 exit statusmake[1]: *** [../eggdrop] Error 1make[1]: Leaving directory `/home/rix/eggdrop1.6.17/src'make: *** [modegg] Error 2rix@ubuntu:~/eggdrop1.6.17$</code></pre></div>Tcl is 8.4, same happens with other versions of Eggdrop.<br><br>Any help would be appreciated. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6753">rix</a> — Tue Jul 31, 2007 8:22 am</p><hr />
]]></content>
	</entry>
	</feed>
