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

	<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-09-02T20:59:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Yutani]]></name></author>
		<updated>2009-09-02T20:59:38-04:00</updated>

		<published>2009-09-02T20:59:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90129#p90129</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90129#p90129"/>
		<title type="html"><![CDATA[Problems compiling Eggdrop using Cygwin (OpenSSL problem)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90129#p90129"><![CDATA[
Got rid of the error with ./configure --with-ssl but gives an error later on in sha.h.<br><br>Error:<div class="codebox"><p>Code: </p><pre><code>$ make eggdropmake[1]: Entering directory `/eggdrop1.6.19/src'This may take a while. Go get some runts.gcc -pipe -mwin32 -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c bg.cgcc -pipe -mwin32 -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c botcmd.cgcc -pipe -mwin32 -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c botmsg.cgcc -pipe -mwin32 -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c botnet.cgcc -pipe -mwin32 -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c chanprog.cchanprog.c: In function `isowner':chanprog.c:682: warning: subscript has type `char'chanprog.c:682: warning: subscript has type `char'gcc -pipe -mwin32 -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c cmds.ccmds.c: In function `stripmodes':cmds.c:1930: warning: subscript has type `char'cmds.c: In function `cmd_pls_ignore':cmds.c:2363: warning: subscript has type `char'gcc -pipe -mwin32 -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c dcc.cgcc -pipe -mwin32 -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c dccutil.cIn file included from /usr/include/openssl/x509.h:107,                 from /usr/include/openssl/ssl.h:183,                 from net.h:5,                 from dccutil.c:36:/usr/include/openssl/sha.h:177: error: parse error before "h"/usr/include/openssl/sha.h:178: error: parse error before "Nl"/usr/include/openssl/sha.h:180: error: parse error before "d"/usr/include/openssl/sha.h:182: error: parse error before '}' token/usr/include/openssl/sha.h:184: error: parse error before '}' token/usr/include/openssl/sha.h:188: error: parse error before '*' token/usr/include/openssl/sha.h:189: error: parse error before '*' token/usr/include/openssl/sha.h:190: error: parse error before "SHA512_CTX"/usr/include/openssl/sha.h:192: error: parse error before '*' token/usr/include/openssl/sha.h:193: error: parse error before '*' token/usr/include/openssl/sha.h:194: error: parse error before "SHA512_CTX"/usr/include/openssl/sha.h:196: error: parse error before '*' tokenmake[1]: *** [dccutil.o] Error 1make[1]: Leaving directory `/eggdrop1.6.19/src'make: *** [modegg] Error 2</code></pre></div>I've commented the code and now it seems to compile.<br><div class="codebox"><p>Code: </p><pre><code>#define SHA384_DIGEST_LENGTH48#define SHA512_DIGEST_LENGTH64#ifndef OPENSSL_NO_SHA512/* * Unlike 32-bit digest algorithms, SHA-512 *relies* on SHA_LONG64 * being exactly 64-bit wide. See Implementation Notes in sha512.c * for further details. */#define SHA512_CBLOCK(SHA_LBLOCK*8)/* SHA-512 treats input data as a * contiguous array of 64 bit * wide big-endian values. */#if (defined(_WIN32) || defined(_WIN64)) &amp;&amp; !defined(__MINGW32__)#define SHA_LONG64 unsigned __int64#define U64(C)     C##UI64#elif defined(__arch64__)#define SHA_LONG64 unsigned long#define U64(C)     C##UL#else#define SHA_LONG64 unsigned long long#define U64(C)     C##ULL#endif/*typedef struct SHA512state_st{SHA_LONG64 h[8];SHA_LONG64 Nl,Nh;union {SHA_LONG64d[SHA_LBLOCK];unsigned charp[SHA512_CBLOCK];} u;unsigned int num,md_len;} SHA512_CTX;*/#endif/*#ifndef OPENSSL_NO_SHA512int SHA384_Init(SHA512_CTX *c);int SHA384_Update(SHA512_CTX *c, const void *data, size_t len);int SHA384_Final(unsigned char *md, SHA512_CTX *c);unsigned char *SHA384(const unsigned char *d, size_t n,unsigned char *md);int SHA512_Init(SHA512_CTX *c);int SHA512_Update(SHA512_CTX *c, const void *data, size_t len);int SHA512_Final(unsigned char *md, SHA512_CTX *c);unsigned char *SHA512(const unsigned char *d, size_t n,unsigned char *md);void SHA512_Transform(SHA512_CTX *c, const unsigned char *data);#endif*/</code></pre></div>After compile I try and  connect to a server and it said: DNS Lookup Failed<br><br>So I guess its a piece of code the bot needs to connect.<br><br>What can I do?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10556">Yutani</a> — Wed Sep 02, 2009 8:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yutani]]></name></author>
		<updated>2009-09-02T18:49:14-04:00</updated>

		<published>2009-09-02T18:49:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90128#p90128</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90128#p90128"/>
		<title type="html"><![CDATA[Problems compiling Eggdrop using Cygwin (OpenSSL problem)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90128#p90128"><![CDATA[
Hey everyone,<br><br>I'm currently trying to compile Eggdrop 1.6.19 (not ctcpfix, the older one) with tcl 8.5.7 and ssl support.<br><br>The ssl patch is called eggdrop-1.6.19-ssl_and_md5_and_thread-durex-patch and everything went fine patching.<br><br>However when I try to configure doing: ./configure --enable-strip it's giving back this error:<br><div class="codebox"><p>Code: </p><pre><code>configure: WARNING: openssl/ssl.h: present but cannot be compiledconfigure: WARNING: openssl/ssl.h:     check for missing prerequisite headers?configure: WARNING: openssl/ssl.h: see the Autoconf documentationconfigure: WARNING: openssl/ssl.h:     section "Present But Cannot Be Compiled"configure: WARNING: openssl/ssl.h: proceeding with the preprocessor's resultconfigure: WARNING: openssl/ssl.h: in the future, the compiler will take precedenceconfigure: WARNING:     ## -------------------------------- ##configure: WARNING:     ## Report this to bugs@eggheads.org ##configure: WARNING:     ## -------------------------------- ##</code></pre></div>Tried to compile eggdrop without the ssl patch and everything worked fine so it has to be the patch.<br><br>Could someone please help me out and give me a few tips I can try out to get this working?<br><br>Your help would me much appriciated!<br><br>Thanks,<br>Erik<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10556">Yutani</a> — Wed Sep 02, 2009 6:49 pm</p><hr />
]]></content>
	</entry>
	</feed>
