Hi,
    I am trying to generate LibIIO [open source by Analog Devices], however there is dependancy on Libxml2.

problem with Libxml2, it is dependant on *python*-lib, libdl, libz, libzma, libm

for some reason with Yocto built Libxml2.so, i am encountering "undefined references error", which i am unable to solve [inspite of linking possible dependant libraries], 

if i get could the Libxml2.a, it packages all "REQUIRED ELEMENTS", so i assume, there WONT be any error in linking Libxml2 in Libiio.

======in short=========
Libiio ---linking---> Libxml2.so [yocto based] ---errors-> undefined referneces to .....

======in short=========
Libiio ---linking---> Libxml2.a [yocto based] --> SHOULD solve and install libiio

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. 

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]


Thanks
RC

On Thu, Apr 6, 2017 at 3:17 PM, Matthew McClintock <msm-oss@mcclintock.net> wrote:
On Thu, Apr 6, 2017 at 9:20 AM, Ravi chandra reddy <vlsireddy@gmail.com> wrote:
> Hi,
>      Is there any hidden pointer within these static dev packages. i
> expected the library to be .a format. what can i understand from these
> static dev packages, plz let me know.

Can you expand on what you're trying to accomplish? Are you trying to
build a static binary? I don't think you actually are trying to
install libxml2.a on the running image are you? Maybe you really want
an SDK with a sysroot populated with static libraries so you can link
against them?

-M