[Xquartz-dev] Tiger fixes in 1.4.2-apple24

Peter Dyballa Peter_Dyballa at Freenet.DE
Sat Nov 22 14:56:56 PST 2008


Am 22.11.2008 um 02:31 schrieb Jeremy Huddleston:

> Try using that when building xorg-server-1.4.2-apple24 to skip  
> building all the GL stuff.


I configured with:

	./configure --prefix=/usr/X11 --enable-maintainer-mode --with-mesa- 
source=.../Mesa-7.0.4 --enable-builddocs --enable-xquartz --disable- 
glx --disable-aiglx

Configure reports:

checking whether to build Xdmx DDX... checking for DMXMODULES... yes
no
checking whether to build Xvfb DDX... no
checking whether to build Xnest DDX... checking for XNESTMODULES... yes
no
checking whether to build Xorg DDX... no
checking whether to build Xgl DDX... no
checking whether to build Xegl DDX... no
checking whether to build Xglx DDX... no
checking whether to build Xprint DDX... no
checking whether to build XWin DDX... no

It still runs into

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.)

and also into

In file included from main.m:31:
x-selection.h:36:35: error: X11/extensions/Xfixes.h: No such file or  
directory
.. /System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h
... /System/Library/Frameworks/AppKit.framework/Headers/AppKitDefines.h
In file included from main.m:31:
x-selection.h:101: error: parse error before  
'XFixesSelectionNotifyEvent'
x-selection.h:102: fatal error: method definition not in  
@implementation context
compilation terminated.

although I do have:

-rw-r--r-- 1 pete admin 7307 22. Nov 14:52 /usr/X11/include/X11/ 
extensions/Xfixes.h

Obviously the Makefile or such is faulty – or am I supposed to have - 
I/usr/X11/include among the CFLAGS or CPPFLAGS although I pass -- 
prefix? After I added this element I simply re-configured and then I  
simply re-compiled. Pbproxy's main.m did not make a problem again, but:

Making all in mach-startup
make  all-am
/bin/sh ../../../libtool --tag=CC   --mode=link gcc  -v -H -pipe - 
fPIC -O0 -mcpu=7450 -mtune=7450 -fno-common -DROOTLESS_WORKAROUND - 
DROOTLESS_SAFEALPHA -DNO_ALLOCA -Wl,-framework,CoreServices - 
dead_strip -bind_at_load -L/sw/lib -L/usr/local/lib -o Xquartz stub.o  
launchd_fd.o mach_startupUser.o  -lm
gcc -v -H -pipe -fPIC -O0 -mcpu=7450 -mtune=7450 -fno-common - 
DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA -Wl,-framework - 
Wl,CoreServices -dead_strip -bind_at_load -o Xquartz stub.o  
launchd_fd.o mach_startupUser.o  -L/sw/lib -L/usr/local/lib -lm
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable- 
checking -enable-werror --prefix=/usr --mandir=/share/man --enable- 
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ 
$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ 
lib --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 -- 
target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5370)
  /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/collect2 -dynamic - 
arch ppc7450 -bind_at_load -dead_strip -macosx_version_min 10.3 - 
weak_reference_mismatches non-weak -o Xquartz -lcrt1.o /usr/lib/gcc/ 
powerpc-apple-darwin8/4.0.1/crt2.o -L/sw/lib -L/usr/local/lib -L/usr/ 
lib/gcc/powerpc-apple-darwin8/4.0.1 -L/usr/lib/gcc/powerpc-apple- 
darwin8/4.0.1 -L/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../.. - 
framework CoreServices stub.o launchd_fd.o mach_startupUser.o -lm - 
lgcc -lSystemStubs -lmx -lSystem
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning prebinding  
disabled because of undefined symbols
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
_bootstrap_strerror
collect2: ld returned 1 exit status
make[4]: *** [Xquartz] Error 1

(one last Leopard function?) and later a lot of warnings about  
multiple definitions of symbols. I'll make a new try, after a 'make  
distclean', and remove the Fink content.

--
Greetings

   Pete

Either this man is dead or my watch has stopped.
				- Groucho Marx





More information about the Xquartz-dev mailing list