Thank you. <div><br></div><div>It worked. Also, i just tested with the stunnel binary on the website and it was compiled with PIE support, so i did not had to compile it. </div><div><br></div><div>Thank you once again.<br><br><div class="gmail_quote">În Wed Dec 03 2014 at 1:17:32 PM, Michal Trojnara <<a href="mailto:Michal.Trojnara@mirt.net">Michal.Trojnara@mirt.net</a>> a scris:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi Neacsu Mihai Adrian,<br>
<br>
> I am new to Stunnel, but i would like to compile a working version<br>
> for Android L.<br>
><br>
> The android version on the website is not compiled with PIE<br>
> support, thus it does not run on Android L. I tried to look through<br>
> the source code, and add the flags, -fPie and -pie, but i did not<br>
> figure out where to do that.<br>
<br>
Please try stunnel 5.08b7:<br>
<a href="https://www.stunnel.org/downloads.html" target="_blank">https://www.stunnel.org/<u></u>downloads.html</a><br>
This version fixes a bug that resulted in the -pic option not being<br>
used by the linker. Please let me know whether the new binary runs on<br>
Android L.<br>
<br>
> Also, after settings 755 on build-android.sh and running it, i get<br>
> Permission denied on creating folders inside the /bin/android<br>
> folder, even if i am running as root user.<br>
<br>
Just configure stunnel with:<br>
./configure --with-sysroot --build=i686-pc-linux-gnu<br>
- --host=arm-linux-androideabi --prefix=/data/local<br>
<br>
Mike<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1<br>
<br>
iEYEARECAAYFAlR+8SgACgkQ/NU+<u></u>nXTHMtHGIQCg4mFuqzRd+<u></u>GFWsKx3OapK52TA<br>
UDYAoPLGWkii3P+<u></u>fhvJl3mvSbxWtRb8Z<br>
=Lon+<br>
-----END PGP SIGNATURE-----<br>
______________________________<u></u>_________________<br>
stunnel-users mailing list<br>
<a href="mailto:stunnel-users@stunnel.org" target="_blank">stunnel-users@stunnel.org</a><br>
<a href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users" target="_blank">https://www.stunnel.org/cgi-<u></u>bin/mailman/listinfo/stunnel-<u></u>users</a><br>
</blockquote></div></div>