<div dir="ltr"><div>Usually emerge, equery, revdep-rebuild (reverse depency rebuild) in gentoo offers how to solve a problem. But I guess you don't use gentoo. <br><br></div>Maybe as a workaround you can use these tools to search on the web and see all the dependencies that are needed. Maybe a little out of scope suggestion see these links:<br><a href="https://wiki.gentoo.org/wiki/Project:Embedded" target="_blank">https://wiki.gentoo.org/wiki/Project:Embedded</a><br><a href="http://www.anticore.org/ratgentoo/" target="_blank">http://www.anticore.org/ratgentoo/</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 21, 2015 at 5:48 PM, Constantine Shulyupin <span dir="ltr"><<a href="mailto:const@makelinux.co.il" target="_blank">const@makelinux.co.il</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,<br><br></div>Again I am compiling big OSS project for embedded environment and receive a lot of errors like:<br>warning: libXXX, needed by YYY, not found <br clear="all"><div><div>fatal error: XXX: No such file or directory.<br>undefined reference to XX<br></div><div>etc<br></div><div><br></div><div>Then I look for missing packages with utilities: nm, apt-file search and configure compilation. <br></div><div><br></div><div>Question:<br><br></div><div>Are there utility, which parses errors and proposes obvious solutions?<br><br></div><div>For example, following code proposes to add missing library to LDFLAGS:<br><br></div><div>perl -ne '/.*warning: lib(.*?)\..*, needed by .*, not found .*/ && print "export LDFLAGS+=\" -l$1\"\n";' < config.log<br><br></div><div>Thanks<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>-- <br><div><div dir="ltr">Constantine Shulyupin<br><a href="http://www.MakeLinux.co.il/" target="_blank">http://www.MakeLinux.co.il/</a><br>Embedded Linux Systems<br>Tel Aviv<br></div></div>
</div></font></span></div></div>
<br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br></div>