Bug 422 - cyclical dependency between libglx and libGLcore
Summary: cyclical dependency between libglx and libGLcore
Status: RESOLVED DUPLICATE of bug 377
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Ext/GLX (show other bugs)
Version: 6.7.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-07 16:55 UTC by scott k
Modified: 2004-04-15 22:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description scott k 2004-04-07 16:55:53 UTC
The glx module depends on a symbol in the GLcore module.  The GLcore module
depends on a symbol in the glx module.

I found at this URL http://www.gelato.unsw.edu.au/linux-ia64/0008/0441.html that
someone had already fixed the problem in the following way:

diff -urN XFree86-4.0/xc/programs/Xserver/GL/mesa/src/X/xf86glx.c
XFree86-4.0-lia/xc/programs/Xserver/GL/mesa/src/X/xf86glx.c
--- XFree86-4.0/xc/programs/Xserver/GL/mesa/src/X/xf86glx.c	Thu Aug 17 22:07:38 2000
+++ XFree86-4.0-lia/xc/programs/Xserver/GL/mesa/src/X/xf86glx.c	Tue Aug  8
22:52:59 2000
@@ -62,6 +62,9 @@
 #include <GL/internal/glcore.h>
 #endif
 
+/* Avoid cyclic dependency between libglx and libGLcore due
+   to this symbol and glDDXExtensionInfo.  --davidm 00/08/08 */
+__GLXcontext *__glXLastContext;

When I added the __GLXcontext *__glxLastContext; line to xf86glx.c and
recompiled, I had no problem loading the GLcore module.
Comment 1 Donnie Berkholz 2004-04-11 23:42:55 UTC
This looks like a dup of bug #377.
Comment 2 Mike A. Harris 2004-04-17 08:38:35 UTC
Closing bug as dupe of bug #377

*** This bug has been marked as a duplicate of 377 ***


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.