Bug 8908 - error: ‘struct _Pixmap’ has no member named ‘devPrivates’
Summary: error: ‘struct _Pixmap’ has no member named ‘devPrivates’
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.1 (2006.05)
Hardware: PowerPC Mac OS X (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-06 01:41 UTC by Peter Dyballa
Modified: 2007-03-12 04:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Proposed patch to make xserver/hw/darwin/quartz/xpr/dri.c work on Mac OS X (343 bytes, patch)
2006-11-06 09:45 UTC, Peter Dyballa
no flags Details | Splinter Review

Description Peter Dyballa 2006-11-06 01:41:57 UTC
While making the X server in xserver/hw/darwin/quartz/xpr/dri.c these errors are reported:

dri.c: In function ‘DRIExtensionInit’:
dri.c:271: warning: implicit declaration of function ‘AllocatePixmapPrivateIndex’
dri.c:271: warning: nested extern declaration of ‘AllocatePixmapPrivateIndex’
dri.c: In function ‘DRICreateSurface’:
dri.c:425: error: ‘struct _Pixmap’ has no member named ‘devPrivates’
dri.c:450: error: ‘struct _Pixmap’ has no member named ‘devPrivates’
dri.c: In function ‘DRIDestroySurface’:
dri.c:521: error: ‘struct _Pixmap’ has no member named ‘devPrivates’
dri.c: In function ‘DRIDrawablePrivDelete’:
dri.c:555: error: ‘struct _Pixmap’ has no member named ‘devPrivates’
dri.c:579: error: ‘struct _Pixmap’ has no member named ‘devPrivates’
{standard input}:593:non-relocatable subtraction expression, "_DRIDrawablePrivResType" minus 
"L00000000005$pb"
{standard input}:593:symbol: "_DRIDrawablePrivResType" can't be undefined in a subtraction expression
{standard input}:592:non-relocatable subtraction expression, "_DRIDrawablePrivResType" minus 
"L00000000005$pb"
{standard input}:592:symbol: "_DRIDrawablePrivResType" can't be undefined in a subtraction expression

This patch makes it go away:

40,42d39
< #ifdef HAVE_XORG_CONFIG_H
< #include <xorg-config.h>
< #endif

Mac OS X 10.4.8
GCC 4.0.1
Release 7.1.99.2
Comment 1 Peter Dyballa 2006-11-06 09:45:42 UTC
Created attachment 7672 [details] [review]
Proposed patch to make xserver/hw/darwin/quartz/xpr/dri.c work on Mac OS X
Comment 2 Peter Dyballa 2006-11-08 13:24:04 UTC
This patch was originally written by Peter O'Gorman.
Comment 3 Peter Dyballa 2006-11-08 13:27:01 UTC
This patch was originally written by Peter O'Gorman.
Comment 4 Daniel Stone 2007-02-27 01:34:27 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 5 Peter Dyballa 2007-03-12 04:26:25 UTC
Building XDarwin with --disable-glx because GLX is not supported in XDarwin, I can't reproduce this. So let's assume this all my fault.


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.