[mythtv] gcc 3.x compile

Roo roo.watt at gmail.com
Thu Sep 20 10:12:56 UTC 2007

On 20/09/2007, Daniel Kristjansson <danielk at cuymedia.net> wrote:
> FYI The problem is not your compiler, but your OpenGL header
> files. But this is a problem we want the MythTV compile to be
> robust against.
> -- Daniel

Hi Daniel,

My compile error is attached below, I am not sure what version of the
libs is installed but can find out if it is needed.  This is a gentoo
64bit amd64 system.



cd libmythtv && make -f Makefile
make[2]: Entering directory `/home/cameron/src/myth/mythtv/libs/libmythtv'
ccache g++ -c -pipe -march=k8 -Wall -W -fomit-frame-pointer -O3 -Wall
-Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
-D__STDC_CONSTANT_MACROS -fomit-frame-pointer -I/usr/include/freetype2
-DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\"
-I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/local/include
-I/usr/src/linux-2.6.16-gentoo-r9/include -I/usr/include -I../.. -I..
-I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev
-Impeg -Iiptv -I../libmythlivemedia/BasicUsageEnvironment/include
-I../libmythlivemedia/UsageEnvironment/include -I/usr/qt/3/include
-I/usr/include -I/usr/include -o util-opengl.o util-opengl.cpp
util-opengl.cpp: In function `void (* get_gl_proc_address(const QString&))()':
util-opengl.cpp:310: error: `glXGetProcAddress' undeclared (first use
this function)
util-opengl.cpp:310: error: (Each undeclared identifier is reported
only once for each function it appears in.)
make[2]: *** [util-opengl.o] Error 1
make[2]: Leaving directory `/home/cameron/src/myth/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/home/cameron/src/myth/mythtv/libs'
make: *** [sub-libs] Error 2

More information about the mythtv-dev mailing list