All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Galbusera <gizero@gmail.com>
To: Ravi chandra reddy <vlsireddy@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: Recipe [patch] modification to generate a static library instead of shared library
Date: Fri, 7 Apr 2017 00:31:51 +0200	[thread overview]
Message-ID: <CAC+thW3riZUU02kb=v1amSFHojBJWq+utKJ6R5CdSrkdZmKgbg@mail.gmail.com> (raw)
In-Reply-To: <CAGQ4JX1L0jqm6KeKCwDNnhNHDrGZFARJACk9pwreyUKzRgrFTg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2298 bytes --]

Hi,

On Thu, Apr 6, 2017 at 10:11 PM, Ravi chandra reddy <vlsireddy@gmail.com>
wrote:

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

For libiio there is a recipe in meta-openembedded [1]. Are you using that
one?

[1] http://layers.openembedded.org/layerindex/recipe/57509/


> 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
>>
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>

[-- Attachment #2: Type: text/html, Size: 3939 bytes --]

  reply	other threads:[~2017-04-06 22:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAGQ4JX3rYtONiVv_eOhj-MK=2FA7=h3xCA_iytd=fpTF00rT6A@mail.gmail.com>
2017-04-05 15:18 ` Recipe [patch] modification to generate a static library instead of shared library Ravi chandra reddy
2017-04-05 15:33   ` Matthew McClintock
2017-04-05 15:48     ` Richard Purdie
2017-04-05 18:04       ` Ravi chandra reddy
2017-04-05 18:09         ` Ravi chandra reddy
2017-04-05 18:26           ` Matthew McClintock
2017-04-05 18:37             ` Ravi chandra reddy
2017-04-06 14:20               ` Ravi chandra reddy
2017-04-06 19:17                 ` Matthew McClintock
2017-04-06 20:11                   ` Ravi chandra reddy
2017-04-06 22:31                     ` Andrea Galbusera [this message]
2017-04-09  1:55                       ` Ravi chandra reddy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAC+thW3riZUU02kb=v1amSFHojBJWq+utKJ6R5CdSrkdZmKgbg@mail.gmail.com' \
    --to=gizero@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=vlsireddy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.