Re: Weston is not linking libm

2012-05-29 Thread Rob Bradford
On 26 May 2012 14:11, Thiago Macieira wrote: > On sábado, 26 de maio de 2012 08.45.04, dar...@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 h

Re: Weston is not linking libm

2012-05-28 Thread Rob Bradford
The upstream vpx.pc file is missing -lm - an issue with patch is available here: http://code.google.com/p/webm/issues/detail?id=451 Cheers, Rob On 26 May 2012 14:11, Thiago Macieira wrote: > On sábado, 26 de maio de 2012 08.45.04, dar...@chaosreigns.com wrote: >> When I run that: >> $ pkg-confi

Re: Weston is not linking libm

2012-05-26 Thread Thiago Macieira
On sábado, 26 de maio de 2012 08.45.04, dar...@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. If you're statically linking to it, then pkg-config should display the -lm too, so

Weston is not linking libm

2012-05-26 Thread darxus
I can't get weston to build since the webm support for wcap (video capture) was added. With the latest wayland, weston, and vpx git masters (on ubuntu oneric): /home/darxus/source.test.master/weston/wcap/vpxenc.c:1388: undefined reference to `log' wcap_decode-vpxenc.o: In function `vp8_mse2psnr'