Bug 48495 - cairo block during the compiling
Summary: cairo block during the compiling
Status: RESOLVED WONTFIX
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.12.0
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-10 02:19 UTC by Francesco Petronella
Modified: 2012-04-10 02:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Francesco Petronella 2012-04-10 02:19:31 UTC
When i try to compile cairo, make shows me this error

drm/cairo-drm-surface.c: In function 'cairo_drm_surface_map_to_image':
drm/cairo-drm-surface.c:333:2: error: implicit declaration of function '_cairo_surface_is_image'
drm/cairo-drm-surface.c:333:2: warning: nested extern declaration of '_cairo_surface_is_image'
At top level:
cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
make[3]: *** [cairo-drm-surface.lo] Errore 1
make[3]: Leaving directory `/home/Francesco/git/cairo/src'
make[2]: *** [all] Errore 2
make[2]: Leaving directory `/home/Francesco/git/cairo/src'
make[1]: *** [all-recursive] Errore 1
make[1]: Leaving directory `/home/Francesco/git/cairo'
make: *** [all] Errore 2

i think that the prototype of the function is not included. Anyone can solve?
Comment 1 Chris Wilson 2012-04-10 02:23:59 UTC
Don't try compiling the drm backend.
Comment 2 Francesco Petronella 2012-04-10 02:30:39 UTC
i need the drm backend. However the error appears
Comment 3 Chris Wilson 2012-04-10 02:34:00 UTC
The drm has never been released in a non-broken form; you are expected to fix it first.
Comment 4 Francesco Petronella 2012-04-10 02:36:49 UTC
the libdrm or the backend? The error still appears if I disable the backend during the configure


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.