Bug 71241 - present.c:642:67: error: 'PresentCapabilityAsync' undeclared (first use in this function)
Summary: present.c:642:67: error: 'PresentCapabilityAsync' undeclared (first use in th...
Status: VERIFIED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high critical
Assignee: Keith Packard
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-05 03:26 UTC by lu hua
Modified: 2013-12-23 02:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.