[mythtv] Compile problem on vsync.cpp with latest MythTV CVS

Harley Peters harley at hpeters.net
Fri Aug 20 16:22:05 EDT 2004


Mike Javorski wrote:
> I am getting the following error compiling current mythtv CVS. I looked
> around in my list archive but didn't see any traffic on this issue..
> Anyone know how I might fix it? 
> 
> Dist: Gentoo w/ Custom 2.6.8.1 kernel
> Software:  gcc 3.3.3 / qt 3.3.3 (tried w/ 3.3.2 as well)
> 
> *snip*
> 
> In file included from /usr/X11R6/include/GL/glx.h:25,
>                  from vsync.cpp:37:
> /usr/X11R6/include/X11/Xmd.h:131: error: conflicting types for `typedef
> long 
>    int INT32'
> /usr/qt/3/include/qglobal.h:689: error: previous declaration as `typedef
> int 
>    INT32'
> In file included from vsync.cpp:39:
> /usr/X11R6/include/GL/glxext.h:374: error: syntax error before `(' token
> /usr/X11R6/include/GL/glxext.h:376: error: `PFNGLXGETPROCADDRESSPROC'
> was not 
>    declared in this scope
> /usr/X11R6/include/GL/glxext.h:376: error: ISO C++ forbids declaration
> of `
>    __GLXextFuncPtr' with no type
> /usr/X11R6/include/GL/glxext.h:376: error: typedef `__GLXextFuncPtr' is 
>    initialized (use __typeof__ instead)
> make[2]: *** [vsync.o] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/mythtv-cvs-20040514/work/mythtv/libs/libmythtv'
> make[1]: *** [sub-libmythtv] Error 2
> make[1]: Leaving directory
> `/var/tmp/portage/mythtv-cvs-20040514/work/mythtv/libs'
> make: *** [sub-libs] Error 2
> 
> *snip*
> 
> - mike
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Su to root and run opengl-update xfree (or whatever X server your 
running). Then compile mythtv as normal when done su to root and run 
opengl-update nvidia.

Harley



More information about the mythtv-dev mailing list