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

	<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>2009-07-27T11:54:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Wiz]]></name></author>
		<updated>2009-07-27T11:54:48-04:00</updated>

		<published>2009-07-27T11:54:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89681#p89681</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89681#p89681"/>
		<title type="html"><![CDATA[Compiling problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89681#p89681"><![CDATA[
Well thanks a lot, that was that !<br>The .zshrc on theses machines where all having an alias adding -std=c99 to CFLAGS.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10770">Wiz</a> — Mon Jul 27, 2009 11:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2009-07-24T17:00:38-04:00</updated>

		<published>2009-07-24T17:00:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89644#p89644</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89644#p89644"/>
		<title type="html"><![CDATA[Compiling problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89644#p89644"><![CDATA[
The error might be due to the -std=c99 language standard option passed to gcc. I can't figure out why it's been added though...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Jul 24, 2009 5:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wiz]]></name></author>
		<updated>2009-07-24T15:30:16-04:00</updated>

		<published>2009-07-24T15:30:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89642#p89642</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89642#p89642"/>
		<title type="html"><![CDATA[Compiling problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89642#p89642"><![CDATA[
Thanks for your reply, but I didn't got any.<br>Here is the complete output :<blockquote class="uncited"><div>wiz@haxx:~/.eggdrop/1.6.19/eggdrop1.6.19$ make distclean ; ./configure --enable-tcl-threads --enable-ipv6 &amp;&amp; make config &amp;&amp; make             <br>make: *** Pas de règle pour fabriquer la cible « distclean ». Arrêt.<br><br>This is Eggdrop's GNU configure script.<br>It's going to run a bunch of tests to hopefully make your compile<br>work without much twiddling.<br><br>checking for gcc... gcc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables... <br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ANSI C... none needed<br>checking how to run the C preprocessor... gcc -E<br>checking for egrep... grep -E<br>checking for AIX... no<br>checking for library containing strerror... none required<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking minix/config.h usability... no<br>checking minix/config.h presence... no<br>checking for minix/config.h... no<br>checking whether the compiler understands -Wall... yes<br>checking whether the compiler understands -pipe... yes<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether make sets $(MAKE)... yes<br>checking for ranlib... ranlib<br>checking whether ln -s works... yes<br>checking whether head -n 1 works... yes<br>checking for gawk... no<br>checking for mawk... mawk<br>checking for basename... basename<br>checking for uname... uname<br>checking for socket in -lsocket... no<br>checking for connect in -lnsl... yes<br>checking for gethostbyname in -ldns... no<br>checking for dlopen in -ldl... yes<br>checking for tan in -lm... yes<br>checking for pthread_mutex_init in -lpthread... yes<br>checking system type... Linux<br>checking system release... 2.6.28.4-xxxx-std-ipv6-64<br>checking module loading capabilities... <br>checking dl.h usability... no<br>checking dl.h presence... no<br>checking for dl.h... no<br>checking dlfcn.h usability... yes<br>checking dlfcn.h presence... yes<br>checking for dlfcn.h... yes<br>checking loader.h usability... no<br>checking loader.h presence... no<br>checking for loader.h... no<br>checking rld.h usability... no<br>checking rld.h presence... no<br>checking for rld.h... no<br>checking mach-o/dyld.h usability... no<br>checking mach-o/dyld.h presence... no<br>checking for mach-o/dyld.h... no<br>checking mach-o/rld.h usability... no<br>checking mach-o/rld.h presence... no<br>checking for mach-o/rld.h... no<br>checking for dlopen... yes<br>checking for load... no<br>checking for NSLinkModule... no<br>checking for shl_load... no<br>checking for rld_load... no<br>checking for dirent.h that defines DIR... yes<br>checking for library containing opendir... none required<br>checking whether time.h and sys/time.h may both be included... yes<br>checking arpa/inet.h usability... yes<br>checking arpa/inet.h presence... yes<br>checking for arpa/inet.h... yes<br>checking fcntl.h usability... yes<br>checking fcntl.h presence... yes<br>checking for fcntl.h... yes<br>checking limits.h usability... yes<br>checking limits.h presence... yes<br>checking for limits.h... yes<br>checking locale.h usability... yes<br>checking locale.h presence... yes<br>checking for locale.h... yes<br>checking netdb.h usability... yes<br>checking netdb.h presence... yes<br>checking for netdb.h... yes<br>checking netinet/in.h usability... yes<br>checking netinet/in.h presence... yes<br>checking for netinet/in.h... yes<br>checking stdio.h usability... yes<br>checking stdio.h presence... yes<br>checking for stdio.h... yes<br>checking std_args.h usability... no<br>checking std_args.h presence... no<br>checking for std_args.h... no<br>checking stdarg.h usability... yes<br>checking stdarg.h presence... yes<br>checking for stdarg.h... yes<br>checking stddef.h usability... yes<br>checking stddef.h presence... yes<br>checking for stddef.h... yes<br>checking sys/file.h usability... yes<br>checking sys/file.h presence... yes<br>checking for sys/file.h... yes<br>checking sys/param.h usability... yes<br>checking sys/param.h presence... yes<br>checking for sys/param.h... yes<br>checking sys/rusage.h usability... no<br>checking sys/rusage.h presence... no<br>checking for sys/rusage.h... no<br>checking sys/select.h usability... yes<br>checking sys/select.h presence... yes<br>checking for sys/select.h... yes<br>checking sys/socket.h usability... yes<br>checking sys/socket.h presence... yes<br>checking for sys/socket.h... yes<br>checking sys/time.h usability... yes<br>checking sys/time.h presence... yes<br>checking for sys/time.h... yes<br>checking for unistd.h... (cached) yes<br>checking wchar.h usability... yes<br>checking wchar.h presence... yes<br>checking for wchar.h... yes<br>checking for an ANSI C-conforming const... yes<br>checking whether byte ordering is bigendian... no<br>checking for inline... inline<br>checking for pid_t... yes<br>checking for size_t... yes<br>checking whether struct tm is in sys/time.h or time.h... time.h<br>checking for struct tm.tm_zone... no<br>checking for tzname... yes<br>checking for working volatile... yes<br>checking for socklen_t... yes<br>checking for long... yes<br>checking size of long... 8<br>checking for int... yes<br>checking size of int... 4<br>checking for short... yes<br>checking size of short... 2<br>checking for clock... yes<br>checking for dprintf... yes<br>checking for fsync... yes<br>checking for getdtablesize... yes<br>checking for getrusage... yes<br>checking for inet_aton... yes<br>checking for isascii... yes<br>checking for mbrlen... yes<br>checking for memcpy... yes<br>checking for memset... yes<br>checking for random... yes<br>checking for rename... yes<br>checking for setpgid... yes<br>checking for sigaction... yes<br>checking for sigemptyset... yes<br>checking for snprintf... yes<br>checking for srandom... yes<br>checking for strcasecmp... yes<br>checking for strncasecmp... yes<br>checking for uname... yes<br>checking for vsnprintf... yes<br>checking for sys/select.h... (cached) yes<br>checking for sys/socket.h... (cached) yes<br>checking types of arguments for select... int,fd_set *,struct timeval *<br>checking for vprintf... yes<br>checking for _doprnt... no<br>checking for strftime... yes<br>checking for stdlib.h... (cached) yes<br>checking for unistd.h... (cached) yes<br>checking for getpagesize... yes<br>checking for working mmap... yes<br>checking for broken libsafe sscanf... no<br>checking for Tcl library... found /usr/lib/libtcl8.5.so<br>checking for Tcl header... found /usr/include/tcl8.5/tcl.h<br>checking whether the Tcl system has changed... yes<br>checking for Tcl version... 8.5<br>checking for Tcl patch level... 8.5.7<br>checking for Tcl_Free in -ltcl8.5... yes<br>checking for TclpFinalizeThreadData in -ltcl8.5... no<br>configure: creating ./config.status<br>config.status: creating Makefile<br>config.status: creating doc/Makefile<br>config.status: creating scripts/Makefile<br>config.status: creating src/Makefile<br>config.status: creating src/compat/Makefile<br>config.status: creating src/md5/Makefile<br>config.status: creating src/mod/Makefile<br>config.status: creating config.h<br>config.status: executing replace-if-changed commands<br>creating lush.h<br>config.status: executing catch-make-rebuild commands<br><br>Operating System: Linux 2.6.28.4-xxxx-std-ipv6-64<br><br>If you experience any problems compiling Eggdrop, please read the<br>compile guide, found in doc/COMPILE-GUIDE.<br><br>Type 'make config' to configure the modules, or type 'make iconfig'<br>to interactively choose which modules to compile.<br><br>Detecting modules.................... done.<br>Calculating dependencies................... done.<br>Building ./src/mod/Makefile... done.<br>make[1]: entrant dans le répertoire « /home/wiz/.eggdrop/1.6.19/eggdrop1.6.19/src/mod »<br><br>Configuring module 'compress'.<br>configure: creating cache ../../../config.cache<br>checking for gcc... gcc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables... <br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ANSI C... none needed<br>checking for gzopen in -lz... yes<br>checking how to run the C preprocessor... gcc -E<br>checking for egrep... grep -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking zlib.h usability... yes<br>checking zlib.h presence... yes<br>checking for zlib.h... yes<br>updating cache ../../../config.cache<br>configure: creating ./config.status<br>config.status: creating Makefile<br><br>Configuring module 'dns'.<br>configure: loading cache ../../../config.cache<br>checking for gcc... (cached) gcc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables... <br>checking for suffix of object files... (cached) o<br>checking whether we are using the GNU C compiler... (cached) yes<br>checking whether gcc accepts -g... (cached) yes<br>checking for gcc option to accept ANSI C... (cached) none needed<br>checking for res_init... no<br>checking for res_init in -lresolv... no<br>checking for res_init in -lbind... no<br>checking for __res_init... yes<br>checking for res_mkquery... no<br>checking for res_mkquery in -lresolv... no<br>checking for res_mkquery in -lbind... no<br>checking for __res_mkquery... no<br>checking for __res_mkquery in -lresolv... yes<br>checking build system type... x86_64-unknown-linux-gnu<br>checking host system type... x86_64-unknown-linux-gnu<br>updating cache ../../../config.cache<br>configure: creating ./config.status<br>config.status: creating Makefile<br><br>make[1]: quittant le répertoire « /home/wiz/.eggdrop/1.6.19/eggdrop1.6.19/src/mod »<br>Building ./src/mod/Makefile... done.<br><br>You can now compile the bot, using "make".<br><br>make[1]: entrant dans le répertoire « /home/wiz/.eggdrop/1.6.19/eggdrop1.6.19/src »<br><br>This may take a while. Go get some runts.<br><br>gcc -pipe -Wall -g -std=c99 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c bg.c<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>gcc -pipe -Wall -g -std=c99 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c botcmd.c<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>gcc -pipe -Wall -g -std=c99 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c botmsg.c<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>gcc -pipe -Wall -g -std=c99 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c botnet.c<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>gcc -pipe -Wall -g -std=c99 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c chanprog.c<br>chanprog.c: In function ‘isowner’:<br>chanprog.c:673: warning: the address of ‘owner’ will always evaluate as ‘true’<br>chanprog.c: At top level:<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>gcc -pipe -Wall -g -std=c99 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c cmds.c<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>gcc -pipe -Wall -g -std=c99 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c dcc.c<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>gcc -pipe -Wall -g -std=c99 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c dccutil.c<br>dccutil.c: In function ‘makepass’:<br>dccutil.c:472: warning: implicit declaration of function ‘random’<br>dccutil.c: At top level:<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>gcc -pipe -Wall -g -std=c99 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c dns.c<br>dns.c:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘alarmret’<br>dns.c: In function ‘block_dns_hostbyip’:<br>dns.c:452: warning: implicit declaration of function ‘sigsetjmp’<br>dns.c:452: error: ‘alarmret’ undeclared (first use in this function)<br>dns.c:452: error: (Each undeclared identifier is reported only once<br>dns.c:452: error: for each function it appears in.)<br>dns.c: In function ‘block_dns_ipbyhost’:<br>dns.c:474: warning: implicit declaration of function ‘inet_aton’<br>dns.c:478: error: ‘alarmret’ undeclared (first use in this function)<br>dns.c: At top level:<br>tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never defined<br>proto.h:255: warning: inline function ‘open_listen’ declared but never defined<br>make[1]: *** [dns.o] Erreur 1<br>make[1]: quittant le répertoire « /home/wiz/.eggdrop/1.6.19/eggdrop1.6.19/src »<br>make: *** [modegg] Erreur 2<br>wiz@haxx:~/.eggdrop/1.6.19/eggdrop1.6.19$ </div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10770">Wiz</a> — Fri Jul 24, 2009 3:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2009-07-24T12:28:42-04:00</updated>

		<published>2009-07-24T12:28:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89639#p89639</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89639#p89639"/>
		<title type="html"><![CDATA[Compiling problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89639#p89639"><![CDATA[
Hi,<br>Do you get any warnings regarding including setjmp.h prior to that error?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Jul 24, 2009 12:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wiz]]></name></author>
		<updated>2009-07-23T23:56:01-04:00</updated>

		<published>2009-07-23T23:56:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89638#p89638</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89638#p89638"/>
		<title type="html"><![CDATA[Compiling problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89638#p89638"><![CDATA[
Hi,<br><br>I've been looking for a ipv6 eggdrop on my debian-box so I tried to compile last version + patch without success.<br>Error is:<div class="codebox"><p>Code: </p><pre><code>dns.c:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘alarmret’dns.c: In function ‘block_dns_hostbyip’:dns.c:452: warning: implicit declaration of function ‘sigsetjmp’dns.c:452: error: ‘alarmret’ undeclared (first use in this function)dns.c:452: error: (Each undeclared identifier is reported only oncedns.c:452: error: for each function it appears in.)dns.c: In function ‘block_dns_ipbyhost’:dns.c:474: warning: implicit declaration of function ‘inet_aton’dns.c:478: error: ‘alarmret’ undeclared (first use in this function)dns.c: At top level:tclhash.h:70: warning: inline function ‘garbage_collect_tclhash’ declared but never definedproto.h:255: warning: inline function ‘open_listen’ declared but never definedmake[1]: *** [dns.o] Erreur 1make[1]: quittant le répertoire « /home/wiz/.eggdrop/1.6.19/eggdrop1.6.19/src »make: *** [modegg] Erreur 2</code></pre></div>I wondered if it was caused by my box's setup, but using an archlinux box, 32 or 64 bits, with or without ipv6 gives me no luck.<br><br>Did someone encountered same problem before ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10770">Wiz</a> — Thu Jul 23, 2009 11:56 pm</p><hr />
]]></content>
	</entry>
	</feed>
