Re: [Xquartz-dev] 2.3.2_beta3 on Tiger in X11R7.2
Am 20.11.2008 um 16:01 schrieb Peter Dyballa:
There are also a lot more errors, like for example:
x-selection.h:36:35: error: X11/extensions/Xfixes.h: No such file or directory x-selection.h:101: error: parse error before 'XFixesSelectionNotifyEvent' x-selection.h:102: fatal error: method definition not in @implementation context
(which I have in:
...sources/X11R7.2/lib/libXfixes/include/X11/extensions/Xfixes.h /usr/X11R7.2/include/X11/extensions/Xfixes.h
and although I have -I/usr/X11R7.2/include I'll add another -I/usr/ X11/include!)
With this addition the failure went away ...
There are also glapi.h and glapitable.h missing. 1.5.99.1 and 1.3.99.0 have both files in xserver/glx resp. xserver/GL/mesa/glapi. Could be it's my fault that I have Mesa 7.2 prepared (I can go back to Mesa 7.0.2).
These C header were found when I left away --disable-glx from from configure's invocation. Letting enabling happen automatically introduced new errors, that may come from the fact that I was compiling with Mesa 7.2.0: glcontextmodes.c: In function '_gl_copy_visual_to_context_mode': glcontextmodes.c:193: error: 'struct __GLcontextModesRec' has no member named 'bindToTextureRgb' glcontextmodes.c:194: error: 'struct __GLcontextModesRec' has no member named 'bindToTextureRgba' glcontextmodes.c:196: error: 'struct __GLcontextModesRec' has no member named 'bindToMipmapTexture' glcontextmodes.c:197: error: 'struct __GLcontextModesRec' has no member named 'bindToTextureTargets' glcontextmodes.c:200: error: 'struct __GLcontextModesRec' has no member named 'yInverted' and also in functions _gl_get_context_mode_data, _gl_context_modes_create, and _gl_context_modes_are_same. The error with xserver/GL/indirect.c changed to: indirect.c: In function 'setup_dispatch_table': indirect.c:1268: error: 'glBlitFramebufferEXT' undeclared (first use in this function) indirect.c:1268: error: (Each undeclared identifier is reported only once indirect.c:1268: error: for each function it appears in.) indirect.c:1598: warning: assignment from incompatible pointer type indirect.c:1768: warning: assignment from incompatible pointer type indirect.c:1823: warning: assignment from incompatible pointer type indirect.c:1824: warning: assignment from incompatible pointer type indirect.c:1825: warning: assignment from incompatible pointer type Could be Mesa again. The error in xserver/hw/xquartz/pbproxy/x- selection.m changed to: x-selection.m: In function '-[x_selection x_active:]': x-selection.m:360: error: nested functions are disabled, use -fnested- functions to re-enable x-selection.m:360: error: syntax error before 'changeCount' x-selection.m:361: error: 'NSInteger' undeclared (first use in this function) x-selection.m:361: error: (Each undeclared identifier is reported only once x-selection.m:361: error: for each function it appears in.) x-selection.m:371: error: 'countNow' undeclared (first use in this function) x-selection.m:373: error: 'changeCount' undeclared (first use in this function) x-selection.m: In function '-[x_selection handle_image:pasteboard:]': x-selection.m:1228: warning: use '-fobjc-exceptions' to enable Objective-C exception syntax Multiple include guards may be useful for: /usr/include/assert.h The supposed non-Leopard errors are still the same. Later I'll retry with Mesa 7.0.2 – and NSInteger changed to a simple int? Or size_t? I still do not use --enable-integrated-xpbproxy, I am leaving it for later tries. I added -H to CFLAGS to find any Fink pollution. Later, maybe next week, I'll try to remove this or that Fink related element piece by piece ... -- Greetings Pete A lot of people mistake a short memory for a clear conscience. – Doug Larson
On Nov 20, 2008, at 09:16, Peter Dyballa wrote:
Am 20.11.2008 um 16:01 schrieb Peter Dyballa:
There are also a lot more errors, like for example:
x-selection.h:36:35: error: X11/extensions/Xfixes.h: No such file or directory x-selection.h:101: error: parse error before 'XFixesSelectionNotifyEvent' x-selection.h:102: fatal error: method definition not in @implementation context
(which I have in:
...sources/X11R7.2/lib/libXfixes/include/X11/extensions/Xfixes.h /usr/X11R7.2/include/X11/extensions/Xfixes.h
and although I have -I/usr/X11R7.2/include I'll add another -I/usr/ X11/include!)
With this addition the failure went away ...
Nuke your /usr/X11R7.2 and just use /usr/X11 please... you should have a symlink from /usr/X11R6 pointing to /usr/X11 for backwards compatability...
There are also glapi.h and glapitable.h missing. 1.5.99.1 and 1.3.99.0 have both files in xserver/glx resp. xserver/GL/mesa/glapi. Could be it's my fault that I have Mesa 7.2 prepared (I can go back to Mesa 7.0.2).
These C header were found when I left away --disable-glx from from configure's invocation. Letting enabling happen automatically introduced new errors, that may come from the fact that I was compiling with Mesa 7.2.0:
<snip/>
Could be Mesa again.
It is. The 1.4 server branch needs to be compiled with mesa-7.0 ... See: http://xquartz.macosforge.org/trac/wiki/DeveloperInfo#xserver
The error in xserver/hw/xquartz/pbproxy/x-selection.m changed to:
x-selection.m: In function '-[x_selection x_active:]': x-selection.m:360: error: nested functions are disabled, use - fnested-functions to re-enable x-selection.m:360: error: syntax error before 'changeCount' x-selection.m:361: error: 'NSInteger' undeclared (first use in this function) x-selection.m:361: error: (Each undeclared identifier is reported only once x-selection.m:361: error: for each function it appears in.) x-selection.m:371: error: 'countNow' undeclared (first use in this function) x-selection.m:373: error: 'changeCount' undeclared (first use in this function) x-selection.m: In function '-[x_selection handle_image:pasteboard:]':
Actually, try putting this in pbproxy.h: #include <AvailabilityMacros.h> #if MAC_OS_X_VERSION_MIN_REQUIRED < 1050 #if __LP64__ || NS_BUILD_32_LIKE_64 typedef long NSInteger; typedef unsigned long NSUInteger; #else typedef int NSInteger; typedef unsigned int NSUInteger; #endif #endif
x-selection.m:1228: warning: use '-fobjc-exceptions' to enable Objective-C exception syntax Multiple include guards may be useful for: /usr/include/assert.h
Hmm...
The supposed non-Leopard errors are still the same. Later I'll retry with Mesa 7.0.2 – and NSInteger changed to a simple int? Or size_t? I still do not use --enable-integrated-xpbproxy, I am leaving it for later tries.
If you see '--enable-integrated-xpbproxy' as an option, you are not using the latest sources. Make sure you update git.
participants (2)
-
Jeremy Huddleston
-
Peter Dyballa