[mythtv] mythtv compilation for maemo (Nokia N900) failing with -lGL error

Rajil Saraswat rajil.s at gmail.com
Sun Feb 7 07:49:41 UTC 2010

Hi all,

I am trying to compile mythtv in a scratcbox for the maemo platform
but the compilation is failing. The error is

g++ -Wl,-rpath-link,/usr/lib -Wl,-O1 -Wl,-rpath,/opt/qt-4.6.0/lib
-shared -Wl,-soname,libmythfreemheg-0.22.so.0 -o
libmythfreemheg-0.22.so.0.22.0 Actions.o BaseClasses.o Bitmap.o
Engine.o Groups.o Ingredients.o ParseBinary.o ParseNode.o ParseText.o
Presentable.o Programs.o Root.o Stream.o Text.o Variables.o Visible.o
BaseActions.o DynamicLineArt.o TokenGroup.o Link.o
-L/opt/qt-4.6.0/lib -lfreetype -lz -L/usr/X11R6/lib -lXinerama -lX11
-lXext -lXxf86vm -lXv -lGL -lGLU -lpulse -lQtGui -L/opt/qt-4.6.0/lib
-lQtCore -lpthread
cannot find -lGL

The funny thing is that i did specify no to use opengl using the
following configure options. The GL files are listed as well.

#ls /usr/lib/*GL*
/usr/lib/libEGL.so      /usr/lib/libGLESv2.so
/usr/lib/libpvrPVR2D_DRI2WSEGL.so  /usr/lib/libpvrPVR2D_FRONTWSEGL.so
/usr/lib/libGLES_CM.so  /usr/lib/libpvrPVR2D_BLITWSEGL.so
/usr/lib/libpvrPVR2D_FLIPWSEGL.so  /usr/lib/libpvrPVR2D_X11WSEGL.so

#./configure  --qmake=/opt/bin/qmake --prefix=/opt/myth
--disable-opengl-video --disable-distcc --disable-opengl-vsync
--disable-lirc  --disable-joystick-menu  --disable-firewire
--disable-iptv  --disable-hdhomerun  --disable-v4l  --disable-ivtv
--disable-hdpvr  --disable-dvb  --disable-directfb --disable-ccache
--disable-xrandr --disable-xvmc  --disable-xvmcw

Warning! QtWebkit headers not found, MythBrowser will not work.
# Basic Settings
Compile type              release
Compiler cache            no
DistCC                    no
qmake                     /opt/qt-4.6.0/bin/qmake
install prefix            /opt/myth
runtime prefix            /opt/myth
CPU                       arm  (model name      : Intel(R) Core(TM)2
CPU          6600  @ 2.40GHz)
big-endian                no
runtime cpu detection     no
ARMv5TE enabled           yes
ARMv6 enabled             yes
ARMv6T2 enabled           yes
ARM VFP enabled           yes
IWMMXT enabled            no
NEON enabled              no

# Input Support
Joystick menu             no
lirc support              no
Video4Linux sup.          no
ivtv support              no
HD-PVR support            no
FireWire support          no
DVB support               no [/usr/include]
DVB-S2 support            no
HDHomeRun support         no
IPTV support              no

# Sound Output Support
PulseAudio support        yes
OSS support               yes
ALSA support              yes
aRts support              no
JACK support              no
libfftw3 support          no

# Video Output Support
x11 support               yes
xrandr support            no
xv support                yes
XvMC support              no
XvMC VLD support          no
XvMC pro support          no
VDPAU support             no
OpenGL video              no
OpenGL vsync              no
DirectFB                  no
Fribidi formatting        no
MHEG support              yes

# Misc Features
multi threaded libavcodec yes
Frontend                  yes
Backend                   yes

# Bindings
bindings_perl             yes
bindings_python           yes

Creating libs/libmythdb/mythconfig.h and libs/libmythdb/mythconfig.mak

anybody knows why a -GL is being called at all?


More information about the mythtv-dev mailing list