Re: [GtkGLExt] nvidia 1.0-6111 headers



Ok found the problem...  I have Sourcemage apply this patch if
nvidia_headers are installed.

Just commenting out a line that is defined in the nividia_headers the
exact same way.

CuZnDragon
Robin Cook

> > > --- Robin Cook <rcook wyrms net> wrote:
> > > 
> > > > Is there a patch or something available to get gtkglext to compile with
> > > > the nvidia 1.0-6111 headers?  I am getting the below error when I try to
> > > > compile gtkglext 1.0.6.
> > > > 
> > > >  gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkGLExt\"
> > > > -DGDK_GL_COMPILATION -I.. -DG_DISABLE_CAST_CHECKS -I/usr/X11R6/include
> > > > -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
> > > > -I/usr/include/pango-1.0 -I/usr/include/freetype2
> > > > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> > > > -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
> > > > -DGDK_PIXBUF_DISABLE_DEPRECATED -O -march=athlon-mp -mmmx -mfpmath=sse
> > > > -msse -m3dnow -pipe -O3 -Wall -MT gdkglglext.lo -MD -MP
> > > > -MF .deps/gdkglglext.Tpo -c gdkglglext.c  -fPIC -DPIC
> > > > -o .libs/gdkglglext.o
> > > > In file included from gdkglglext.h:53,
> > > >                  from gdkglglext.c:26:
> > > > ../gdk/glext/glext.h:1540:1: warning: "GL_RESTART_SUN" redefined
> > > > In file included from /usr/X11R6/include/GL/gl.h:73,
> > > >                  from gdkglglext.h:33,
> > > >                  from gdkglglext.c:26:
> > > > /usr/X11R6/include/GL/glext.h:2215:1: warning: this is the location of
> > > > the previous definition
> > > > In file included from gdkglglext.h:53,
> > > >                  from gdkglglext.c:26:
> > > > ../gdk/glext/glext.h:1541:1: warning: "GL_REPLACE_MIDDLE_SUN" redefined
> > > > In file included from /usr/X11R6/include/GL/gl.h:73,
> > > >                  from gdkglglext.h:33,
> > > >                  from gdkglglext.c:26:
> > > > /usr/X11R6/include/GL/glext.h:2216:1: warning: this is the location of
> > > > the previous definition
> > > > In file included from gdkglglext.h:53,
> > > >                  from gdkglglext.c:26:
> > > > ../gdk/glext/glext.h:1542:1: warning: "GL_REPLACE_OLDEST_SUN" redefined
> > > > In file included from /usr/X11R6/include/GL/gl.h:73,
> > > >                  from gdkglglext.h:33,
> > > >                  from gdkglglext.c:26:
> > > > /usr/X11R6/include/GL/glext.h:2217:1: warning: this is the location of
> > > > the previous definition
> > > > In file included from gdkglglext.h:53,
> > > >                  from gdkglglext.c:26:
> > > > ../gdk/glext/glext.h:3810: error: redefinition of typedef
> > > > 'PFNGLCOLORSUBTABLEEXTPROC'
> > > > /usr/X11R6/include/GL/glext.h:3223: error: previous declaration of
> > > > 'PFNGLCOLORSUBTABLEEXTPROC' was here
> > > > make[5]: *** [gdkglglext.lo] Error 1
> > > > make[5]: Leaving directory `/usr/src/gtkglext-1.0.6/gdk'
> > > > make[4]: *** [all-recursive] Error 1
> > > > make[4]: Leaving directory `/usr/src/gtkglext-1.0.6/gdk'
> > > > make[3]: *** [all] Error 2
> > > > make[2]: *** [all-recursive] Error 1
> > > > make[1]: *** [all] Error 2
> > > > 
> > > > 
> > > 
> > > > ATTACHMENT part 1.2 application/pgp-signature name=signature.asc
> > > > _______________________________________________
> > > > gtkglext-list mailing list
> > > > gtkglext-list gnome org
> > > > http://mail.gnome.org/mailman/listinfo/gtkglext-list
> > > > 
> > > 
> > > 
> > > =====
> > > Dave J. Andruczyk
> > > 
> > > 
> > > 		
> > > _______________________________
> > > Do you Yahoo!?
> > > Declare Yourself - Register online to vote today!
> > > http://vote.yahoo.com
> > > 
> > 
> 
> > ATTACHMENT part 2 application/pgp-signature name=signature.asc
> 
> 
> 
> =====
> Dave J. Andruczyk
> 
> 
> 		
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
> 
--- gdk/glext/glext.orig	2004-10-24 21:41:42.954721728 -0500
+++ gdk/glext/glext.h	2004-10-24 21:43:51.657155984 -0500
@@ -3807,7 +3807,7 @@
 GLAPI void APIENTRY glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
 GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei);
 #endif /* GL_GLEXT_PROTOTYPES */
-typedef void (APIENTRY * PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
+/* typedef void (APIENTRY * PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); */ /* Conflicts with Nvidia header */
 typedef void (APIENTRY * PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
 #endif
 

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]