[OE-core] Eglibc related / libm issue

Samuel Stirtzel s.stirtzel at googlemail.com
Thu Feb 16 07:15:09 UTC 2012


2012/2/16 Khem Raj <raj.khem at gmail.com>:
> On Tue, Feb 14, 2012 at 11:09 PM, Samuel Stirtzel
> <s.stirtzel at googlemail.com> wrote:
>> 2012/2/14 Khem Raj <raj.khem at gmail.com>:
>>> On (14/02/12 16:21), Samuel Stirtzel wrote:
>>>> Hi,
>>>> currently building dependency depencies of Plasma Active dependency
>>>> dependencies (this sentence may contain slight ironic content).
>>>>
>>>> One of the libraries wants the maths.h library libm.
>>>> Libm existent in my rootfs under /lib/libm-2.12.2.so, /lib/libm.so.6
>>>> that points to it and the other link at /usr/lib/libm.so.
>>>> But for some reason configure can't find it and quits with this error:
>>>>
>>>> ac_cv_header_math_h=yes
>>>> ...
>>>> configure:14858: checking for ceil, floor and round in default libs
>>>> configure:14900: checking for ceil, floor and round with -lm
>>>> configure:14943: error: Could not find ceil, floor, round in default
>>>> libs or with -lm
>>>>
>>>>
>>>> Anyone knows what causes this, or how it could be resolved?
>>>
>>> post the config.log which should be in the top of build tree.
>>> there it must list why the test failed.
>>>
>>> --
>>> -Khem
>>>
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core at lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>> Hi,
>> here is the full configure.log: http://pastebin.com/wAERBH5G
>>
>> The part pointed out in my previous mail was also from configure.log
>
> yeah i see. there is not whole lot of detail in there on how its
> trying to determine the test result. I was looking for commandline
> I guess looking at configure script might reveal something
>

The code in the configure.ac looks like a condition of cross
compilation error where the code is run tested.

It was worked around with a patch to configure.ac, but shouldn't
autoconf be able to handle this sort cross compilation mistake since
version 2.58?
Thanks for your effort.


-- 
Regards
Samuel




More information about the Openembedded-core mailing list