Which distro/version is better for compiling Wayland?

Xiong Jiang linuster at gmail.com
Mon Jun 11 16:36:23 PDT 2012


I was just building libvpx as is following the wayland building
instruction. I have no much idea on it. Glad it builds now and I can
run the demos on Intel video card.

On Mon, Jun 11, 2012 at 7:17 AM, Kristian Høgsberg <krh at bitplanet.net> wrote:
> On Sun, Jun 10, 2012 at 10:58 PM, Xiong Jiang <linuster at gmail.com> wrote:
>> Got error when linking weston:
>>
>>  CCLD   wcap-decode
>> /home/jxiong/install/lib/libvpx.a(onyx_if.c.o): In function `vp8_change_config':
>> (.text+0x1c1a): undefined reference to `sem_wait'
>> /home/jxiong/install/lib/libvpx.a(onyx_if.c.o): In function
>> `vp8_loopfilter_frame':
>> (.text+0x323a): undefined reference to `sem_post'
>> /home/jxiong/install/lib/libvpx.a(onyx_if.c.o): In function
>> `vp8_loopfilter_frame':
>> ......
>>
>> How to add -pthread in the link option?
>
> Are you using a static vpx library on purpose?  The vpx.pc file needs
> a -lpthread in its Libs.private line (that's a libvpx bug) but you
> probably want to use a shared library libvpx instead (which wont have
> this problem).  If you compiled libvpx from source, configure it again
> and pass --disable-static, recompile and install (and remove the
> libvpx.a library from ~/install/lib).
>
> Kristian
>
>> I see POPPLER_CFLAGS = -pthread in weston\wcap\Makefile.
>> Not sure why it does not help.
>
> Those flags are only used when linking poppler programs (clients/view).
>
> Kristian
>
>> On Sun, Jun 10, 2012 at 2:52 PM, Xiong Jiang <linuster at gmail.com> wrote:
>>> Thanks. I was following the build instruction. Yesterday I was trying
>>> it on Ubuntu 11.4 and found one lib package is too old. So
>>> dist-upgraded to 12.04 and compiles again now.
>>>
>>> Hopefully have all dependent libs now.
>>>
>>> Also it is so important that do a clean build after tool chain and
>>> everything is upgraded. I was puzzled by some error from libtool
>>> commands. :(
>>>
>>> On Sun, Jun 10, 2012 at 1:09 AM, Simon Hong <simon.hong81 at gmail.com> wrote:
>>>> I built on ubuntu 12.04.
>>>>
>>>> You can build more easier.
>>>> Refer to below message.
>>>>
>>>> http://lists.freedesktop.org/archives/wayland-devel/2012-April/002916.html
>>>>
>>>> On Sun, Jun 10, 2012 at 3:22 PM, Scott Moreau <oreaus at gmail.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>> On Sat, Jun 9, 2012 at 10:56 PM, Xiong Jiang <linuster at gmail.com> wrote:
>>>>>>
>>>>>> To compile cairo with GL enabled, I followed the Wayland README and
>>>>>> pull the latest cairo git. However then I found that I need the latest
>>>>>> pixman git.
>>>>>>
>>>>>> Do you know which distro/version has the required dev packages so I do
>>>>>> not need to compile everything from scratch?
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>
>>>>> You should follow the build guide that can be found here
>>>>> http://wayland.freedesktop.org/building.html
>>>>>
>>>>>
>>>>> Scott
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> wayland-devel mailing list
>>>>> wayland-devel at lists.freedesktop.org
>>>>> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> ======================================
>>>> Simon Hong
>>>> "Secret of success is consistency to purpose"
>>>>
>> _______________________________________________
>> wayland-devel mailing list
>> wayland-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list