Hi,

while building -current XFree86 on Panther I get the following error:

/usr/bin/gcc-3.3 -o glxinfo -Os -Wall -Wpointer-arith -no-cpp-precomp     
-L../../exports/lib   glxinfo.o -lGLU -lGL  -lXext -lX11 -L/usr/X11R6/lib     
ld: warning can't open dynamic library: /usr/X11R6/lib/libXxf86vm.1.dylib (checking 
for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: Undefined symbols:
_XF86VidModeGetModeLine referenced from libGL expected to be defined in 
/usr/X11R6/lib/libXxf86vm.1.dylib
_XF86VidModeQueryVersion referenced from libGL expected to be defined in 
/usr/X11R6/lib/libXxf86vm.1.dylib
make: *** [glxinfo] Error 1

It looks indeed that libGL is referencing those symbols. OTOH, I don't
see any reference to them in libMesaGL. So I guess something changed 
in a recent Mesa update... What  about this patch ? (and similar
changes to the other *Lib.tmpl)

                                        Matthieu

Index: xc/config/cf/darwinLib.tmpl
===================================================================
RCS file: /cvs/xf86/xc/config/cf/darwinLib.tmpl,v
retrieving revision 1.19
diff -u -r1.19 darwinLib.tmpl
--- xc/config/cf/darwinLib.tmpl 4 Nov 2003 00:24:36 -0000       1.19
+++ xc/config/cf/darwinLib.tmpl 16 Nov 2003 18:11:37 -0000
@@ -22,9 +22,9 @@
 #define SharedXfontReqs     $(LDPRELIB) $(FONTSTUBLIB) GzipLibrary $(FREETYPE2LIB) 
-flat_namespace
 
 #define SharedAppleWMReqs   $(LDPRELIB) $(XLIB)
-#define SharedGLReqs        $(LDPRELIB) $(XLIB)
+#define SharedGLReqs        $(LDPRELIB) $(XLIB) $(XXF86VMLIB)
 #define SharedGLUReqs       $(LDPRELIB) $(XLIB) $(GLXLIB)
-#define SharedOSMesaReqs    $(LDPRELIB) $(XLIB) $(GLXLIB) $(XXF86VMLIB)
+#define SharedOSMesaReqs    $(LDPRELIB) $(XLIB) $(GLXLIB)
 #define SharedSMReqs        $(LDPRELIB) $(ICELIB)
 #define SharedXawReqs       $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
 #define SharedXaw6Reqs      $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
Index: xc/programs/glxinfo/Imakefile
===================================================================
RCS file: /cvs/xf86/xc/programs/glxinfo/Imakefile,v
retrieving revision 1.8
diff -u -r1.8 Imakefile
--- xc/programs/glxinfo/Imakefile       22 Nov 2002 22:56:03 -0000      1.8
+++ xc/programs/glxinfo/Imakefile       16 Nov 2003 18:12:44 -0000
@@ -4,8 +4,8 @@
 
 #if BuildGLULibrary
 
-        DEPLIBS = $(DEPGLULIB) $(DEPGLXLIB) $(DEPXLIB)
-LOCAL_LIBRARIES = $(GLULIB) $(GLXLIB) $(XLIB) 
+        DEPLIBS = $(DEPGLULIB) $(DEPGLXLIB) $(DEPXXF86VMLIB) $(DEPXLIB)
+LOCAL_LIBRARIES = $(GLULIB) $(GLXLIB) $(XXF86VMLIB) $(XLIB) 
         DEFINES = -DDO_GLU
 
 #else
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to