Can't compile newest wayland due to mesa changes?

Scott Moreau oreaus at gmail.com
Fri Jul 20 23:14:06 PDT 2012


On Fri, Jul 20, 2012 at 11:40 PM, Bill Spitzak <spitzak at gmail.com> wrote:

> On 07/20/2012 10:30 PM, Bill Spitzak wrote:
>
>  However I now cannot build weston:
>>
>>    CCLD   desktop-shell.la
>> /bin/sed: can't read /lib/libglapi.la: No such file or directory
>> libtool: link: `/lib/libglapi.la' is not a valid libtool archive
>> make[4]: *** [desktop-shell.la] Error 1
>>
>> There is in fact a $prefix/lib/libglapi.la file! It seems to be ignoring
>> the $prefix I sent to autogen.sh.
>>
>> Any ideas?
>>
>
> Well I got it a bit further by editing weston/src/*.la and adding my
> $prefix before all the /lib/libglapi.la instances. However something is
> wrong with the dependency building. These files contain references to other
> libraries that are correctly located in my $prefix.
>
> However (sigh) now it fails with:
>
> compositor.c: In function ‘weston_surface_attach’:
> compositor.c:788:8: error: ‘EGL_TEXTURE_Y_UV_WL’ undeclared (first use in
> this function)
> compositor.c:788:8: note: each undeclared identifier is reported only once
> for each function it appears in
> compositor.c:792:8: error: ‘EGL_TEXTURE_Y_U_V_WL’ undeclared (first use in
> this function)
> compositor.c:796:8: error: ‘EGL_TEXTURE_Y_XUXV_WL’ undeclared (first use
> in this function)
> make[4]: *** [weston-compositor.o] Error 1
>
>
You need to update mesa. I just build latest and it builds/works fine. Make
sure to use git clean -fdx for each component and try installing to a clean
prefix.


Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120721/74df9146/attachment-0001.html>


More information about the wayland-devel mailing list