<div dir="ltr"><div><div>Hi,<br><br></div>I need to link some libraries which are in sysroot into my source code. These are usdpaa libraries.<br><br></div><div>I added DEPENDS += "usdpaa" in .bb file.<br>Apart from that also changed the Makefile.am of my source to include the following:<br></div><div style="margin-left:40px">area_LDADD = -lusdpaa_of<br></div><div><div>Then I ran aclocal, autoconf, automake --add-missing and retarred my package.<br><br></div><div>When the package is being built from recipe, do_compile fails.<br></div><div>So this means that libraries are not getting linked by just doing the above changes. What else I need to change?<br><br>I think this problem is specific to autotools based projects as when I include the libraries during the gcc command they are easily included.<br><div style="margin-left:40px"><br>do_compile() {<br>Â Â Â ${CC} check.c -o check -lusdpaa_of<br>}<br></div>link to <a href="http://area.bb">area.bb</a><br><a href="http://pastebin.com/Bef2C7nX">http://pastebin.com/Bef2C7nX</a><br><br><br></div></div></div>