I just added
<span style="font-family:Gulim;font-size:medium">--disable-wcap-tools for weston.</span><div><font face="Gulim" size="3">You did better method. :)<br></font><div><br><div class="gmail_quote">On Mon, Jun 11, 2012 at 12:04 PM, Xiong Jiang <span dir="ltr"><<a href="mailto:linuster@gmail.com" target="_blank">linuster@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I changed this line in wcap/Makefile and it compiles fine now.<br>
<br>
wcap_decode_CFLAGS = -pthread $(WCAP_CFLAGS)<br>
<div class="HOEnZb"><div class="h5"><br>
On Sun, Jun 10, 2012 at 7:58 PM, Xiong Jiang <<a href="mailto:linuster@gmail.com">linuster@gmail.com</a>> wrote:<br>
> Got error when linking weston:<br>
><br>
> CCLD wcap-decode<br>
> /home/jxiong/install/lib/libvpx.a(onyx_if.c.o): In function `vp8_change_config':<br>
> (.text+0x1c1a): undefined reference to `sem_wait'<br>
> /home/jxiong/install/lib/libvpx.a(onyx_if.c.o): In function<br>
> `vp8_loopfilter_frame':<br>
> (.text+0x323a): undefined reference to `sem_post'<br>
> /home/jxiong/install/lib/libvpx.a(onyx_if.c.o): In function<br>
> `vp8_loopfilter_frame':<br>
> ......<br>
><br>
> How to add -pthread in the link option?<br>
><br>
> I see POPPLER_CFLAGS = -pthread in weston\wcap\Makefile.<br>
> Not sure why it does not help.<br>
><br>
> On Sun, Jun 10, 2012 at 2:52 PM, Xiong Jiang <<a href="mailto:linuster@gmail.com">linuster@gmail.com</a>> wrote:<br>
>> Thanks. I was following the build instruction. Yesterday I was trying<br>
>> it on Ubuntu 11.4 and found one lib package is too old. So<br>
>> dist-upgraded to 12.04 and compiles again now.<br>
>><br>
>> Hopefully have all dependent libs now.<br>
>><br>
>> Also it is so important that do a clean build after tool chain and<br>
>> everything is upgraded. I was puzzled by some error from libtool<br>
>> commands. :(<br>
>><br>
>> On Sun, Jun 10, 2012 at 1:09 AM, Simon Hong <<a href="mailto:simon.hong81@gmail.com">simon.hong81@gmail.com</a>> wrote:<br>
>>> I built on ubuntu 12.04.<br>
>>><br>
>>> You can build more easier.<br>
>>> Refer to below message.<br>
>>><br>
>>> <a href="http://lists.freedesktop.org/archives/wayland-devel/2012-April/002916.html" target="_blank">http://lists.freedesktop.org/archives/wayland-devel/2012-April/002916.html</a><br>
>>><br>
>>> On Sun, Jun 10, 2012 at 3:22 PM, Scott Moreau <<a href="mailto:oreaus@gmail.com">oreaus@gmail.com</a>> wrote:<br>
>>>><br>
>>>><br>
>>>><br>
>>>> On Sat, Jun 9, 2012 at 10:56 PM, Xiong Jiang <<a href="mailto:linuster@gmail.com">linuster@gmail.com</a>> wrote:<br>
>>>>><br>
>>>>> To compile cairo with GL enabled, I followed the Wayland README and<br>
>>>>> pull the latest cairo git. However then I found that I need the latest<br>
>>>>> pixman git.<br>
>>>>><br>
>>>>> Do you know which distro/version has the required dev packages so I do<br>
>>>>> not need to compile everything from scratch?<br>
>>>>><br>
>>>>> Thanks!<br>
>>>>><br>
>>>><br>
>>>> You should follow the build guide that can be found here<br>
>>>> <a href="http://wayland.freedesktop.org/building.html" target="_blank">http://wayland.freedesktop.org/building.html</a><br>
>>>><br>
>>>><br>
>>>> Scott<br>
>>>><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> wayland-devel mailing list<br>
>>>> <a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
>>>> <a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
>>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> ======================================<br>
>>> Simon Hong<br>
>>> "Secret of success is consistency to purpose"<br>
>>><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>======================================<div>Simon Hong</div><div>"Secret of success is consistency to purpose"</div><br>
</div></div>