[mythtv] gcc 3.x compile

Shane Boulter sboulter at ariasolutions.com
Wed Sep 19 21:55:11 UTC 2007


When trying to compile the svn version of myth on the xbox frontend I am
getting the following error.  I've seen reference to a problem like this
before but I'm not sure how to fix it.


distcc -c -pipe -march=pentium3 -Wall -W -fomit-frame-pointer -O2 -Wall
-Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
-D__STDC_CONSTANT_MACROS -fomit-frame-pointer -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_OPENGL -DUSING_FRONTEND -DUSING_V4L -DUSING_DBOX2
-DUSING_IPTV -DUSING_HDHOMERUN -DUSING_IVTV -DUSING_DVB -DUSING_BACKEND
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
-I/usr/share/qt3/mkspecs/default -I. -I../../../../../include
-I../../../../../../include -I../../../../../../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../../../../../../include/qt3 -I../../../../../../X11R6/include
-I../../../../../../X11R6/include -o dtvsignalmonitor.o
dtvsignalmonitor.cpp
In file included from openglcontext.cpp:5:
util-opengl.h:139: error: syntax error before `)' token
util-opengl.h:141: error: syntax error before `)' token
util-opengl.h:143: error: syntax error before `)' token
util-opengl.h:146: error: syntax error before `)' token
util-opengl.h:148: error: syntax error before `)' token
util-opengl.h:151: error: syntax error before `;' token
util-opengl.h:152: error: syntax error before `;' token
util-opengl.h:153: error: syntax error before `;' token
util-opengl.h:154: error: syntax error before `;' token
util-opengl.h:155: error: syntax error before `;' token
openglcontext.cpp: In member function `bool 
   OpenGLContext::CreateFragmentProgram(const QString&, uint&)':
openglcontext.cpp:419: error: `GL_FRAGMENT_PROGRAM_ARB' undeclared
(first use 
   this function)
openglcontext.cpp:419: error: (Each undeclared identifier is reported
only once for each function it appears in.)


Shane




More information about the mythtv-dev mailing list