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

	<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>2004-06-12T17:06:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2004-06-12T17:06:20-04:00</updated>

		<published>2004-06-12T17:06:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37261#p37261</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37261#p37261"/>
		<title type="html"><![CDATA[Compiling error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37261#p37261"><![CDATA[
Hey.. more info would be very helpful...  Did previous Eggdrop versions compile on this box?<br><br>Could you e-mail me (<a href="mailto:wcc@eggheads.org">wcc@eggheads.org</a>) config.h and config.log (after running ./configure), and the output from ./configure and make?<br><br>Thanks,<br>Wcc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Sat Jun 12, 2004 5:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-06-12T03:43:11-04:00</updated>

		<published>2004-06-12T03:43:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37239#p37239</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37239#p37239"/>
		<title type="html"><![CDATA[Compiling Errors]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37239#p37239"><![CDATA[
I've been trying to get eggdrop1.6.16 up and running on a shell, i get to do the "./configure" , then i get to do the "make config" , then when i do "make" it starts running and then i get the following at the end :<br><br>---------- Yeah! That's the compiling, now the linking! ----------<br><br>Linking eggdrop: (standard build).<br><br>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/local/lib -ltcl -lm -ldl  md5/md5c.o compat/*.o `cat mod/mod.xlibs`<br>dns.o: In function `block_dns_ipbyhost':<br>/home/black/eggdrop1.6.16/src/dns.c:474: undefined reference to `__inet_aton'<br>dns.o: In function `tcl_dnslookup':<br>/home/black/eggdrop1.6.16/src/dns.c:533: undefined reference to `__inet_aton'<br>modules.o: In function `module_load':<br>/home/black/eggdrop1.6.16/src/modules.c:729: undefined reference to `__inet_aton'<br>net.o: In function `getmyip':<br>/home/black/eggdrop1.6.16/src/net.c:109: undefined reference to `__inet_addr'<br>net.o: In function `proxy_connect':<br>/home/black/eggdrop1.6.16/src/net.c:321: undefined reference to `__inet_addr'<br>net.o: In function `open_telnet_raw':<br>/home/black/eggdrop1.6.16/src/net.c:395: undefined reference to `__inet_addr'<br>net.o: In function `iptostr':<br>/home/black/eggdrop1.6.16/src/net.c:528: undefined reference to `__inet_ntoa'<br>collect2: ld returned 1 exit status<br>make[1]: *** [../eggdrop] Error 1<br>make[1]: Leaving directory `/home/black/eggdrop1.6.16/src'<br>make: *** [modegg] Error 2<br><br>The shell is on Slackware,<br>OS: Linux 2.4.26<br>Tcl library: /usr/local/lib/tcl8.3<br>Tcl version: 8.3.4 (header version 8.3.4)<br><br>Any help would be appreciated<p>Statistics: Posted by Guest — Sat Jun 12, 2004 3:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-06-10T14:13:17-04:00</updated>

		<published>2004-06-10T14:13:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37177#p37177</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37177#p37177"/>
		<title type="html"><![CDATA[Compiling error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37177#p37177"><![CDATA[
Had the same problem (<a href="http://forum.egghelp.org/viewtopic.php?p=37175" class="postlink">http://forum.egghelp.org/viewtopic.php?p=37175</a>), updating tcl from 8.0 to 8.3 fixed it, thanks!<p>Statistics: Posted by Guest — Thu Jun 10, 2004 2:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[puffi]]></name></author>
		<updated>2004-06-06T13:05:04-04:00</updated>

		<published>2004-06-06T13:05:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37036#p37036</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37036#p37036"/>
		<title type="html"><![CDATA[Compiling error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37036#p37036"><![CDATA[
i can affirme that adding that small line solved it totally  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4998">puffi</a> — Sun Jun 06, 2004 1:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-06-06T04:16:37-04:00</updated>

		<published>2004-06-06T04:16:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37018#p37018</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37018#p37018"/>
		<title type="html"><![CDATA[Compiling error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37018#p37018"><![CDATA[
So instead of posting that you get the problem too, apply the solution already given in the thread....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun Jun 06, 2004 4:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blood_x]]></name></author>
		<updated>2004-06-06T02:38:10-04:00</updated>

		<published>2004-06-06T02:38:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37012#p37012</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37012#p37012"/>
		<title type="html"><![CDATA[Compiling error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37012#p37012"><![CDATA[
Ah, same to me.. I got this problem too..<br><br>gcc -pipe -g -O2 -I.. -I.. -DHAVE_CONFIG_H   -c ./botmsg.c<br>./botmsg.c: In function `tandout_but':<br>./botmsg.c:50: syntax error before `va'<br>./botmsg.c:52: `va' undeclared (first use in this function)<br>./botmsg.c:52: (Each undeclared identifier is reported only once<br>./botmsg.c:52: for each function it appears in.)<br>./botmsg.c:53: syntax error before `char'<br>./botmsg.c: In function `simple_sprintf':<br>./botmsg.c:144: syntax error before `va'<br>./botmsg.c:146: `va' undeclared (first use in this function)<br>./botmsg.c:147: syntax error before `char'<br>./botmsg.c:154: syntax error before `char'<br>./botmsg.c:159: syntax error before `int'<br>./botmsg.c:164: syntax error before `int'<br>./botmsg.c:169: syntax error before `unsigned'<br>./botmsg.c:177: syntax error before `int'<br>./botmsg.c: In function `botnet_send_priv':<br>./botmsg.c:297: syntax error before `va'<br>./botmsg.c:299: `va' undeclared (first use in this function)<br>./botmsg.c:300: syntax error before `char'<br>./botmsg.c:301: syntax error before `char'<br>./botmsg.c:302: syntax error before `char'<br>./botmsg.c:303: syntax error before `char'<br>*** Error code 1<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=402">blood_x</a> — Sun Jun 06, 2004 2:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[puffi]]></name></author>
		<updated>2004-06-05T09:24:37-04:00</updated>

		<published>2004-06-05T09:24:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36976#p36976</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36976#p36976"/>
		<title type="html"><![CDATA[Compiling error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36976#p36976"><![CDATA[
Big thanks, that config.h-Line solved my problem  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br><br>thank you for your effort!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4998">puffi</a> — Sat Jun 05, 2004 9:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2004-06-04T10:38:23-04:00</updated>

		<published>2004-06-04T10:38:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36920#p36920</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36920#p36920"/>
		<title type="html"><![CDATA[Compiling error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36920#p36920"><![CDATA[
Ok, thanks to both of you guys <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Both of these issues have been resolved in 1.6.17 CVS. 1.6.17 will be out fairly soon, but, in the mean time..<br><br>------<br><div class="codebox"><p>Code: </p><pre><code>...botmsg.c: In function `tandout_but':botmsg.c:50: `va_list' undeclared (first use in this function)botmsg.c:50: (Each undeclared identifier is reported only oncebotmsg.c:50: for each function it appears in.)botmsg.c:50: parse error before "va" ...</code></pre></div>To fix the first bug (the botcmd.c / va_* stuff), you can upgrade to Tcl 8.3 or 8.4 (see doc/COMPILE-GUIDE). If you do not which to do this, a simpler solution is to add the following line to the very end of config.h (AFTER running ./configure):<br><div class="codebox"><p>Code: </p><pre><code>#define HAVE_STDARG_H 1</code></pre></div>------<br><div class="codebox"><p>Code: </p><pre><code>net.c: In function `open_address_listen':net.c:446: `socklen_t' undeclared (first use in this function)net.c:446: (Each undeclared identifier is reported only oncenet.c:446: for each function it appears in.)net.c:446: parse error before `addrlen'net.c:469: `addrlen' undeclared (first use in this function)net.c: In function `answer':net.c:539: `socklen_t' undeclared (first use in this function)net.c:539: parse error before `addrlen'net.c:542: `addrlen' undeclared (first use in this function)make[1]: *** [net.o] Error 1 </code></pre></div>To fix the second bug (<strong class="text-strong">ONLY DO THIS IF YOU ACTUALLY GET THIS ERROR</strong>):<br><br>Add the following line to src/eggdrop.h, directly after<br><div class="codebox"><p>Code: </p><pre><code>#ifndef _EGG_EGGDROP_H#define _EGG_EGGDROP_H</code></pre></div>near the top of the file:<br><div class="codebox"><p>Code: </p><pre><code>typedef int socklen_t;</code></pre></div>------<br><br><br>These problems only seem to happen on a few systems (which is why these bugs weren't discovered).<br><br>Thanks again guys,<br>Wcc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Fri Jun 04, 2004 10:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2004-06-04T02:33:42-04:00</updated>

		<published>2004-06-04T02:33:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36913#p36913</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36913#p36913"/>
		<title type="html"><![CDATA[Compiling error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36913#p36913"><![CDATA[
MaxPower,  could you e-mail me your config.h, config.log, and the output from ./configure? (<a href="mailto:wcc@eggheads.org">wcc@eggheads.org</a>) And is that with or without that patch above applied?<br><br>Wcc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Fri Jun 04, 2004 2:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-06-04T02:47:12-04:00</updated>

		<published>2004-06-04T02:18:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36912#p36912</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36912#p36912"/>
		<title type="html"><![CDATA[another compil error 1.6.16]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36912#p36912"><![CDATA[
make[1]: Entering directory `/home/*******/eggdrop1.6.16/src'<br>This may take a while. Go get some runts.<br><br>gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c net.c<br>net.c: In function `open_address_listen':<br>net.c:446: `socklen_t' undeclared (first use in this function)<br>net.c:446: (Each undeclared identifier is reported only once<br>net.c:446: for each function it appears in.)<br>net.c:446: parse error before `addrlen'<br>net.c:469: `addrlen' undeclared (first use in this function)<br>net.c: In function `answer':<br>net.c:539: `socklen_t' undeclared (first use in this function)<br>net.c:539: parse error before `addrlen'<br>net.c:542: `addrlen' undeclared (first use in this function)<br>make[1]: *** [net.o] Error 1<br><br><br>no errors up until now<br>make[1]: Leaving directory `/home/******/eggdrop1.6.16/src'<br>make: *** [modegg] Error 2<p>Statistics: Posted by Guest — Fri Jun 04, 2004 2:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2004-06-03T05:38:17-04:00</updated>

		<published>2004-06-03T05:38:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36898#p36898</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36898#p36898"/>
		<title type="html"><![CDATA[Compiling error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36898#p36898"><![CDATA[
What OS is the box running that it failed on? I saw one other person experiance this error....<br><br>Try this patch:<div class="codebox"><p>Code: </p><pre><code>patch -p0 &lt; filename.patch./configuremake configmake</code></pre></div><div class="codebox"><p>Code: </p><pre><code>Index: aclocal.m4===================================================================RCS file: /usr/local/cvsroot/eggdrop1.6/aclocal.m4,vretrieving revision 1.87diff -u -r1.87 aclocal.m4--- aclocal.m410 Apr 2004 04:53:41 -00001.87+++ aclocal.m43 Jun 2004 08:53:29 -0000@@ -94,7 +94,7 @@ c EOF -  for ac_prog in 'head -1' 'head -n 1' 'sed 1q'; do+  for ac_prog in 'head -n 1' 'head -1' 'sed 1q'; do     AC_MSG_CHECKING([whether $ac_prog works])     AC_CACHE_VAL([ac_cv_prog_HEAD_1],     [Index: configure===================================================================RCS file: /usr/local/cvsroot/eggdrop1.6/configure,vretrieving revision 1.117diff -u -r1.117 configure--- configure2 Jun 2004 06:58:58 -00001.117+++ configure3 Jun 2004 08:53:30 -0000@@ -1,5 +1,5 @@ #! /bin/sh-# From configure.ac Revision: 1.5 .+# From configure.ac Revision: 1.6 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for Eggdrop 1.6.17. #@@ -3403,7 +3403,7 @@ c EOF -  for ac_prog in 'head -1' 'head -n 1' 'sed 1q'; do+  for ac_prog in 'head -n 1' 'head -1' 'sed 1q'; do     echo "$as_me:$LINENO: checking whether $ac_prog works" &gt;&amp;5 echo $ECHO_N "checking whether $ac_prog works... $ECHO_C" &gt;&amp;6     if test "${ac_cv_prog_HEAD_1+set}" = set; then@@ -5313,7 +5313,9 @@   -for ac_header in arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h stddef.h sys/file.h sys/param.h sys/rusage.h sys/select.h sys/socket.h sys/time.h unistd.h wchar.h+++for ac_header in arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h stdarg.h std_args.h stddef.h sys/file.h sys/param.h sys/rusage.h sys/select.h sys/socket.h sys/time.h unistd.h wchar.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; thenIndex: configure.ac===================================================================RCS file: /usr/local/cvsroot/eggdrop1.6/configure.ac,vretrieving revision 1.6diff -u -r1.6 configure.ac--- configure.ac2 Jun 2004 06:58:58 -00001.6+++ configure.ac3 Jun 2004 08:53:30 -0000@@ -47,7 +47,7 @@ # Checks for header files EGG_HEADER_STDC AC_HEADER_DIRENT-AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h stddef.h sys/file.h sys/param.h sys/rusage.h sys/select.h sys/socket.h sys/time.h unistd.h wchar.h])+AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h stdarg.h std_args.h stddef.h sys/file.h sys/param.h sys/rusage.h sys/select.h sys/socket.h sys/time.h unistd.h wchar.h]) AC_HEADER_TIME  # Checks for typedefs, structures, and compiler characteristics</code></pre></div>Wcc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Thu Jun 03, 2004 5:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[puffi]]></name></author>
		<updated>2004-06-02T02:33:46-04:00</updated>

		<published>2004-06-02T02:33:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36842#p36842</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36842#p36842"/>
		<title type="html"><![CDATA[Compiling error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36842#p36842"><![CDATA[
That's what i did and that's what results the lines i posted above<br>I just said that ``make static'' too brings up an error<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4998">puffi</a> — Wed Jun 02, 2004 2:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2004-06-02T02:25:31-04:00</updated>

		<published>2004-06-02T02:25:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36841#p36841</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36841#p36841"/>
		<title type="html"><![CDATA[Compiling error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36841#p36841"><![CDATA[
Try only make without make static....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Wed Jun 02, 2004 2:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[puffi]]></name></author>
		<updated>2004-06-02T01:43:38-04:00</updated>

		<published>2004-06-02T01:43:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36840#p36840</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36840#p36840"/>
		<title type="html"><![CDATA[Compiling error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36840#p36840"><![CDATA[
No nothing. When i try to compile it static with ``make static'' then a more or less equal error comes up, not the same message, but it doesnt compile anyway  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br>It is very weird, cause on other machines, running Debian Woodie with kernel 2.4.26 it compiled right away..its only on this one machine (to wich i have no root-access)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4998">puffi</a> — Wed Jun 02, 2004 1:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-06-01T15:53:10-04:00</updated>

		<published>2004-06-01T15:53:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36828#p36828</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36828#p36828"/>
		<title type="html"><![CDATA[Compiling error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36828#p36828"><![CDATA[
Any error appear in any of the following steps before you got to the 'make'?<blockquote class="uncited"><div>tar zxvf eggdrop1.6.16.tar.gz<br>cd eggdrop1.6.16<br>./configure<br>make config</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Jun 01, 2004 3:53 pm</p><hr />
]]></content>
	</entry>
	</feed>
