[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:
<snip>
> 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.

Cheers,

Roo.


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
-D_REENTRANT -DPIC -fPIC  -DMMX -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_OPENGL_VSYNC -DUSING_FRONTEND
-DUSING_V4L -DUSING_DVB -DUSING_BACKEND -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
-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/groupsock/include
-I../libmythlivemedia/liveMedia/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