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

	<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-01-17T18:15:28-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2004-01-17T18:15:28-04:00</updated>

		<published>2004-01-17T18:15:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32615#p32615</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32615#p32615"/>
		<title type="html"><![CDATA[Need Help Compiling Eggdrop 1.6.15 on HP 9000 Unix System]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32615#p32615"><![CDATA[
This is being worked on in .16, however I'm still unsure of the problem. HP-UX's linker is weird. In the mean time, make static works.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Sat Jan 17, 2004 6:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-12-18T00:47:12-04:00</updated>

		<published>2003-12-18T00:47:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31563#p31563</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31563#p31563"/>
		<title type="html"><![CDATA[Need Help Compiling Eggdrop 1.6.15 on HP 9000 Unix System]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31563#p31563"><![CDATA[
Hi!<br>I've been having trouble getting the latest eggdrop to compile on a HP9000 s827 running HP-UX version 11. I've tried eggdrop 1.6.15, and because of problems compiling that, i've tried to compile 1.6.13, and 1.6.8 on this particular unix system ... but to no avail.<br><br> I have run a windrop for quite some time, and have compiled and successfully set up eggdrops under linux in the recent past (including version 1.6.15). <br><br>Since i would like to get 1.6.15 running, I'll describe exactly what I've tried so far: I downloaded the source, and had some trouble getting it to compile, so i tried to apply a patch which should have fixed my problems (available at: <a href="http://www.egghelp.org/files/patches/eggdrop1.6.15+ntopfix2.patch.gz" class="postlink">http://www.egghelp.org/files/patches/eg ... 2.patch.gz</a> ) during the process of applying the patch, i could not get the HP9000 to patch the source code ( patch -p1 &lt; eggdrop1.6.15+ntopfix2.patch ), so i unpacked the source code on my linux box, and applied the patch, repacked the source code, sent it to the HP 9000, and unpacked it there; then tried to compile:<br><br>./configure;make config;make<br><br>at this point, the compile will exit in error during the "make" phase. I believe the problem lies with the detection of socklen_t (the configure script says "no" when it checks) . <br><blockquote class="uncited"><div># make<br>(This may take a while.  Go get some runts.)<br>        gcc -pipe -g -O2 -I.. -I.. -DHAVE_CONFIG_H   -c bg.c<br>In file included from compat/inet_aton.h:29,<br>                 from compat/compat.h:28,<br>                 from main.h:99,<br>                 from bg.c:27:<br>/usr/include/sys/socket.h:171: conflicting types for `socklen_t'<br>eggdrop.h:199: previous declaration of `socklen_t'<br>*** Error exit code 1<br><br>Stop.<br>*** Error exit code 1<br><br>Stop.<br>#</div></blockquote><br>my solution to this problem was to edit src/eggdrop.h line 199, and to comment out the typedef int socklent_t statement for reference, /usr/include/sys/socket.h defines the type size as 'size_t' rather than 'int'. Now, the source in eggdrop.h looks like this:<blockquote class="uncited"><div>#if !HAVE_SOCKLEN_T<br>//typedef int socklen_t; //this was the old line number 199<br>#define HAVE_SOCKLEN_T<br>#endif</div></blockquote><br>next, i try to recompile the bot by executing 'make' again. This time, things went a bit better (the source compiles). But at the linking step the build process dies (here is the relevant information):<blockquote class="uncited"><div>Linking eggdrop...<br><br>        gcc -pipe -fPIC -shared -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o ch<br>anprog.o cmds.o dcc.o  dccutil.o dns.o flags.o language.o match.o main.o mem.o m<br>isc.o misc_file.o  modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o<br>tcluser.o  userent.o userrec.o users.o  -L/usr/local/lib -ltcl8.4 -lm -ldld -lns<br>l  md5/md5c.o compat/*.o `cat mod/mod.xlibs`<br>/usr/ccs/bin/ld: DP relative code in file bg.o - shared library must be position<br>    independent.  Use +z or +Z to recompile.<br>collect2: ld returned 1 exit status<br>*** Error exit code 1</div></blockquote><br>honestly, i don't know much about programming on a unix/linux system. My experience is limited to Windows (c,c++,Visual Basic) and assembly language on M68k CPUs. If anyone knows how to solve this (i believe my problem has something to do with the "+z or +Z" flags... but where do they go?), their help would be greatly appreciated <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>if anyone is interested in the ouput from the configure and make processes, please visit: <a href="http://www.gregd.org/eggdrop" class="postlink">www.gregd.org/eggdrop</a> . You'll find logs of the stuff i've done broken up into sections for easier reading. The tarball in that particular folder is a patched 1.6.15 as described above.<br><br>thanks!<p>Statistics: Posted by Guest — Thu Dec 18, 2003 12:47 am</p><hr />
]]></content>
	</entry>
	</feed>
