All of lore.kernel.org
 help / color / mirror / Atom feed
* Including Static Libraries from sysroot in an autotools based package
@ 2015-03-19  9:04 Priya Agarwal
  2015-03-19  9:07 ` Priya Agarwal
  0 siblings, 1 reply; 12+ messages in thread
From: Priya Agarwal @ 2015-03-19  9:04 UTC (permalink / raw)
  To: meta-freescale, yocto-builds, yocto

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

Hi,

I need to link some libraries which are in sysroot into my source code.
These are usdpaa libraries.

I added DEPENDS += "usdpaa" in .bb file.
Apart from that also changed the Makefile.am of my source to include the
following:
area_LDADD = -lusdpaa_of
Then I ran aclocal, autoconf, automake --add-missing and retarred my
package.

When the package is being built from recipe, do_compile fails.
So this means that libraries are not getting linked by just doing the above
changes. What else I need to change?

I think this problem is specific to autotools based projects as when I
include the libraries during the gcc command they are easily included.

do_compile() {
    ${CC} check.c -o check -lusdpaa_of
}
link to area.bb
http://pastebin.com/Bef2C7nX

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-03-20  8:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-19  9:04 Including Static Libraries from sysroot in an autotools based package Priya Agarwal
2015-03-19  9:07 ` Priya Agarwal
2015-03-20  2:56   ` [meta-freescale] " zhenhua.luo
2015-03-20  2:56     ` zhenhua.luo
2015-03-20  3:13   ` Khem Raj
2015-03-20  3:13     ` [yocto] " Khem Raj
2015-03-20  3:37     ` [meta-freescale] " Priya Agarwal
2015-03-20  3:37       ` [yocto] " Priya Agarwal
2015-03-20  8:09       ` [meta-freescale] " Priya Agarwal
2015-03-20  8:09         ` [yocto] " Priya Agarwal
2015-03-20  8:24         ` [meta-freescale] " Khem Raj
2015-03-20  8:24           ` [yocto] " Khem Raj

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.