<?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 — Link wolfSSL embedded SSL Statically]]></title>
		<link>https://www.wolfssl.com/forums/topic318-link-wolfssl-embedded-ssl-statically.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic318.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Link wolfSSL embedded SSL Statically.]]></description>
		<lastBuildDate>Tue, 22 Jan 2013 20:21:21 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Link wolfSSL embedded SSL Statically]]></title>
			<link>https://www.wolfssl.com/forums/post888.html#p888</link>
			<description><![CDATA[<p>Hi Chris,</p><p>This works !!.. Thanks <img src="https://www.wolfssl.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /> </p><p>Nitin</p>]]></description>
			<author><![CDATA[null@example.com (nsindhe)]]></author>
			<pubDate>Tue, 22 Jan 2013 20:21:21 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post888.html#p888</guid>
		</item>
		<item>
			<title><![CDATA[Re: Link wolfSSL embedded SSL Statically]]></title>
			<link>https://www.wolfssl.com/forums/post887.html#p887</link>
			<description><![CDATA[<p>Hi Nitin,</p><p>Can you try adding <strong>-fPIC</strong> to <strong>C_EXTRA_FLAGS</strong> instead of CXXFLAGS when building wolfSSL?</p><p>Thanks,<br />Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrisc)]]></author>
			<pubDate>Tue, 22 Jan 2013 17:30:22 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post887.html#p887</guid>
		</item>
		<item>
			<title><![CDATA[Link wolfSSL embedded SSL Statically]]></title>
			<link>https://www.wolfssl.com/forums/post886.html#p886</link>
			<description><![CDATA[<p>Hello All,</p><p>I am trying to link statically to wolfSSL without success. This is process I follow:</p><p> ./configure --enable-webServer --enable-static --disable-shared --prefix=&lt;path to external_libs&gt; --exec-prefix=&lt; path to external_libs &gt; CXXFLAGS=&quot;-fPIC&quot;<br />&nbsp; &nbsp; make<br />&nbsp; &nbsp; make install</p><p>This produces the files in the given prefix directory.</p><p>Then, in my makefile I link it using :</p><p>EXTERNAL_LIBS = -L../external_libs/lib/ ../external_libs/lib/libcyassl.a -lcryptopp \<br />&nbsp; &nbsp; /usr/lib/libboost_serialization.so.1.49.0</p><p>When I compile my program, I get the following error:</p><p>-L../external_libs/lib/ ../external_libs/lib/libcyassl.a -lcryptopp /usr/lib/libboost_serialization.so.1.49.0<br />/usr/bin/ld: ../external_libs/lib/libcyassl.a(src_libcyassl_la-ssl.o): relocation R_X86_64_32 against `.rodata.str1.1&#039; can not be used when making a shared object; recompile with -fPIC<br />../external_libs/lib/libcyassl.a: could not read symbols: Bad value<br />collect2: error: ld returned 1 exit status</p><p>I am unable to figure out what is wrong as I am using the -fPIC flag. Please help.</p><p>Nitin</p>]]></description>
			<author><![CDATA[null@example.com (nsindhe)]]></author>
			<pubDate>Tue, 22 Jan 2013 02:25:08 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post886.html#p886</guid>
		</item>
	</channel>
</rss>
