[cairo-bugs] [Bug 27360] New: drm backend fails to build
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Mar 29 00:27:14 PDT 2010
http://bugs.freedesktop.org/show_bug.cgi?id=27360
Summary: drm backend fails to build
Product: cairo
Version: 1.9.6
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: xcb backend
AssignedTo: cworth at cworth.org
ReportedBy: uzytkownik2 at gmail.com
QAContact: cairo-bugs at cairographics.org
On Gentoo/in drm git drm is in libdrm/ instead of drm:
cairo-xcb-screen.c:137:21: error: drm/drm.h: No such file or directory
cairo-xcb-screen.c: In function 'drm_magic':
cairo-xcb-screen.c:146: error: 'drm_auth_t' undeclared (first use in this
function)
cairo-xcb-screen.c:146: error: (Each undeclared identifier is reported only
once
cairo-xcb-screen.c:146: error: for each function it appears in.)
cairo-xcb-screen.c:146: error: expected ';' before 'auth'
cairo-xcb-screen.c:148: error: 'DRM_IOCTL_GET_MAGIC' undeclared (first use in
this function)
cairo-xcb-screen.c:148: error: 'auth' undeclared (first use in this function)
cairo-xcb-screen.c: In function '_xcb_drm_device':
cairo-xcb-screen.c:161: error: 'drm_magic_t' undeclared (first use in this
function)
cairo-xcb-screen.c:161: error: expected ';' before 'magic'
cairo-xcb-screen.c:162: warning: ISO C90 forbids mixed declarations and code
cairo-xcb-screen.c:184: error: 'magic' undeclared (first use in this function)
Even after patching:
drm/cairo-drm-bo.c:33:37: error: cairo-drm-ioctl-private.h: No such file or
directory
drm/cairo-drm-bo.c: In function '_cairo_drm_bo_open_for_name':
drm/cairo-drm-bo.c:83: error: implicit declaration of function 'DRM_IOWR'
drm/cairo-drm-bo.c:83: warning: nested extern declaration of 'DRM_IOWR'
drm/cairo-drm-bo.c:83: error: expected expression before 'struct'
drm/cairo-drm-bo.c: In function '_cairo_drm_bo_flink':
drm/cairo-drm-bo.c:107: error: expected expression before 'struct'
drm/cairo-drm-bo.c: In function '_cairo_drm_bo_close':
drm/cairo-drm-bo.c:128: error: implicit declaration of function 'DRM_IOW'
drm/cairo-drm-bo.c:128: warning: nested extern declaration of 'DRM_IOW'
drm/cairo-drm-bo.c:128: error: expected expression before 'struct'
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list