I changed this line in wcap/Makefile and it compiles fine now. wcap_decode_CFLAGS = -pthread $(WCAP_CFLAGS)
On Sun, Jun 10, 2012 at 7:58 PM, Xiong Jiang <[email protected]> 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? > > I see POPPLER_CFLAGS = -pthread in weston\wcap\Makefile. > Not sure why it does not help. > > On Sun, Jun 10, 2012 at 2:52 PM, Xiong Jiang <[email protected]> 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 <[email protected]> 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 <[email protected]> wrote: >>>> >>>> >>>> >>>> On Sat, Jun 9, 2012 at 10:56 PM, Xiong Jiang <[email protected]> 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 >>>> [email protected] >>>> http://lists.freedesktop.org/mailman/listinfo/wayland-devel >>>> >>> >>> >>> >>> -- >>> ====================================== >>> Simon Hong >>> "Secret of success is consistency to purpose" >>> _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
