Parsing compilation errors and automatic resolving

Parsing compilation errors and automatic resolving

sara fink sara.fink at gmail.com
Sat Apr 25 12:46:40 IDT 2015


Usually emerge, equery, revdep-rebuild (reverse depency rebuild)  in gentoo
offers how to solve a problem. But I guess you don't use gentoo.

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:
https://wiki.gentoo.org/wiki/Project:Embedded
http://www.anticore.org/ratgentoo/

On Tue, Apr 21, 2015 at 5:48 PM, Constantine Shulyupin <
const at makelinux.co.il> wrote:

> Hi,
>
> Again I am compiling big OSS project for embedded environment and receive
> a lot of errors like:
> warning: libXXX, needed by YYY, not found
> fatal error: XXX: No such file or directory.
> undefined reference to XX
> etc
>
> Then I look for missing packages with utilities: nm, apt-file search and
> configure compilation.
>
> Question:
>
> Are there utility, which parses errors and proposes obvious solutions?
>
> For example, following code proposes to add missing library to LDFLAGS:
>
> perl -ne '/.*warning: lib(.*?)\..*, needed by .*, not found .*/ && print
> "export LDFLAGS+=\" -l$1\"\n";' < config.log
>
> Thanks
>
> --
> Constantine Shulyupin
> http://www.MakeLinux.co.il/
> Embedded Linux Systems
> Tel Aviv
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20150425/e3ce50ce/attachment.html>


More information about the Linux-il mailing list