[mythtv] Compilation error : revision 14408

Ben Suffolk ben at vanilla.net
Wed Sep 5 18:11:21 UTC 2007


Hi guys,

Just done an svn up, which has taken me to 14408. I then did the  
normal make distclean, ./configure --previous, qmake mythtv.pro, make  
and I get an error :-

g++ -c -pipe -march=k8 -Wall -W -g -Wall -Wno-switch -Wpointer-arith - 
Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -I/ 
usr/include/freetype2 -D_REENTRANT -DPIC -fPIC  -DMMX -D_GNU_SOURCE - 
D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\" - 
D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_H264TOOLS -DUSING_X11 - 
DUSING_XV -DUSING_XVMC -DUSING_XVMCW -DUSING_OPENGL_VSYNC - 
DUSING_FRONTEND -DUSING_IPTV -DUSING_DVB -DUSING_BACKEND - 
DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG -I/usr/lib64/qt-3.3/ 
mkspecs/default -I. -I/usr/include -I/usr/include -I/usr/X11R6/ 
include -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/lib64/qt-3.3/include -o  
videobuffers.o videobuffers.cpp
g++ -c -pipe -march=k8 -Wall -W -g -Wall -Wno-switch -Wpointer-arith - 
Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -I/ 
usr/include/freetype2 -D_REENTRANT -DPIC -fPIC  -DMMX -D_GNU_SOURCE - 
D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\" - 
D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_H264TOOLS -DUSING_X11 - 
DUSING_XV -DUSING_XVMC -DUSING_XVMCW -DUSING_OPENGL_VSYNC - 
DUSING_FRONTEND -DUSING_IPTV -DUSING_DVB -DUSING_BACKEND - 
DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG -I/usr/lib64/qt-3.3/ 
mkspecs/default -I. -I/usr/include -I/usr/include -I/usr/X11R6/ 
include -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/lib64/qt-3.3/include -o vsync.o  
vsync.cpp
vsync.cpp: In destructor ‘virtual OpenGLVideoSync::~OpenGLVideoSync()’:
vsync.cpp:456: error: ‘glXDestroyContext’ was not declared in this scope
vsync.cpp: In member function ‘virtual bool OpenGLVideoSync::TryInit()’:
vsync.cpp:489: error: ‘init_opengl’ was not declared in this scope
vsync.cpp:489: error: ‘get_glx_version’ was not declared in this scope
vsync.cpp:497: error: ‘glXQueryExtensionsString’ was not declared in  
this scope
vsync.cpp:499: error: ‘has_glx_video_sync_support’ was not declared  
in this scope
vsync.cpp:505: error: ‘GLX_RGBA’ was not declared in this scope
vsync.cpp:506: error: ‘GLX_RED_SIZE’ was not declared in this scope
vsync.cpp:507: error: ‘GLX_GREEN_SIZE’ was not declared in this scope
vsync.cpp:508: error: ‘GLX_BLUE_SIZE’ was not declared in this scope
vsync.cpp:514: error: ‘glXChooseVisual’ was not declared in this scope
vsync.cpp:544: error: ‘GL_TRUE’ was not declared in this scope
vsync.cpp:544: error: ‘glXCreateContext’ was not declared in this scope
vsync.cpp:552: error: ‘glXMakeCurrent’ was not declared in this scope
vsync.cpp:556: error: ‘gMythGLXGetVideoSyncSGI’ was not declared in  
this scope
vsync.cpp:562: error: ‘GLX_BAD_CONTEXT’ was not declared in this scope
vsync.cpp: In function ‘bool checkGLSyncError(const QString&, int)’:
vsync.cpp:595: error: ‘GLX_BAD_CONTEXT’ was not declared in this scope
vsync.cpp:598: error: ‘GLX_BAD_VALUE’ was not declared in this scope
vsync.cpp: In member function ‘virtual void OpenGLVideoSync::Start()’:
vsync.cpp:627: error: ‘glXMakeCurrent’ was not declared in this scope
vsync.cpp:637: error: ‘gMythGLXGetVideoSyncSGI’ was not declared in  
this scope
vsync.cpp:639: error: ‘gMythGLXWaitVideoSyncSGI’ was not declared in  
this scope
vsync.cpp:642: error: ‘glXMakeCurrent’ was not declared in this scope
vsync.cpp: In member function ‘virtual void  
OpenGLVideoSync::WaitForFrame(int)’:
vsync.cpp:661: error: ‘glXMakeCurrent’ was not declared in this scope
vsync.cpp:664: error: ‘gMythGLXGetVideoSyncSGI’ was not declared in  
this scope
vsync.cpp:670: error: ‘gMythGLXWaitVideoSyncSGI’ was not declared in  
this scope
vsync.cpp:679: error: ‘gMythGLXWaitVideoSyncSGI’ was not declared in  
this scope
vsync.cpp:684: error: ‘glXMakeCurrent’ was not declared in this scope
make[2]: *** [vsync.o] Error 1
make[2]: Leaving directory `/home/mythtv/src/svn/trunk/mythtv/libs/ 
libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/home/mythtv/src/svn/trunk/mythtv/libs'
make: *** [sub-libs] Error 2

Is there something else that I need to upgrade on the machine before  
this version will compile? I updated QT to 3.3, as I saw elsewhere  
that there could be an issue with earlier version of qt, but does not  
look like its related to that.

Any thoughts appreciated.

Regards

Ben



More information about the mythtv-dev mailing list