<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Tutorial: How To Compile OpenSSL for the iPhone</title>
	<atom:link href="http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/</link>
	<description>An Eric Orion Anderson Website.</description>
	<lastBuildDate>Mon, 23 Aug 2010 09:47:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ashraf</title>
		<link>http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/comment-page-1/#comment-300</link>
		<dc:creator>ashraf</dc:creator>
		<pubDate>Mon, 23 Aug 2010 09:47:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.therareair.com/?p=181#comment-300</guid>
		<description>When I try to use the RAND_bytes() function I got the error for missing header files. I found these are in the i386 version but not in arm version of the include directory. What can be done?

#include 
#include </description>
		<content:encoded><![CDATA[<p>When I try to use the RAND_bytes() function I got the error for missing header files. I found these are in the i386 version but not in arm version of the include directory. What can be done?</p>
<p>#include<br />
#include</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/comment-page-1/#comment-277</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Fri, 11 Jun 2010 08:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.therareair.com/?p=181#comment-277</guid>
		<description>@Don - Sorry not sure.  To be honest I haven&#039;t looked at the openssl libraries since  I compiled it for v2.2.  My guess is it will take some more tweaks in order to work with v3.2 of iOS and the newest openssl library.  Unless you need something in particular on latest versions, I can vouch that the compiled libraries attached to this tutorial do work on the iPad.</description>
		<content:encoded><![CDATA[<p>@Don &#8211; Sorry not sure.  To be honest I haven&#8217;t looked at the openssl libraries since  I compiled it for v2.2.  My guess is it will take some more tweaks in order to work with v3.2 of iOS and the newest openssl library.  Unless you need something in particular on latest versions, I can vouch that the compiled libraries attached to this tutorial do work on the iPad.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don Williams</title>
		<link>http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/comment-page-1/#comment-276</link>
		<dc:creator>Don Williams</dc:creator>
		<pubDate>Thu, 10 Jun 2010 16:13:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.therareair.com/?p=181#comment-276</guid>
		<description>Hi Eric,

Thank you for this tutorial.  I&#039;m having trouble building this using Xcode 3.2 SDK.

After making the necessary changes, and typing &quot;make&quot;, I get the following error:

/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.0 -I. -I.. -I../include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch armv6 -O3 -fomit-frame-pointer -DL_ENDIAN   -c -o cryptlib.o cryptlib.c
In file included from ../include/openssl/bio.h:67,
                 from cryptlib.h:74,
                 from cryptlib.c:117:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
make[1]: *** [cryptlib.o] Error 1
make: *** [build_crypto] Error 1

Any idea how I can fix this?

I am using Mac OS X Snow Leopard 10.6.3 on an iMac 27″ with Intel Core i7, Xcode 3.2 SDK.</description>
		<content:encoded><![CDATA[<p>Hi Eric,</p>
<p>Thank you for this tutorial.  I&#8217;m having trouble building this using Xcode 3.2 SDK.</p>
<p>After making the necessary changes, and typing &#8220;make&#8221;, I get the following error:</p>
<p>/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.0 -I. -I.. -I../include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch armv6 -O3 -fomit-frame-pointer -DL_ENDIAN   -c -o cryptlib.o cryptlib.c<br />
In file included from ../include/openssl/bio.h:67,<br />
                 from cryptlib.h:74,<br />
                 from cryptlib.c:117:<br />
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory<br />
make[1]: *** [cryptlib.o] Error 1<br />
make: *** [build_crypto] Error 1</p>
<p>Any idea how I can fix this?</p>
<p>I am using Mac OS X Snow Leopard 10.6.3 on an iMac 27″ with Intel Core i7, Xcode 3.2 SDK.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel</title>
		<link>http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/comment-page-1/#comment-275</link>
		<dc:creator>Gabriel</dc:creator>
		<pubDate>Thu, 10 Jun 2010 06:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.therareair.com/?p=181#comment-275</guid>
		<description>Hei Eric.
Thanks for responding me. iOS...for me is this at the moment something like a black box ;-) First I want to understand how to develop on my Mac ;-)

So,what I have to do if I want to use openssl on the mac plattform 

thank you for helping me ;-)</description>
		<content:encoded><![CDATA[<p>Hei Eric.<br />
Thanks for responding me. iOS&#8230;for me is this at the moment something like a black box <img src='http://www.therareair.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  First I want to understand how to develop on my Mac <img src='http://www.therareair.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>So,what I have to do if I want to use openssl on the mac plattform </p>
<p>thank you for helping me <img src='http://www.therareair.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/comment-page-1/#comment-274</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 10 Jun 2010 02:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.therareair.com/?p=181#comment-274</guid>
		<description>@Gabriel - openssl is not included in iOS.  This is why I have supplied these steps to add it to your application via static libraries.  I&#039;d suggest try downloading the openssl_tutorial and take a look how to include static libraries to your application.</description>
		<content:encoded><![CDATA[<p>@Gabriel &#8211; openssl is not included in iOS.  This is why I have supplied these steps to add it to your application via static libraries.  I&#8217;d suggest try downloading the openssl_tutorial and take a look how to include static libraries to your application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel</title>
		<link>http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/comment-page-1/#comment-273</link>
		<dc:creator>Gabriel</dc:creator>
		<pubDate>Tue, 08 Jun 2010 14:08:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.therareair.com/?p=181#comment-273</guid>
		<description>Hello,
firstly thanks a lot for your Tutorial. But I have a big problem. I&#039;m new to mac (development) and does not know how to include the library in my source files.
Since I&#039;ve read that libssl is part of the OS, I&#039;ve included the dylib from the System (Add -&gt; Existing Frameworks... -&gt; libssl.dylib)
But what I have to include? I&#039;ve tried libssh.h, but this fails!</description>
		<content:encoded><![CDATA[<p>Hello,<br />
firstly thanks a lot for your Tutorial. But I have a big problem. I&#8217;m new to mac (development) and does not know how to include the library in my source files.<br />
Since I&#8217;ve read that libssl is part of the OS, I&#8217;ve included the dylib from the System (Add -&gt; Existing Frameworks&#8230; -&gt; libssl.dylib)<br />
But what I have to include? I&#8217;ve tried libssh.h, but this fails!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Tung</title>
		<link>http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/comment-page-1/#comment-270</link>
		<dc:creator>Eric Tung</dc:creator>
		<pubDate>Sun, 11 Apr 2010 04:55:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.therareair.com/?p=181#comment-270</guid>
		<description>Thanks for the tutorial!

To get openssl-1.0.0 to build, I had to add the no-asm config option (0.9.8n didn&#039;t need it).</description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial!</p>
<p>To get openssl-1.0.0 to build, I had to add the no-asm config option (0.9.8n didn&#8217;t need it).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shigeya</title>
		<link>http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/comment-page-1/#comment-268</link>
		<dc:creator>shigeya</dc:creator>
		<pubDate>Thu, 25 Mar 2010 05:16:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.therareair.com/?p=181#comment-268</guid>
		<description>Thanks for helpful info.

I created a script to generate a combined library. I placed it at:

http://github.com/shigeyas/build-openssl-iphone</description>
		<content:encoded><![CDATA[<p>Thanks for helpful info.</p>
<p>I created a script to generate a combined library. I placed it at:</p>
<p><a href="http://github.com/shigeyas/build-openssl-iphone" rel="nofollow">http://github.com/shigeyas/build-openssl-iphone</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joonas Kekoni</title>
		<link>http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/comment-page-1/#comment-256</link>
		<dc:creator>Joonas Kekoni</dc:creator>
		<pubDate>Mon, 08 Mar 2010 11:42:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.therareair.com/?p=181#comment-256</guid>
		<description>Ok I have cooked up the spell:

1st compile for arm as described above.
go to install directory.

&lt;pre&gt;
mv libssl.a libssl-arm.a
mv libcrypto.a libcrypto-arm.a
&lt;/pre&gt;
run configure again.


Find CC= cc and change it to:
&lt;pre&gt;
CC= /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0
 &lt;/pre&gt;
 
Find CFLAG and add to the BEGINNING!!:
&lt;pre&gt;
-isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneOS2.2.sdk
&lt;/pre&gt;

(No other changes needed, since target is allready i386.)

make clean
make
make install

go to target directory
&lt;pre&gt;
mv libssl.a libssl-i386.a
mv libcrypto.a libcrypto-i386.a

lipo libssl-arm.a libssl-i386.a -create -output libssl.a
lipo libcrypto-arm.a libcrypto-i386.a  -create -output libcrypto.a
&lt;/pre&gt;

(NOTE: There may be typing errors above. Check that the paths actually exists.)</description>
		<content:encoded><![CDATA[<p>Ok I have cooked up the spell:</p>
<p>1st compile for arm as described above.<br />
go to install directory.</p>
<pre>
mv libssl.a libssl-arm.a
mv libcrypto.a libcrypto-arm.a
</pre>
<p>run configure again.</p>
<p>Find CC= cc and change it to:</p>
<pre>
CC= /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0
 </pre>
<p>Find CFLAG and add to the BEGINNING!!:</p>
<pre>
-isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneOS2.2.sdk
</pre>
<p>(No other changes needed, since target is allready i386.)</p>
<p>make clean<br />
make<br />
make install</p>
<p>go to target directory</p>
<pre>
mv libssl.a libssl-i386.a
mv libcrypto.a libcrypto-i386.a

lipo libssl-arm.a libssl-i386.a -create -output libssl.a
lipo libcrypto-arm.a libcrypto-i386.a  -create -output libcrypto.a
</pre>
<p>(NOTE: There may be typing errors above. Check that the paths actually exists.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joonas Kekoni</title>
		<link>http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/comment-page-1/#comment-255</link>
		<dc:creator>Joonas Kekoni</dc:creator>
		<pubDate>Mon, 08 Mar 2010 10:55:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.therareair.com/?p=181#comment-255</guid>
		<description>Building on i386 emulator however requires
some special spell I do not know.

Just using openssl build on target will not do.
This seems to be happening when trying to link
on i386 on OSX 10.6: 
&lt;pre&gt;

  &quot;_fopen$UNIX2003&quot;, referenced from:
      _BIO_new_file in libcrypto.a(bss_file.o)
      _file_ctrl in libcrypto.a(bss_file.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

&lt;/pre&gt;

The lipo trick does not help in here,
since the problem is in the underlying library.

I do not know a spell to fix this.

Does anyone do?</description>
		<content:encoded><![CDATA[<p>Building on i386 emulator however requires<br />
some special spell I do not know.</p>
<p>Just using openssl build on target will not do.<br />
This seems to be happening when trying to link<br />
on i386 on OSX 10.6: </p>
<pre>

  "_fopen$UNIX2003", referenced from:
      _BIO_new_file in libcrypto.a(bss_file.o)
      _file_ctrl in libcrypto.a(bss_file.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
</pre>
<p>The lipo trick does not help in here,<br />
since the problem is in the underlying library.</p>
<p>I do not know a spell to fix this.</p>
<p>Does anyone do?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
