error when building cairo

Prigent, Christophe christophe.prigent at intel.com
Fri Aug 17 03:11:31 PDT 2012


Hello,

I have this error when building cairo. I recently synchronized.
Can you help me?

Thanks,
Christophe.

Laptop Dell N series:
  Ubuntu 12.04 64 bit
  Intel Core i5 2540M, 4GiB memory, integrated graphics controller

cairo: 140fafed89508c4685f3a464c9dbe8df769f2411
dri2proto: 4eeacce4c4a300b938b7e3fb78a8e443c491780b
drm: 3163cfe4db925429760407e77140e2d595338bc2
glproto: ec1eec4355ee4a6c5134f2178192f10b6d28a87a
kbproto: 391a1f6de6315fc0196d407d800597488315cccb
libX11: 8042f88ace33573f9d0dfaa21ed54ac7cef266d5
libxkbcommon: f491285a5f4b5f680a87e9e3076e8499f3ed2a3b
macros: 0890e4003aacfa7113ab3f4e3ad7c5636f8e922a
mesa: 81ba2c53b698b3926e71dd37e7898719fd2deb3e
pixman: 09cb1ae10b1976970233c934d27c36e0a4203e1c
wayland: c855d6eec4c5e63489da5bc08451a2376e6d2aea
wayland-test: c855d6eec4c5e63489da5bc08451a2376e6d2aea
weston: 5418a904ca007a109f6af8c0c75ca97a134986d9




…
make  all-am
make[3]: Entering directory `/home/yann/dev/wayland/build/weston/clients'
gcc -DHAVE_CONFIG_H -I. -I..  -DDATADIR='"/home/yann/dev/wayland/install/share"' -DBINDIR='"/home/yann/dev/wayland/install/bin"' -I/home/yann/dev/wayland/install/include -I/home/yann/dev/wayland/install/include/libdrm -I/home/yann/dev/wayland/install/include/cairo -I/home/yann/dev/wayland/install/include/pixman-1 -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/home/yann/dev/wayland/install/include/cairo -I/home/yann/dev/wayland/install/include -I/home/yann/dev/wayland/install/include/pixman-1 -I/home/yann/dev/wayland/install/include/libdrm -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng12    -Wall -Wextra -Wno-unused-parameter       -Wno-missing-field-initializers -g -fvisibility=hidden         -Wstrict-prototypes -Wmissing-prototypes -g -O2 -MT window.o -MD -MP -MF .deps/window.Tpo -c -o window.o window.c
In file included from window.c:55:0:
/home/yann/dev/wayland/install/include/cairo/cairo-gl.h:142:3: error: #error Cairo was not compiled with support for the GL backend
window.c: In function ‘display_create_egl_window_surface’:
window.c:386:2: warning: implicit declaration of function ‘cairo_gl_surface_create_for_egl’ [-Wimplicit-function-declaration]
window.c:386:16: warning: assignment makes pointer from integer without a cast [enabled by default]
window.c: In function ‘window_attach_surface’:
window.c:735:3: warning: implicit declaration of function ‘cairo_gl_surface_swapbuffers’ [-Wimplicit-function-declaration]
window.c: In function ‘window_resize_cairo_window_surface’:
window.c:814:2: warning: implicit declaration of function ‘cairo_gl_surface_set_size’ [-Wimplicit-function-declaration]
window.c: In function ‘init_egl’:
window.c:3514:2: warning: implicit declaration of function ‘cairo_egl_device_create’ [-Wimplicit-function-declaration]
window.c:3514:17: warning: assignment makes pointer from integer without a cast [enabled by default]
make[3]: *** [window.o] Error 1
make[3]: Leaving directory `/home/yann/dev/wayland/build/weston/clients'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/yann/dev/wayland/build/weston/clients'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yann/dev/wayland/build/weston'
make: *** [all] Error 2
err: "make" failed - exitcode 2
aborting...



---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120817/d66d3d06/attachment.html>


More information about the wayland-devel mailing list