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

Janne Grunau janne-mythtv at grunau.be
Sun Feb 7 19:30:14 UTC 2010

On Sun, Feb 07, 2010 at 07:49:41AM +0000, Rajil Saraswat wrote:
> 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
> /scratchbox/compilers/cs2007q3-glibc2.5-arm7/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/bin/ld:
> 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

no, you just disabled two opengl features try adding --disable-opengl

you can remove --disable-opengl-video and --disable-opengl-vsync since
they depend on opengl. --disable-ivtv, --disable-hdpvr are also not
needed since they depend on v4l

> 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

you probably want NEON enabled for the N900

HTH Janne

More information about the mythtv-dev mailing list