to be more specific:

insert #define somewhere about line 157 of:  /usr/X11R6/include/GL/glx.h
giving:

#define DEFINED_GLXFBConfigSGIX
typedef struct __GLXFBConfigRec *GLXFBConfigSGIX;

and then edit about line 268 of /usr/X11R6/include/GL/glxext.h 
giving:

#ifndef DEFINED_GLXFBConfigSGIX
typedef struct __GLXFBConfigRec *GLXFBConfigSGIX;
#endif

Feel free to use a more graphic and emotionally satisfying prefix than 
the "DEFINED" one I used as an example above. 
Also, your line numbers may be slightly different, but i suspect u have the 
exact same bad ebuild i have so likely the same.

Seems fixed now though, with that one little hack.

cheers,

John


On Sat, 25 Jun 2005 12:05 am, [EMAIL PROTECTED] wrote:
> yes i recently got this error myself compiling somethign else after
> emerging an ebuild for new opengl headers.
>
> the offending ebuild is:
> [ebuild   R   ] x11-base/opengl-update-2.2.1
>
> Infuriating. Do they test these things at all before they release them?!?!
>
> I went and hacked the headers back into shape, putting in an ifdef
> so it wouldnt be defined twice and problem solved
>
> John
>
> On Fri, 24 Jun 2005 10:01 am, Carsten Haitzler wrote:
> > On Thu, 23 Jun 2005 12:35:31 -0400 Justin <[EMAIL PROTECTED]>
>
> babbled:
> > > While trying to compile evas (gotten from CVS two days ago) I get this
> > > error:
> > >
> > > In file included from /usr/X11R6/include/GL/glx.h:336,
> > >                  from
> > > ../../../src/lib/include/evas_engine_api_gl_x11.h:6, from
> > > evas_main.c:25: /usr/X11R6/include/GL/glxext.h:267: error: redefinition
> > > of
> > > `GLXFBConfigSGIX' /usr/X11R6/include/GL/glx.h:156: error:
> > > `GLXFBConfigSGIX' previously declared here
> > > make[4]: *** [evas_main.lo] Error 1
> > > make[4]: Leaving directory
> > > `/home/elshadii/e17/libs/evas/src/lib/canvas' make[3]: ***
> > > [all-recursive] Error 1
> > > make[3]: Leaving directory `/home/elshadii/e17/libs/evas/src/lib'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/home/elshadii/e17/libs/evas/src'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/home/elshadii/e17/libs/evas'
> > > make: *** [all] Error 2
> > >
> > >
> > > Any help would greatly be appreciated!
> >
> > it seems your system headers are screwed. they redefine things in
> > includes they themselves re-include.
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to