[mythtv] [mythtv-commits] mythtv commit: r15140 by ijr

myShade myshade at bredband.net
Sat Dec 15 13:33:25 UTC 2007


Hi.
Not sure this is relevant, but since some time i had similar compilation
errors.
Im locked with nvidia 1.0.7185 because of my hardware (GeForce2 Go)
Well here is the error.

make[2]: Entering directory `/usr/src/SOURCES/mythtv/libs/libmythtv'
g++ -c -pipe -march=pentiumpro -fomit-frame-pointer -O3 -Wall
-Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
-D__STDC_CONSTANT_MACROS -I/usr/include/freetype2 -D_REENTRANT -DPIC
-fPIC  -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=
\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -D_LARGEFILE_SOURCE
-DUSING_OSS -DUSING_H264TOOLS -DUSING_X11 -DUSING_XV -DUSING_XVMC
-DUSING_XVMCW -DUSING_XVMC_VLD -DUSING_OPENGL -DUSING_FRONTEND
-DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
-DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
-I../../../../../local/include -I../.. -I.. -I. -I../libmyth
-I../libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -Iiptv
-I../libmythlivemedia/BasicUsageEnvironment/include
-I../libmythlivemedia/groupsock/include
-I../libmythlivemedia/liveMedia/include
-I../libmythlivemedia/UsageEnvironment/include -I/usr/qt/3/include
-I/usr/X11R6/include -I/usr/X11R6/include -o util-opengl.o
util-opengl.cpp
/usr/include/X11/Xmd.h:137: error: conflicting declaration 'typedef long
int INT32'
/usr/qt/3/include/qglobal.h:706: error: 'INT32' has a previous
declaration as 'typedef int INT32'
util-opengl.h:132: error: '__GLXextFuncPtr' does not name a type
util-opengl.h:169: error: 'PFNGLXGETVIDEOSYNCSGIPROC' does not name a
type
util-opengl.h:170: error: 'PFNGLXWAITVIDEOSYNCSGIPROC' does not name a
type
util-opengl.cpp:19: error: 'PFNGLXGETVIDEOSYNCSGIPROC' does not name a
type
util-opengl.cpp:20: error: 'PFNGLXWAITVIDEOSYNCSGIPROC' does not name a
type
util-opengl.cpp: In function 'bool init_opengl()':
util-opengl.cpp:34: error: 'get_gl_proc_address' was not declared in
this scope
util-opengl.cpp:58: error: 'gMythGLXGetVideoSyncSGI' was not declared in
this scope
util-opengl.cpp:58: error: 'PFNGLXGETVIDEOSYNCSGIPROC' was not declared
in this scope
util-opengl.cpp:59: error: expected `;' before 'get_gl_proc_address'
util-opengl.cpp:60: error: 'gMythGLXWaitVideoSyncSGI' was not declared
in this scope
util-opengl.cpp:60: error: 'PFNGLXWAITVIDEOSYNCSGIPROC' was not declared
in this scope
util-opengl.cpp:61: error: expected `;' before 'get_gl_proc_address'
util-opengl.cpp: At global scope:
util-opengl.cpp:305: error: '__GLXextFuncPtr' does not name a type
util-opengl.cpp: In function 'bool has_glx_video_sync_support(const
QString&)':
util-opengl.cpp:370: error: 'gMythGLXGetVideoSyncSGI' was not declared
in this scope
util-opengl.cpp:370: error: 'gMythGLXWaitVideoSyncSGI' was not declared
in this scope
make[2]: *** [util-opengl.o] Error 1
make[2]: Leaving directory `/usr/src/SOURCES/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/usr/src/SOURCES/mythtv/libs'
make: *** [sub-libs] Error 2

configure options: --disable-audio-arts --disable-audio-jack
--disable-lirc --disable-joystick-menu --disable-firewire --disable-iptv
--disable-dbox2 --disable-hdhomerun --disable-v4l --disable-ivtv
--disable-dvb

If i install a recent nvidia-driver it compiles fine.
//Br Fredrik

On Wed, 2007-12-12 at 07:40 +0200, Otto Kolsi wrote:
> > 
> >          Author: ijr
> >            Date: 2007-12-12 04:08:59 +0000 (Wed, 12 Dec 2007)
> >     New Revision: 15140
> >       Changeset: http://cvs.mythtv.org/trac/changeset/15140
> > 
> >     Modified:
> > 
> >       trunk/mythtv/libs/libmythtv/util-opengl.h
> > 
> >     Log:
> > 
> >     Define GLX_GLXEXT_PROTOTYPES before including glxext.h
> > 
> >     Fixes #4314?
> > 
> >  
> > I can confirm that this fixes my original compilation issue *without* 
> > needing the original patch that I committed.  Sorry for the breakage 
> > folks and thanks Isaac for the fix here.
> >  
> > Kevin
> 
> Works here too, thanks all!
> --
>    Otto
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


More information about the mythtv-dev mailing list