<div dir="ltr">Hi,<div>    I am trying to generate LibIIO [open source by Analog Devices], however there is dependancy on Libxml2.</div><div><br></div><div>problem with Libxml2, it is dependant on *python*-lib, libdl, libz, libzma, libm</div><div><br></div><div>for some reason with Yocto built Libxml2.so, i am encountering &quot;undefined references error&quot;, which i am unable to solve [inspite of linking possible dependant libraries], </div><div><br></div><div>if i get could the Libxml2.a, it packages all &quot;REQUIRED ELEMENTS&quot;, so i assume, there WONT be any error in linking Libxml2 in Libiio.</div><div><br></div><div>======in short=========</div><div>Libiio ---linking---&gt; Libxml2<b>.so</b> [yocto based] ---errors-&gt; undefined referneces to .....</div><div><br></div><div><div>======in short=========</div><div>Libiio ---linking---&gt; Libxml2.a [yocto based] --&gt; SHOULD solve and install libiio</div></div><div><br></div><div>for me to generate Libxml2.a, i need to make/ask yocto build LIbxml2.a for me. i tried putting libxml2-staticdev  in the local.conf file and it gives me build error. <br></div><div><br></div><div>all i want is Libxml2.a which is to be used by Libiio.so/Libiio.a to be used by an application [called in user space of AARCH linux]</div><div><br></div><div><br></div><div>Thanks</div><div>RC</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 6, 2017 at 3:17 PM, Matthew McClintock <span dir="ltr">&lt;<a href="mailto:msm-oss@mcclintock.net" target="_blank">msm-oss@mcclintock.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Apr 6, 2017 at 9:20 AM, Ravi chandra reddy &lt;<a href="mailto:vlsireddy@gmail.com">vlsireddy@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
</span><span class="">&gt;      Is there any hidden pointer within these static dev packages. i<br>
&gt; expected the library to be .a format. what can i understand from these<br>
&gt; static dev packages, plz let me know.<br>
<br>
</span>Can you expand on what you&#39;re trying to accomplish? Are you trying to<br>
build a static binary? I don&#39;t think you actually are trying to<br>
install libxml2.a on the running image are you? Maybe you really want<br>
an SDK with a sysroot populated with static libraries so you can link<br>
against them?<br>
<span class="HOEnZb"><font color="#888888"><br>
-M<br>
</font></span></blockquote></div><br></div>