Bug 71241

Summary: present.c:642:67: error: 'PresentCapabilityAsync' undeclared (first use in this function)
Product: xorg Reporter: lu hua <huax.lu>
Component: Server/GeneralAssignee: Keith Packard <keithp>
Status: VERIFIED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: high    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description lu hua 2013-11-05 03:26:22 UTC
System Environment:
--------------------------
Xserver: (master)33c85beed521c9db140cadd8c5aa9992398ee1fe

Bug detailed description:
---------------------------
Build Xserver, when run make, present.c:642:67: error: 'PresentCapabilityAsync' undeclared (first use in this function) appears.

make[1]: Leaving directory `/home/GFX_of_64_sdc1/build/component/Xorg/xorg/xserver/glx'
Making all in present
make[1]: Entering directory `/home/GFX_of_64_sdc1/build/component/Xorg/xorg/xserver/present'
  CC     present.lo
present.c: In function 'present_pixmap':
present.c:535:25: warning: declaration of 'remainder' shadows a global declaration [-Wshadow]
present.c:642:67: error: 'PresentCapabilityAsync' undeclared (first use in this function)
present.c:642:67: note: each undeclared identifier is reported only once for each function it appears in
present.c: In function 'present_notify_msc':
present.c:714:29: warning: declaration of 'remainder' shadows a global declaration [-Wshadow]
make[1]: *** [present.lo] Error 1
make[1]: Leaving directory `/home/GFX_of_64_sdc1/build/component/Xorg/xorg/xserver/present'
make: *** [all-recursive] Error 1
Comment 1 lu hua 2013-12-05 08:34:30 UTC
It still happens.
Comment 2 Gordon Jin 2013-12-17 04:45:18 UTC
Keith, could you reproduce it?
Comment 3 Keith Packard 2013-12-17 05:00:02 UTC
Make sure you have version 1.0 of presentproto installed.
Comment 4 lu hua 2013-12-17 05:11:49 UTC
(In reply to comment #3)
> Make sure you have version 1.0 of presentproto installed.


Installed.
Name: PresentProto
Description: Present extension headers
Version: 1.0
Comment 5 lu hua 2013-12-23 02:32:24 UTC
Fixed on latest commit.
Comment 6 lu hua 2013-12-23 02:32:42 UTC
Verified.Fixed.

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.