Weston is not linking libm
Rob Bradford
rob at robster.org.uk
Tue May 29 03:35:23 PDT 2012
On 26 May 2012 14:11, Thiago Macieira <thiago.macieira at intel.com> wrote:
> On sábado, 26 de maio de 2012 08.45.04, darxus at chaosreigns.com wrote:
>> When I run that:
>> $ pkg-config --libs "cairo vpx"
>> -L/home/darxus/install.test.master/lib -lcairo -lvpx
>
> Looks like it's vpx.pc that is bad.
Unfortunately this is a red herring and would have actually masked the
problem. The problem was that the imported vpxenc.c file uses the
maths symbols and as such we need to pull in -lm to the linking flags
used to link wcap. A patch should be on the list to fix this now.
(And the reason why some people didn't see this build error was that
they were getting -lm in their link flags from GLES/EGL via a Cairo
linked to those - probably via la files.)
Cheers,
Rob
More information about the wayland-devel
mailing list