<div dir="ltr"><br>I have an issue again with this disabling of OpenSSL...<br><br>I am cross compiling, but klone seems to be taking my host system include directory.<br><br>you can easily check it by checking out the OpenWRT trunk &amp; trying to compile KLone in there with the following changes to the default makefile:<br>
KLONE_CONF_ARGS ?= --disable_cxx --install_daemon_only --prefix=/usr --disable-lib=openssl<br><br>This will say the following:<br>adding optional lib dependency openssl<br>adding optional lib dependency openssl_psk<br>adding optional lib dependency z<br>
... snip ...<br>checking dependencies<br>searching for optional lib feature openssl<br>searching for optional lib feature openssl_psk<br>searching for optional lib feature z<br>[wrn] could not find optional dependency &#39;openssl_psk&#39;<br>
<br><br>It shouldn&#39;t be able to find openssl! OpenWRT hasn&#39;t compiled it in, and as I&#39;m cross compiling, I don&#39;t want KLone to be linked against i386 libs when it needs to run on an ARM processor... That will surely give troubles.<br>
<br><br>What can I do to prevent this or should I wait for rc11?<br><br><br>Thx,<br>Steven<br><br><br><div class="gmail_quote">2008/6/5 Stefano Barbato <span dir="ltr">&lt;<a href="mailto:barbato@koanlogic.com">barbato@koanlogic.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello Steven,<br>
<br>
on a Mac/x86 with gcc 4.0.1 this is the Makefile that produces the smallest daemon (149372 bytes using the default, unmodified, source code):<br>
<br>
---[ Makefile ]---<br>
KLONE_VERSION = 2.1.1rc7<br>
<br>
KLONE_CONF_ARGS = --disable-lib=openssl --disable_cxx<br>
<br>
WEBAPP_DIR = $(CURDIR)/webapp<br>
<br>
WEBAPP_CFLAGS += -Os<br>
CFLAGS += -Os<br>
<br>
include <a href="http://klapp.mk" target="_blank">klapp.mk</a><br>
<br>
<a href="http://klapp.mk" target="_blank">klapp.mk</a>: ;wget -O $@ -c <a href="http://koanlogic.com/klone/klapp-2.0.0.mk" target="_blank">http://koanlogic.com/klone/klapp-2.0.0.mk</a><br>
-------------------<br>
<br>
bye,<br>
s<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
<br>
On 05/giu/08, at 14:57, Steven Van Ingelgem wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hi,<br>
<br>
<br>
Is there a way to bring down the size of the kloned executable? Right now I got it down to 181k, but can there be added some parameters to the configure command to make it even smaller?<br>
Does it &#39;strip&#39; itselves after the compile finishes up?<br>
<br>
Is it possible that I got it down to 386 bytes after running strip on it? [&quot;mipsel-linux-strip kloned&quot; to be correct]<br>
<br>
I can&#39;t test it right now, but I just was wondering about it...<br>
<br>
<br>
Thanks :)<br></div></div>
_______________________________________________<br>
Klone-users mailing list<br>
<a href="mailto:Klone-users@koanlogic.com" target="_blank">Klone-users@koanlogic.com</a><br>
<a href="http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users" target="_blank">http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users</a><br>
</blockquote>
<br>
<br>
_______________________________________________<br>
Klone-users mailing list<br>
<a href="mailto:Klone-users@koanlogic.com" target="_blank">Klone-users@koanlogic.com</a><br>
<a href="http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users" target="_blank">http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users</a><br>
</blockquote></div><br></div>