On Wed, Mar 04, 2015 at 08:15:38PM +0000, Antti Kantee wrote:
> On 04/03/15 19:10, Wei Liu wrote:
> >It's actually needed by pixman library.
> >
> >Signed-off-by: Wei Liu <[email protected]>
> >---
> >  platform/xen/app-tools/specs.in | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >diff --git a/platform/xen/app-tools/specs.in 
> >b/platform/xen/app-tools/specs.in
> >index c79bcc7..4ccc76c 100644
> >--- a/platform/xen/app-tools/specs.in
> >+++ b/platform/xen/app-tools/specs.in
> >@@ -12,7 +12,7 @@
> >  !HEAD_OBJ! !OBJS!
> >
> >  *endfile:
> >-
> >+-lm
> >
> >  *lib:
> >  !LDFLAGS! !LDLIBS!
> 
> How is it needed?  Why isn't pixman linking the lib in?  In other words,
> what's the error without this patch?

Not I check again, for some reason libm is not listed in LDLIBS. I think
it belongs there?

The error is when linking QEMU, there are some undefined references
(IIRC sqrtf) in pixman (which is QEMU dependency).

Wei.

Reply via email to