[blfs-book] [BLFS Trac] #4509: Xorg Intel Driver-2.21.15 doesn't build with Xorg-Server-1.15.0

BLFS Trac trac at linuxfromscratch.org
Tue Dec 31 23:53:32 PST 2013


#4509: Xorg Intel Driver-2.21.15 doesn't build with Xorg-Server-1.15.0
----------------------+-------------------------
 Reporter:  wblaszcz  |      Owner:  blfs-book@…
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:  current
Component:  BOOK      |    Version:  SVN
 Severity:  normal    |   Keywords:
----------------------+-------------------------
 The following error occurs during make:

 {{{
 sna_accel.c:7629:11: warning: variable 'intersects' set but not used
 [-Wunused-but-set-variable]
       bool intersects;
            ^
 sna_accel.c:7528:7: warning: variable 'degenerate' set but not used
 [-Wunused-but-set-variable]
   bool degenerate = true;
        ^
 sna_accel.c: In function 'migrate_dirty_tracking':
 sna_accel.c:15226:3: warning: passing argument 1 of 'DamageUnregister'
 from incompatible pointer type [enabled by default]
    DamageUnregister(&dirty->src->drawable, dirty->damage);
    ^
 In file included from /usr/include/xorg/pixmapstr.h:53:0,
                  from /usr/include/xorg/xf86str.h:40,
                  from /usr/include/xorg/xf86.h:44,
                  from ../../src/intel_options.h:4,
                  from sna_accel.c:32:
 /usr/include/xorg/damage.h:77:2: note: expected 'DamagePtr' but argument
 is of type 'struct DrawableRec *'
   DamageUnregister(DamagePtr pDamage);
   ^
 sna_accel.c:15226:3: error: too many arguments to function
 'DamageUnregister'
    DamageUnregister(&dirty->src->drawable, dirty->damage);
    ^
 In file included from /usr/include/xorg/pixmapstr.h:53:0,
                  from /usr/include/xorg/xf86str.h:40,
                  from /usr/include/xorg/xf86.h:44,
                  from ../../src/intel_options.h:4,
                  from sna_accel.c:32:
 /usr/include/xorg/damage.h:77:2: note: declared here
   DamageUnregister(DamagePtr pDamage);
   ^

 }}}

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4509>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list