<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — How to build .lib file for CyaSSL3.3.0]]></title>
		<link>https://www.wolfssl.com/forums/topic708-how-to-build-lib-file-for-cyassl330.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic708.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to build .lib file for CyaSSL3.3.0.]]></description>
		<lastBuildDate>Mon, 21 Sep 2015 16:08:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to build .lib file for CyaSSL3.3.0]]></title>
			<link>https://www.wolfssl.com/forums/post2216.html#p2216</link>
			<description><![CDATA[<p>Hi BKPatel,</p><p>Link time solution:<br />It appears if the errors do not occur at build time but rather at link time then perhaps the errors dealing with pvPortMalloc and vPortFree may be because the freeRTOS implementation is unknown to the linker. Where is the freeRTOS library installed and is it in the LD_LIBRARY_PATH? For example:<br /></p><div class="codebox"><pre><code>export LD_LIBRARY_PATH=&quot;${LD_LIBRARY_PATH}:/usr/local/lib/freeRTOS&quot;</code></pre></div><br /><p>Kind Regards,</p><p>Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Mon, 21 Sep 2015 16:08:26 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2216.html#p2216</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to build .lib file for CyaSSL3.3.0]]></title>
			<link>https://www.wolfssl.com/forums/post2214.html#p2214</link>
			<description><![CDATA[<p>Hi BKPatel,</p><p>Could you double check and ensure that by using &quot;sudo ./configure&quot; it is not restricting access to the resulting library IE making it sudo only?</p><p>If your autoconf and autoreconf are up to day there should be no need to tell it to read the configure script in shell (sudo sh). The only necessary commands should be as follows.</p><div class="codebox"><pre><code>./autogen.sh
./configure &lt;options here&gt;
make
sudo make install</code></pre></div><p> (We only have sudo here because default it targets /usr/local/lib which is restricted to sudo)<br />You can opt to do the following instead:<br /></p><div class="codebox"><pre><code>./configure &lt;other options&gt; --prefix=/home/user/my/custom/install/directory
make
make install</code></pre></div><p>You can install the library where ever you want it so that it resides in a user accessible directory.<br />All of these options and more can be seen with<br /></p><div class="codebox"><pre><code>./configure --help</code></pre></div><p>Kind Regards,</p><p>Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Sun, 20 Sep 2015 11:12:04 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2214.html#p2214</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to build .lib file for CyaSSL3.3.0]]></title>
			<link>https://www.wolfssl.com/forums/post2211.html#p2211</link>
			<description><![CDATA[<p>Hi Kaleb,</p><p>I tried with <strong><em>sudo sh ./configure --host=arm-none-eabi C_EXTRA_FLAGS=&quot;-O3 -mthumb -mcpu=cortex-m4&quot; LDFLAGS=&quot;-lc -lrdimon -specs=rdimon.specs&quot; CC=arm-none-eabi-gcc-4.9.3 ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes</em></strong></p><p>And than <strong><em>make src/libwolfssl.la</em></strong>. This is doing compilation. Only <strong> make </strong> is giving error for compilation for Test Suite files.</p><p>When I do <strong><em>make install</em></strong> or <strong><em>make install src/libwolfssl.la</em></strong> it is generating error as mentioned above.</p><p>Thanks,<br />Bhavesh</p>]]></description>
			<author><![CDATA[null@example.com (BKPatel)]]></author>
			<pubDate>Fri, 18 Sep 2015 08:04:54 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2211.html#p2211</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to build .lib file for CyaSSL3.3.0]]></title>
			<link>https://www.wolfssl.com/forums/post2209.html#p2209</link>
			<description><![CDATA[<p>Hi Kaleb,</p><p>Making changes for some of pre-processor I am able to build libwolfssl.la file.<br />But when I run command <strong><em>make install libwolfssl.lib</em></strong> I am getting following error:</p><p><span style="color: Red">`pvPortMallocinternal.c:&#039;<br />(.keys.c:text+(.0x1808)text+: 0x362)undefined : reference undefined to reference `vPortFreeto &#039;<br />`pvPortMallocsrc/&#039;<br />.libskeys.c:/libwolfssl.a(.(src_libwolfssl_latext+-internal.o0x378))::&nbsp; Inundefined&nbsp; functionreference&nbsp; `to FreeX509Name&#039;`pvPortMalloc:<br />&#039;<br />internal.c:keys.c:(.(.text+text+0x18d8)0x38a): : undefined undefined reference reference to to `vPortFree`pvPortMalloc&#039;<br />&#039;<br />src/keys.c:.libs(./libwolfssl.atext+(src_libwolfssl_la0x39c)-internal.o: ):undefined&nbsp; Inreference&nbsp; functionto&nbsp; ``pvPortMallocFreeX509&#039;&#039;<br />:<br />src/internal.c:.libs(./libwolfssl.atext+(src_libwolfssl_la0x1966)-keys.o: ):undefined keys.c:reference (.to text+`vPortFree0x3ae)&#039;<br />: src/more .libsundefined /libwolfssl.areferences (src_libwolfssl_lato -internal.o`pvPortMalloc):&#039; internal.c:follow<br />(.text+0x1fbc): more undefined references to `vPortFree&#039; follow<br />src/.libs/libwolfssl.a(src_libwolfssl_lacollect2: error: ld returned 1 exit status<br />-io.o): In function `EmbedReceive&#039;:<br />io.c:(.text+0xa): undefined reference to `lwip_recv&#039;<br />src/.libs/libwolfssl.a(src_libwolfssl_la-io.o): In function `EmbedSend&#039;:<br />io.c:(.text+0x7a): undefined reference to `lwip_send&#039;<br />src/.libs/libwolfssl.a(src_libwolfssl_la-keys.o): In function `SetKeysSide&#039;:<br />keys.c:(.text+0x34e): undefined reference to `pvPortMalloc&#039;<br />keys.c:(.text+0x362): undefined reference to `pvPortMalloc&#039;<br />keys.c:(.text+0x378): undefined reference to `pvPortMalloc&#039;<br />keys.c:(.text+0x38a): undefined reference to `pvPortMalloc&#039;<br />keys.c:(.text+0x39c): undefined reference to `pvPortMalloc&#039;<br />src/.libs/libwolfssl.a(src_libwolfssl_la-keys.o):keys.c:(.text+0x3ae): more undefined references to `pvPortMalloc&#039; follow<br />collect2: error: ld returned 1 exit status<br />make[1]: *** [wolfcrypt/test/testwolfcrypt] Error 1<br />make[1]: *** Waiting for unfinished jobs....<br />make[1]: *** [wolfcrypt/benchmark/benchmark] Error 1<br />make[1]: Leaving directory `/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6&#039;<br />make: *** [install] Error 2</span></p><p>I am not able to link .la file directly into CCS. Due to following error:</p><p><span style="color: DarkOrange">&lt;Linking&gt;<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 1: error #19027-D: invalid directive libwolfssl - ignored<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 2: error #19027-D: invalid directive Generated - ignored<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 4: error #19027-D: invalid directive Please - ignored<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 5: error #19027-D: invalid directive It - ignored<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 7: error #19027-D: invalid directive The - ignored<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 8: error #10045-D: illegal input character:&nbsp; &quot;&#039;&quot;<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 10: error #19027-D: invalid directive Names - ignored<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 11: error #10045-D: illegal input character:&nbsp; &quot;&#039;&quot;<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 13: error #19027-D: invalid directive The - ignored<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 14: error #10045-D: illegal input character:&nbsp; &quot;&#039;&quot;<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 16: error #19027-D: invalid directive Linker - ignored<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 17: error #10045-D: illegal input character:&nbsp; &quot;&#039;&quot;<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 19: error #19027-D: invalid directive Libraries - ignored<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 20: error #10045-D: illegal input character:&nbsp; &quot;&#039;&quot;<br />error #10008-D: cannot find file &quot;c&quot;<br />error #10008-D: cannot find file &quot;rdimon&quot;<br />error #10008-D: cannot find file &quot;m&#039;&quot;<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 22: error #19027-D: invalid directive Names - ignored<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 23: error #10045-D: illegal input character:&nbsp; &quot;&#039;&quot;<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 25: error #19027-D: invalid directive Version - ignored<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 27: error #10043-D: expecting &quot;&quot;;&quot;&quot; instead of &quot;age&quot;<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 28: error #10043-D: expecting &quot;&quot;;&quot;&quot; instead of &quot;revision&quot;<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 30: error #19027-D: invalid directive Is - ignored<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 33: error #19027-D: invalid directive Should - ignored<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 36: error #19027-D: invalid directive Files - ignored<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 37: error #10045-D: illegal input character:&nbsp; &quot;&#039;&quot;<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 38: error #10045-D: illegal input character:&nbsp; &quot;&#039;&quot;<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 40: error #19027-D: invalid directive Directory - ignored<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 41: error #10045-D: illegal input character:&nbsp; &quot;&#039;&quot;</span></p><p><span style="color: Orange"> undefined&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;first referenced<br />&nbsp; symbol&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;in file&nbsp; &nbsp; &nbsp;<br /> ---------&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;----------------<br /> wolfSSL_CTX_new&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;./eth_socket.obj<br /> wolfSSL_Init&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ./eth_socket.obj<br /> wolfSSL_free&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ./eth_socket.obj<br /> wolfSSL_new&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;./eth_socket.obj<br /> wolfSSL_read&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ./eth_socket.obj<br /> wolfSSL_set_fd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ./eth_socket.obj<br /> wolfTLSv1_2_client_method ./eth_socket.obj</span></p><p><span style="color: Orange">error #10234-D: unresolved symbols remain<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 31: error #10104: undefined symbol &quot;no&quot; used in expression<br />&quot;/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6/src/libwolfssl.la&quot;, line 34: error #10104: undefined symbol &quot;no&quot; used in expression<br />error #10010: errors encountered during linking; &quot;Test_Project.out&quot; not built</span></p><p><span style="color: Orange">&gt;&gt; Compilation failure<br />gmake: *** [Test_Project.out] Error 1<br />gmake: Target `all&#039; not remade because of errors.</span></p><p>So wolfssl.a file is required for linking.<br />Can you help me to sort out make install issue.<br />Attaching .la file if that can be helpful.</p><p>Thanks,<br />Bhavesh</p>]]></description>
			<author><![CDATA[null@example.com (BKPatel)]]></author>
			<pubDate>Fri, 18 Sep 2015 06:50:27 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2209.html#p2209</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to build .lib file for CyaSSL3.3.0]]></title>
			<link>https://www.wolfssl.com/forums/post2206.html#p2206</link>
			<description><![CDATA[<p>Hi BKPatel,</p><p>Often times embedded platforms do not support directory structures. Or do not have dirent structure type available. To fix this we have included a pre-processor define NO_WOLFSSL_DIR. Could you try adding that to the pre-processor defines for your project to eliminate this error and let me know your results.</p><p>Kind Regards,</p><p>Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Thu, 17 Sep 2015 15:53:25 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2206.html#p2206</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to build .lib file for CyaSSL3.3.0]]></title>
			<link>https://www.wolfssl.com/forums/post2202.html#p2202</link>
			<description><![CDATA[<p>I have changed src/ and wolfssl/ folders.<br />Attaching tar files for these two. Full library is excedding size of 10 MB so not able to updload it.<br />If possible how can full directory can be saved?</p><p>Changes made:</p><p>in settings.h:<br />- uncommented #define FREERTOS and #define WOLFSSL_LWIP. Without&nbsp; WOLFSSL_LWIP it was giving sys/socket.h not found error at src/io.c:87:36.<br />- added LWIP folder from /lwip-1.4.1/src/include and changed path of include files.</p>]]></description>
			<author><![CDATA[null@example.com (BKPatel)]]></author>
			<pubDate>Wed, 16 Sep 2015 06:51:52 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2202.html#p2202</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to build .lib file for CyaSSL3.3.0]]></title>
			<link>https://www.wolfssl.com/forums/post2201.html#p2201</link>
			<description><![CDATA[<p>Hi Kaleb,</p><p>Thanks for the recommendations. I am able to go forward with suggestions you have given,<br />I made Tiva and FreeRTOS specific changes and built the library again.<br />It is failing at one point.&nbsp; Following is the error log.</p><p><span style="color: Red">In file included from ./wolfssl/internal.h:27:0,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from src/ssl.c:32:<br />src/ssl.c:3551:33: error: dereferencing pointer to incomplete type<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;XSTRNCAT(name, entry-&gt;d_name, MAX_FILENAME_SZ/2);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^</span><br />Including log file as well as WolfSSL zip with the changes.<br />Can you please let me know reasonn for this error?</p><p>Thanks,<br />Bhavesh</p>]]></description>
			<author><![CDATA[null@example.com (BKPatel)]]></author>
			<pubDate>Wed, 16 Sep 2015 06:41:49 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2201.html#p2201</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to build .lib file for CyaSSL3.3.0]]></title>
			<link>https://www.wolfssl.com/forums/post2200.html#p2200</link>
			<description><![CDATA[<p>Hi BKPatel,</p><p>Here is what I have done so far:</p><p>Try:<br /></p><div class="codebox"><pre><code>arm-none-eabi-gcc --version</code></pre></div><p>If it is not found do the following:<br /></p><div class="codebox"><pre><code>sudo apt-get install gcc-arm-none-eabi
sudo apt-get install libnewlib-arm-none-eabi</code></pre></div><p>cd into wolfssl directory.<br />Edit</p><div class="codebox"><pre><code>wolfssl/wolfcrypt/settings.h</code></pre></div><p> by uncommenting</p><div class="codebox"><pre><code>#define FREERTOS</code></pre></div><p>and run the following:<br /></p><div class="codebox"><pre><code>./configure --host=arm-none-eabi C_EXTRA_FLAGS=&quot;-O3 -mthumb -mcpu=cortex-m4&quot; LDFLAGS=&quot;-lc -lrdimon -specs=rdimon.specs&quot; CC=arm-none-eabi-gcc-4.8.2 </code></pre></div><p>(This assumes you are using cortex-m4, if the mcpu needs to be changed update it to your mcpu)</p><p>At this point you will need the project specific header files all in the relevant places. Which unfortunately I can not test as I don&#039;t have access to your project etc.</p><p>It is my hope that you can get it working from there. If you have any further questions please let us know.</p><br /><p>Kind Regards,</p><p>Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Tue, 15 Sep 2015 16:57:28 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2200.html#p2200</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to build .lib file for CyaSSL3.3.0]]></title>
			<link>https://www.wolfssl.com/forums/post2199.html#p2199</link>
			<description><![CDATA[<p>Hi BKPatel,</p><p>I am getting close. I have the library compiling now but the make step is failing. As soon as I get this working I will send you a step-by-step on how I did it. Some of the steps may need to be modified for your particular board but should not be hard for you.</p><p>Expect an update soon.</p><br /><p>Regards,</p><p>Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Tue, 15 Sep 2015 15:55:52 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2199.html#p2199</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to build .lib file for CyaSSL3.3.0]]></title>
			<link>https://www.wolfssl.com/forums/post2198.html#p2198</link>
			<description><![CDATA[<p>Hi Kaleb,</p><p>I tried using <span style="color: Blue">sudo sh ./configure --host=arm-none-eabi</span> but still it is giving below error.</p><p><span style="color: Red">checking build system type... i686-pc-linux-gnu<br />checking host system type... arm-none-eabi<br />checking for a BSD-compatible install... /usr/bin/install -c<br />checking whether build environment is sane... yes<br />checking for arm-none-eabi-strip... arm-none-eabi-strip<br />checking for a thread-safe mkdir -p... /bin/mkdir -p<br />checking for gawk... no<br />checking for mawk... mawk<br />checking whether make sets $(MAKE)... yes<br />checking whether make supports nested variables... yes<br />checking whether UID &#039;0&#039; is supported by ustar format... yes<br />checking whether GID &#039;0&#039; is supported by ustar format... yes<br />checking how to create a ustar tar archive... gnutar<br />checking how to print strings... printf<br />checking for style of include used by make... GNU<br />checking for arm-none-eabi-gcc... arm-none-eabi-gcc<br />checking whether the C compiler works... no<br />configure: error: in `/media/bhavesh/F4F24186F2414DD4/tiNew/wolfssl-3.6.6&#039;:<br />configure: error: C compiler cannot create executables<br />See `config.log&#039; for more details</span></p><p>Attaching config.log for more details.</p><p>I ran&nbsp; <span style="color: Blue">sudo sh ./configure --host=arm-none-eabi CC=gcc</span> It built for intel processor. With this when I include generated .a in CCS than at linking it is generating following error.<br /><span style="color: Red">fatal error #10178: attempt to link an object file that is not built for Advanced RISC Machines ARM (&quot;/usr/local/lib/libwolfssl.a&lt;src_libwolfssl_la-ssl.o&gt;&quot; = Intel 80386)</span></p><p>Have anyone encounered this kind of issue on any other ARM processor?<br />I also tried WolfSSL 3.6.6 instead of CyaSSL 3.3.0. But still results are same. Log attached is for WolfSSL3.6.6</p><p>Thanks,<br />Bhavesh</p>]]></description>
			<author><![CDATA[null@example.com (BKPatel)]]></author>
			<pubDate>Tue, 15 Sep 2015 08:03:27 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2198.html#p2198</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to build .lib file for CyaSSL3.3.0]]></title>
			<link>https://www.wolfssl.com/forums/post2197.html#p2197</link>
			<description><![CDATA[<p>Hi BKPatel,</p><p>I am back in the office now. While I can not recommend you use the toolchain I sent previously as it is on github and I&#039;m not sure what the licensing issues may be with that, I can suggest that cross compilation will need to be something along these lines:</p><p>./configure --host=arm-none-eabi</p><p>I don&#039;t believe arm-linux is the correct host to specify from compilation with Tiva C. I will look into this a little more today and see if I can&#039;t come up with a compile host platform that is fully supported on linux and/or Unix.</p><p>Regards,</p><p>Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Mon, 14 Sep 2015 19:14:43 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2197.html#p2197</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to build .lib file for CyaSSL3.3.0]]></title>
			<link>https://www.wolfssl.com/forums/post2190.html#p2190</link>
			<description><![CDATA[<p>Hi Kaleb,</p><p>Thanks for the reply. I tried but not able to resolve the issue.<br />I have included FreeRTOS with LWIP in to the project and that is working well. Now my requirement is REST APIs (GET,POST etc) which are called should be secured. <br />I tried with CyaSSL 3.3.0 and WolfSSL 3.4.6. I tried to build the code using Visual Studio and it is not allowing to build lib for ARM.<br />I also tried it with Ubuntu as mentioned in section 2.6 <a href="https://wolfssl.com/wolfSSL/Docs-wolfssl-manual-2-building-wolfssl.html">https://wolfssl.com/wolfSSL/Docs-wolfss … lfssl.html</a><br />But it is always generating .a file for Intel x86 not for ARM.</p><p>With TI-RTOS I am getting Stack Overflow errors after continuously sending GET, POST command even without using HTTPS so can not continue with it . <br />Can you help me to build library file which can be used with Tiva C Processor than I can start further coding?<br />My project is currently in Development stage and deadline is 20th Sep to complete Secure GET and POST command using HTTPS.</p><p>Thanks,<br />Bhavesh</p>]]></description>
			<author><![CDATA[null@example.com (BKPatel)]]></author>
			<pubDate>Mon, 07 Sep 2015 06:23:37 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2190.html#p2190</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to build .lib file for CyaSSL3.3.0]]></title>
			<link>https://www.wolfssl.com/forums/post2189.html#p2189</link>
			<description><![CDATA[<p>Hi BKPatel,</p><p>While searching the TI forums for a toolchain to work with I found mention of this repository. I won&#039;t have time to test it before the 14th but may be helpful to you in the mean-time.</p><p><a href="https://github.com/yuvadm/tiva-c">https://github.com/yuvadm/tiva-c</a></p><p>You&#039;ll notice he has tiva-c/third_party/FreeRTOS/ </p><p>Regards,</p><p>Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Fri, 04 Sep 2015 22:15:57 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2189.html#p2189</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to build .lib file for CyaSSL3.3.0]]></title>
			<link>https://www.wolfssl.com/forums/post2188.html#p2188</link>
			<description><![CDATA[<p>Hi BKPatel,</p><p>Your issue is clear to me now. What is the problem with TI-RTOS that makes you want to use FREE-RTOS. In researching your questions I have found many questions asked about building freeRTOS with TivaC, most of which have little or no response and all mention this is not a well-documented process. What are the end-goals for your project and are there any deadlines?</p><p>I ask because I am leaving for vacation tonight after work and will be out of the office until Sept. 14th. That is when I would begin tracking down a solution / building a toolchain to cross-compile. I know you had not gotten any response from the Texas Instruments support but I would have to point you back their way if you are pressed for time.</p><p>The best way to contact TI in this regards is to use <a href="http://e2e.ti.com/support/development_tools/">http://e2e.ti.com/support/development_tools/</a> and search for old cases or ask about tool chains for compiling an external c library on linux for use in CCS.</p><p>In the recent past we did a build of our libraries with freeRTOS using the Rowley Crossworks compiler. Without looking into it much further my best guess is that it will require something along those lines, but it may be too early to say for sure.</p><p>I am aware that the TivaC is typically flashed with a .aem4f formatted library which is abstracted above binary so I&#039;m not sure the current approach of attempting to output a binary library will work on the TivaC processor. I am not 100% on that however. I would need to contact TI and see what they have to say on the matter.<br />See: <a href="http://www.ti.com/lit/ug/spru523i/spru523i.pdf">http://www.ti.com/lit/ug/spru523i/spru523i.pdf</a></p><p>The file extensions for pre-built libraries provided with the NDK include the following:</p><p>.aem4 For Cortex-M4 targets (ELF format, little endian, TI compiler)<br />.am4g For Cortex-M4 targets (ELF format, little endian, GNU compiler)<br />.arm4 For Cortex-M4 targets (ELF format, little endian, IAR compiler)<br />.aem4f For Cortex-M4F floating point targets (ELF format, little endian, TI compiler)<br />.am4fg For Cortex-M4F floating point targets (ELF format, little endian, GNU compiler)<br />.arm4f For Cortex-M4F floating point targets (ELF format, little endian, IAR compiler)</p><p>Thank You for contacting us. I hope you can resolve this quickly. Otherwise I look forward to supporting you upon my return.</p><p>Kind Regards,</p><p>Kaleb</p>]]></description>
			<author><![CDATA[null@example.com (Kaleb J. Himes)]]></author>
			<pubDate>Fri, 04 Sep 2015 21:44:31 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2188.html#p2188</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to build .lib file for CyaSSL3.3.0]]></title>
			<link>https://www.wolfssl.com/forums/post2183.html#p2183</link>
			<description><![CDATA[<p>Hi Kebal,</p><p>I am not using TI-RTOS due to some issues with it. I am using FreeRTOS with TI processor TivaC Series.<br />If not using TI-RTOS than wolfssl.ae4mf gives NDK and TI Kernel errors.<br />I tried to build library for WolfSSL as mentioned in section 2.6 <a href="https://wolfssl.com/wolfSSL/Docs-wolfssl-manual-2-building-wolfssl.html">https://wolfssl.com/wolfSSL/Docs-wolfss … lfssl.html</a><br />I am trying to build it for ARM using Ubuntu <br />Following line is giving error and it is not able to configure<br /><span style="color: Blue">sudo ./configure --host=arm-linux CC=arm-linux-gcc AR=arm-linux-ar RANLIB=arm-linux</span><br />Generated error is:<br /><span style="color: Red">configure: error: in `/media/bhavesh/2C0A44700A4438DA/ti/wolfssl-3.4.6&#039;:<br />configure: error: C compiler cannot create executables</span></p><p>If I just give <span style="color: Blue">sudo ./configure --host=arm</span> and followed the steps, it is generating libwolfssl.a file.<br />When I linked this in CCS and build it is giving me follwoing error:<br /><span style="color: Red">fatal error #10178: attempt to link an object file that is not built for Advanced RISC Machines ARM (&quot;/usr/local/lib/libwolfssl.a&lt;src_libwolfssl_la-ssl.o&gt;&quot; = Intel 80386)</span></p><p><span style="color: Blue">dpkg -l | grep gcc</span> gives list of command and it is showing <span style="color: Blue">gcc-arm-none-eabi&nbsp; &nbsp; 4.9.3.2015q2-1trusty1</span> in the list.<br />Do you know how to generate library for TivaC Series Processor?</p><p>Thanks,<br />Bhavesh</p>]]></description>
			<author><![CDATA[null@example.com (BKPatel)]]></author>
			<pubDate>Fri, 04 Sep 2015 12:22:11 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post2183.html#p2183</guid>
		</item>
	</channel>
</rss>
