[oe] Host Environment affect on target builds

Ambrose, Martin martin at ti.com
Sat Jun 5 01:19:13 UTC 2010


Hello.

I don't really understand why some recipes depend on the host environment.

For example, on my Fedora 12 machine I have:
    $ yum info ncurses-devel | grep Release
    Release    : 3.20090207.fc12
    $ ncurses5-config --libs
    -lncurses

And on my Fedora 13 machine this is a bit newer
    $ yum info ncurses-devel | grep Release
    Release    : 7.20100130.fc13
    $ ncurses5-config --libs
    -lncurses -ltinfo

The newer version lists tinfo library in addition to ncurses. Don't know why but OK.
The problem is the configure (autoconf) portion of recipes (here alsa-utils) uses this executable
to determine library linkage dependencies. So I get a build error even though this is for the target (here arm).
    /opt/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -ltinfo

This seems counter intuitive to me. Is this expected? Or maybe I missed something in setting up my OE environ.

Regards,
Martin



More information about the Openembedded-devel mailing list