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

	<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>2006-11-06T02:48:44-04:00</updated>

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

		<entry>
		<author><name><![CDATA[jsl]]></name></author>
		<updated>2006-11-06T02:48:44-04:00</updated>

		<published>2006-11-06T02:48:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67789#p67789</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67789#p67789"/>
		<title type="html"><![CDATA[Problems with compiling the bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67789#p67789"><![CDATA[
I added #include "proto.h" to those 3 files, ./configure and 'make config' went fine, and now it says:<br><blockquote class="uncited"><div>[8:44] koopa ~/eggdrop1.6.18 % make<br>This may take a while. Go get some runts.<br><br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c bg.c<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c botcmd.c<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c botmsg.c<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c botnet.c<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c chanprog.c<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c cmds.c<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c dcc.c<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c dccutil.c<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c dns.c<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c flags.c<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c language.c<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c match.c<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   \<br>'-DCCFLAGS="cc -g -I.. -I.. -DHAVE_CONFIG_H  "' \<br>'-DLDFLAGS="cc"' \<br>'-DSTRIPFLAGS="touch"' -c ./main.c<br>"./main.c", line 1107: warning: static function called but not defined: garbage_collect_tclhash()<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c mem.c<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c misc.c<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c misc_file.c<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c modules.c<br>"modules.c", line 1089: warning: assignment type mismatch:<br>        pointer to function(int, pointer to char, int) returning void "=" pointer to function() returning void<br>"modules.c", line 1097: warning: assignment type mismatch:<br>        pointer to function(pointer to struct userrec {pointer to struct userrec {..} next, array[10] of char handle, unsigned long flags, unsigned long flags_udef, pointer to struct chanuserrec {..} chanrec, pointer to struct user_entry {..} entries}, pointer to char) returning int "=" pointer to function() returning int<br>"modules.c", line 1156: warning: static function called but not defined: open_listen()<br>cc -g -I.. -I.. -DHAVE_CONFIG_H   -c net.c<br>"proto.h", line 92: syntax error before or at: EGG_VARARGS<br>"proto.h", line 92: syntax error before or at: arg1<br>"proto.h", line 92: warning: undefined or missing type for: arg1<br>"proto.h", line 92: warning: old-style declaration or incorrect type for: EGG_VARARGS<br>"proto.h", line 93: cannot have void object: tandout_but<br>"proto.h", line 93: syntax error before or at: EGG_VARARGS<br>"proto.h", line 93: syntax error before or at: arg1<br>"proto.h", line 93: warning: undefined or missing type for: arg1<br>"proto.h", line 93: warning: old-style declaration or incorrect type for: EGG_VARARGS<br>"proto.h", line 134: cannot have void object: dprintf_eggdrop<br>"proto.h", line 134: syntax error before or at: EGG_VARARGS<br>"proto.h", line 134: syntax error before or at: arg1<br>"proto.h", line 134: warning: undefined or missing type for: arg1<br>"proto.h", line 134: warning: old-style declaration or incorrect type for: EGG_VARARGS<br>"proto.h", line 135: cannot have void object: chatout<br>"proto.h", line 135: syntax error before or at: EGG_VARARGS<br>"proto.h", line 135: syntax error before or at: arg1<br>"proto.h", line 135: warning: undefined or missing type for: arg1<br>"proto.h", line 135: warning: old-style declaration or incorrect type for: EGG_VARARGS<br>"proto.h", line 138: cannot have void object: chanout_but<br>"proto.h", line 138: syntax error before or at: EGG_VARARGS<br>"proto.h", line 138: syntax error before or at: arg1<br>"proto.h", line 138: warning: undefined or missing type for: arg1<br>"proto.h", line 138: warning: old-style declaration or incorrect type for: EGG_VARARGS<br>"proto.h", line 150: syntax error before or at: *<br>"proto.h", line 150: warning: undefined or missing type for: struct<br>"proto.h", line 150: warning: undefined or missing type for: int<br>"proto.h", line 153: warning: dubious tag declaration: struct chat_info<br>"proto.h", line 155: warning: dubious tag declaration: struct dcc_table<br>"proto.h", line 157: warning: dubious tag declaration: struct dcc_table<br>"proto.h", line 160: warning: function prototype parameters must have types<br>"proto.h", line 162: warning: function prototype parameters must have types<br>"proto.h", line 164: syntax error before or at: char<br>"proto.h", line 164: warning: undefined or missing type for: char<br>"proto.h", line 164: warning: undefined or missing type for: int<br>"proto.h", line 165: syntax error before or at: IP<br>"proto.h", line 165: warning: undefined or missing type for: IP<br>"proto.h", line 165: warning: undefined or missing type for: int<br>"proto.h", line 166: warning: function prototype parameters must have types<br>"proto.h", line 203: cannot have void object: putlog<br>"proto.h", line 203: syntax error before or at: EGG_VARARGS<br>"proto.h", line 203: syntax error before or at: arg1<br>"proto.h", line 203: warning: undefined or missing type for: arg1<br>"proto.h", line 203: warning: old-style declaration or incorrect type for: EGG_VARARGS<br>"proto.h", line 213: parameter redeclared: time_t<br>"proto.h", line 213: syntax error before or at: char<br>"proto.h", line 213: warning: undefined or missing type for: char<br>"proto.h", line 214: parameter redeclared: time_t<br>"proto.h", line 214: syntax error before or at: char<br>"proto.h", line 214: warning: undefined or missing type for: char<br>"proto.h", line 215: parameter redeclared: time_t<br>"proto.h", line 215: syntax error before or at: char<br>"proto.h", line 215: warning: undefined or missing type for: char<br>"proto.h", line 244: warning: old-style declaration or incorrect type for: IP<br>"proto.h", line 244: syntax error before or at: my_atoul<br>"proto.h", line 244: warning: old-style declaration or incorrect type for: my_atoul<br>"proto.h", line 245: warning: function prototype parameters must have types<br>"proto.h", line 246: warning: old-style declaration or incorrect type for: IP<br>"proto.h", line 246: syntax error before or at: getmyip<br>"proto.h", line 246: warning: old-style declaration or incorrect type for: getmyip<br>"proto.h", line 254: syntax error before or at: addr<br>"proto.h", line 254: warning: undefined or missing type for: addr<br>"proto.h", line 254: warning: undefined or missing type for: int<br>"proto.h", line 263: syntax error before or at: IP<br>"proto.h", line 263: warning: undefined or missing type for: IP<br>"proto.h", line 263: warning: undefined or missing type for: char<br>"proto.h", line 263: warning: undefined or missing type for: char<br>"proto.h", line 264: warning: function prototype parameters must have types<br>"proto.h", line 297: syntax error before or at: time_t<br>"proto.h", line 297: warning: undefined or missing type for: time_t<br>"proto.h", line 302: syntax error before or at: time_t<br>"proto.h", line 302: warning: undefined or missing type for: time_t<br>"eggdrop.h", line 273: identifier redeclared: IP<br>        current : unsigned int<br>        previous: int : "proto.h", line 244<br>"net.c", line 81: warning: identifier redeclared: my_atoul<br>        current : function(pointer to char) returning unsigned int<br>        previous: function(pointer to char) returning int : "proto.h", line 244<br>"net.c", line 121: warning: identifier redeclared: getmyip<br>        current : function() returning unsigned int<br>        previous: function() returning int : "proto.h", line 246<br>"net.c", line 295: function designator is not of function type<br>"net.c", line 297: cannot recover from previous errors<br>cc: acomp failed for net.c<br>*** Error code 2<br>make: Fatal error: Command failed for target `net.o'<br>Current working directory /home/k/l/klindste/eggdrop1.6.18/src<br>*** Error code 1<br>The following command caused the error:<br>cd src &amp;&amp; make 'MAKE=make' 'CC=cc' 'LD=cc'  'STRIP=touch' 'RANLIB=ranlib' 'CFLGS='  'TCLLIB=/opt/tcl/lib' 'TCLLIBFN=tcl.so' 'XREQS=/opt/tcl/lib/libtcl.so'  'XLIBS=-L/opt/tcl/lib -ltcl -lm -ldl -lnsl -lsocket' 'EGGEXEC=eggdrop' 'EGGBUILD=(standard build)' 'MODOBJS=' eggdrop<br>make: Fatal error: Command failed for target `modegg'<br>[8:45] koopa ~/eggdrop1.6.18 %</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8342">jsl</a> — Mon Nov 06, 2006 2:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-06T01:38:17-04:00</updated>

		<published>2006-11-06T01:38:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67787#p67787</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67787#p67787"/>
		<title type="html"><![CDATA[Problems with compiling the bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67787#p67787"><![CDATA[
Undefined first referenced symbol in file open_listen modules.o <br><br>That is the essence of the problem, which means that proto.h file is not being included.  The brute force method to get it included would be to edit the .c files and stick an #include "proto.h" line into the files that require it (eg, modules.c and then each other .c file that produces an error at the linking, you'll know which ones when you see errors naming the corresponding .o file; in other words since modules.o was named the corresponding .c file is modules.c)  <br><br>A quick grep of the source shows the open_listen symbol named in these files:<br><br>modules.c<br>net.c<br>tcldcc.c<br><br>It may also be called in some of the files in the mods/ subdirs, I did not look at those.<br><br>Also, before recompiling, make sure you're doing a 'make clean' first to get rid of the old .o files that still have the errors.<br><br>Other suggestions:  Ask your shell provider to compile the binary and make it available system-wide.  Or, find another SunOS user with the same platform to compile it and give you a copy. Or, find someone with the resources for cross-compiling to make a binary for you. Last resort, find a better shell (not a fan of Sun personally.. =)<br><br>Good luck<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Mon Nov 06, 2006 1:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-11-06T01:09:47-04:00</updated>

		<published>2006-11-06T01:09:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67780#p67780</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67780#p67780"/>
		<title type="html"><![CDATA[Problems with compiling the bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67780#p67780"><![CDATA[
Contact your shell administrator and have him empty his tmp dirs; might fix the problem.<br><br>I ran an eggdrop under SunOS many moons ago and always would hit a glitz if the admin didn't clear the tmp dir regularly.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Nov 06, 2006 1:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jsl]]></name></author>
		<updated>2006-11-05T22:14:59-04:00</updated>

		<published>2006-11-05T22:14:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67775#p67775</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67775#p67775"/>
		<title type="html"><![CDATA[Problems with compiling the bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67775#p67775"><![CDATA[
I cleared some space on my shell account, and now it doesn't give those fork errors anymore. However I still get the original error:<br><blockquote class="uncited"><div>Linking eggdrop (standard build).<br><br>cc -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/opt/tcl/lib -ltcl -lm -ldl -lnsl -lsocket md5/md5c.o compat/*.o `cat mod/mod.xlibs`<br>Undefined                       first referenced<br> symbol                             in file<br>open_listen                         modules.o<br>garbage_collect_tclhash             main.o<br>expmem_mask                         userrec.o<br>ld: fatal: Symbol referencing errors. No output written to ../eggdrop<br>*** Error code 1<br>make: Fatal error: Command failed for target `../eggdrop'<br>Current working directory /home/k/l/klindste/eggdrop1.6.18/src<br>*** Error code 1<br>The following command caused the error:<br>cd src &amp;&amp; make 'MAKE=make' 'CC=cc' 'LD=cc'  'STRIP=touch' 'RANLIB=ranlib' 'CFLGS='  'TCLLIB=/opt/tcl/lib' 'TCLLIBFN=tcl.so' 'XREQS=/opt/tcl/lib/libtcl.so'  'XLIBS=-L/opt/tcl/lib -ltcl -lm -ldl -lnsl -lsocket' 'EGGEXEC=eggdrop' 'EGGBUILD=(standard build)' 'MODOBJS=' eggdrop<br>make: Fatal error: Command failed for target `modegg'</div></blockquote>I guess there's nothing more I can do then <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8342">jsl</a> — Sun Nov 05, 2006 10:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-05T16:52:24-04:00</updated>

		<published>2006-11-05T16:52:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67763#p67763</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67763#p67763"/>
		<title type="html"><![CDATA[Problems with compiling the bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67763#p67763"><![CDATA[
Yes, that could be why your configure is not setting the right options, and the reason it's doing that is likely because your shell provider has such a restrictive quota.<br><br>Personally, I'd be looking for another shell provider.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Nov 05, 2006 4:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-11-05T14:17:23-04:00</updated>

		<published>2006-11-05T14:17:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67753#p67753</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67753#p67753"/>
		<title type="html"><![CDATA[Problems with compiling the bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67753#p67753"><![CDATA[
Looks like a memory problem<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Sun Nov 05, 2006 2:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jsl]]></name></author>
		<updated>2006-11-05T14:03:48-04:00</updated>

		<published>2006-11-05T14:03:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67746#p67746</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67746#p67746"/>
		<title type="html"><![CDATA[Problems with compiling the bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67746#p67746"><![CDATA[
During the 'make config' I sometimes get messages like this:<br><blockquote class="uncited"><div>./config.status: fork: Resource temporarily unavailable</div></blockquote>For example:<blockquote class="uncited"><div>checking for zlib.h... yes<br>.././compress.mod/configure: fork: Resource temporarily unavailable<br>updating cache ../../../config.cache<br>configure: creating ./config.status<br>./config.status: fork: Resource temporarily unavailable<br>./config.status: fork: Resource temporarily unavailable<br>./config.status: fork: Resource temporarily unavailable<br>: cannot create a temporary directory in .<br>.././compress.mod/configure: fork: Resource temporarily unavailable<br>.././compress.mod/configure: fork: Resource temporarily unavailable</div></blockquote>What could cause that? It still continues the procedure and even finishes it "succesfully", but could that have something to do with the problems I get with 'make'?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8342">jsl</a> — Sun Nov 05, 2006 2:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-04T16:13:08-04:00</updated>

		<published>2006-11-04T16:13:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67711#p67711</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67711#p67711"/>
		<title type="html"><![CDATA[Problems with compiling the bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67711#p67711"><![CDATA[
Try adding  -DMAKING_MODS  to the CFLAGS environment variable, eg:<br><br>CFLAGS="$CFLAGS -DMAKING_MODS" ; ./configure<br><br>Beyond that, I dunno what to suggest, I'm not that familiar with SunOS (although I've heard a lot of complaints about its compiler not working well with GNU software..  Might be worth the bother to install GNU's development tools, gcc, gnu-make, libtool, autoconf, etc, if they are not installed already.)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sat Nov 04, 2006 4:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jsl]]></name></author>
		<updated>2006-11-04T15:41:48-04:00</updated>

		<published>2006-11-04T15:41:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67710#p67710</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67710#p67710"/>
		<title type="html"><![CDATA[Problems with compiling the bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67710#p67710"><![CDATA[
I just get this:<br><blockquote class="uncited"><div>[21:39] koopa ~/eggdrop1.6.18 % make<br>This may take a while. Go get some runts.<br><br><br>---------- Yeah! That's the compiling, now the linking! ----------<br><br>Linking eggdrop (standard build).<br><br>cc -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  -lsocket -ldl -lnsl -L/opt/tcl/lib -ltcl -lm md5/md5c.o compat/*.o `cat mod/mod.xlibs`<br>Undefined                       first referenced<br> symbol                             in file<br>open_listen                         modules.o<br>garbage_collect_tclhash             main.o<br>expmem_mask                         userrec.o<br>ld: fatal: Symbol referencing errors. No output written to ../eggdrop<br>*** Error code 1<br>make: Fatal error: Command failed for target `../eggdrop'<br>Current working directory /home/k/l/klindste/eggdrop1.6.18/src<br>*** Error code 1<br>The following command caused the error:<br>cd src &amp;&amp; make 'MAKE=make' 'CC=cc' 'LD=cc'  'STRIP=touch' 'RANLIB=ranlib' 'CFLGS='  'TCLLIB=/opt/tcl/lib' 'TCLLIBFN=tcl.so' 'XREQS=/opt/tcl/lib/libtcl.so'  'XLIBS=-lsocket -ldl -lnsl -L/opt/tcl/lib -ltcl -lm' 'EGGEXEC=eggdrop' 'EGGBUILD=(standard build)' 'MODOBJS=' eggdrop<br>make: Fatal error: Command failed for target `modegg'<br>[21:39] koopa ~/eggdrop1.6.18 %</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8342">jsl</a> — Sat Nov 04, 2006 3:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jsl]]></name></author>
		<updated>2006-11-04T11:57:58-04:00</updated>

		<published>2006-11-04T11:57:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67701#p67701</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67701#p67701"/>
		<title type="html"><![CDATA[Problems with compiling the bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67701#p67701"><![CDATA[
<blockquote class="uncited"><div>Did you try what I suggested about adding proto.h to the main.h file?</div></blockquote>Yes... Still gives the same error <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8342">jsl</a> — Sat Nov 04, 2006 11:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-04T09:49:18-04:00</updated>

		<published>2006-11-04T09:49:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67695#p67695</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67695#p67695"/>
		<title type="html"><![CDATA[Problems with compiling the bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67695#p67695"><![CDATA[
Did you try what I suggested about adding proto.h to the main.h file?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sat Nov 04, 2006 9:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jsl]]></name></author>
		<updated>2006-11-04T02:15:31-04:00</updated>

		<published>2006-11-04T02:15:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67688#p67688</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67688#p67688"/>
		<title type="html"><![CDATA[Problems with compiling the bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67688#p67688"><![CDATA[
<blockquote class="uncited"><div>Refer to the COMPILE-GUIDE in ~/eggdrop1.6.18/doc regarding compiling eggdrop on SunOS.</div></blockquote>All it says is:<br><blockquote class="uncited"><div>G. Solaris / SunOS<br>      Follow the standard compile process in Section A. To compile dynamically<br>      (with module support), use 'make eggdrop' instead of 'make'.<br><br>      Note that on Solaris / SunOS, the LD_LIBRARY_PATH_32 and LD_LIBRARY_PATH_64<br>      environment variables may need to be set instead of (or in addition to, to<br>      be safe) LD_LIBRARY_PATH.</div></blockquote>and:<br><blockquote class="uncited"><div>8. Undefined references in net.o (SunOS)<br><br>                     First<br>      Undefined    Referenced<br>       Symbol       In file<br><br>      socket          net.o<br>      gethostbyname   net.o<br>      accept          net.o<br>      bind            net.o<br>      setsockopt      net.o<br>      gethostbyaddr   net.o<br>      getsockname     net.o<br>      gethostname     net.o<br>      listen          net.o<br>      connect         net.o<br>      ld: fatal: Symbol referencing errors. No output written to eggdrop<br><br>      This seems to be caused by a few libraries not being detected by the<br>      auto-configure script; it is relatively easy to fix. Edit your Makefile.<br>      Note that yours may be slightly different than this one when it comes to<br>      the Tcl library, but here is the way it probably is:<br><br>        GMAKE = ${MAKE} 'CC=gcc' 'AWK=awk' 'OBJS=${OBJS}' 'TCLLIBFN=tcl.a'\<br>                'CFLAGS=${CFLAGS}' 'XREQ=${XREQ}' 'XLIBS= -L/usr/local/lib -ltcl -lm'\<br>                'TCLLIB=${TCLLIB}' 'RANLIB=:' 'STRIP='<br><br>      Here is what you need to change it to:<br><br>        GMAKE = ${MAKE} 'CC=gcc' 'AWK=awk' 'OBJS=${OBJS}' 'TCLLIBFN=tcl.a'\<br>                'CFLAGS=${CFLAGS}' 'XREQ=${XREQ}' 'XLIBS=-lsocket -ldl -lnsl -L/usr/local/lib -ltcl -lm'\<br>                'TCLLIB=${TCLLIB}' 'RANLIB=:' 'STRIP='<br><br>      You are adding three libraries to be linked in: socket, dl, and nsl. This<br>      will resolve the net.o errors.</div></blockquote>The first one doesn't help here. As for the second one, well, those things it tells me to add to Makefile, are already there when I check <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_eek.gif" width="15" height="15" alt=":shock:" title="Shocked"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8342">jsl</a> — Sat Nov 04, 2006 2:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-11-02T09:53:16-04:00</updated>

		<published>2006-11-02T09:53:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67661#p67661</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67661#p67661"/>
		<title type="html"><![CDATA[Problems with compiling the bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67661#p67661"><![CDATA[
Refer to the COMPILE-GUIDE in ~/eggdrop1.6.18/doc regarding compiling eggdrop on SunOS.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Thu Nov 02, 2006 9:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jsl]]></name></author>
		<updated>2006-11-02T02:04:57-04:00</updated>

		<published>2006-11-02T02:04:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67653#p67653</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67653#p67653"/>
		<title type="html"><![CDATA[Problems with compiling the bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67653#p67653"><![CDATA[
<blockquote class="uncited"><div>What options did you use for configure and what platform is this on?</div></blockquote>Umm... The default options I guess, just ./configure and 'make config'.<br>About the platform, it's my ISP's unix server... I'm don't know more details... Does this answer to your question: "Sun Microsystems Inc.   SunOS 5.10      Generic January 2005"<br><blockquote class="uncited"><div>And are you using the source archive from eggheads.org?</div></blockquote>Yes.<br><blockquote class="uncited"><div>Ohh I also noticed this:<br><br>[3:35] koopa ~/eggdrop1.6.18 % make <br><br>Current working directory /home/k/l/klindste/eggdrop1.6.17/src <br><br>Do you have 2 different copies of the src?</div></blockquote>Ignore that... I first copy-pasted that error report from 1.6.17, then I tried with 1.6.18 and got exact the same thing so I just edited 1.6.17 -&gt; 1.6.18 to the copy-paste...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8342">jsl</a> — Thu Nov 02, 2006 2:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-02T01:24:02-04:00</updated>

		<published>2006-11-02T01:24:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67652#p67652</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67652#p67652"/>
		<title type="html"><![CDATA[Problems with compiling the bot]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67652#p67652"><![CDATA[
What options did you use for configure and what platform is this on?<br>And are you using the source archive from eggheads.org?<br><br>From a quick look at the src, the open_listen symbol is defined in src/proto.h, which is normally included in the src/Makefile. <br><br>"modules.c", line 1155: warning: static function called but not defined: open_listen()<br><br>"tcldcc.c", line 1161: warning: static function called but not defined: open_listen() <br><br>Undefined first referenced symbol in file open_listen modules.o <br><br>etc..<br><br>A quick fix would be to force including the proto.h file, in the file main.h:<br><br>#ifndef MAKING_MODS<br>#  include "proto.h"<br>#endif<br><br>Comment that part above out and replace it with:<br><br>#include "proto.h"<br><br>I suspect your problem is more extensive tho, if the normal configure did not create the right definitions to begin with.<br><br>Ohh I also noticed this:<br><br>[3:35] koopa ~/eggdrop1.6.18 % make <br><br>Current working directory /home/k/l/klindste/eggdrop1.6.17/src <br><br>Do you have 2 different copies of the src?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Thu Nov 02, 2006 1:24 am</p><hr />
]]></content>
	</entry>
	</feed>
