[mythtv-commits] Ticket #8040: Compilation for maemo5 (for Nokia N900) fails with a -lGL error

MythTV mythtv at cvs.mythtv.org
Sun Feb 7 10:52:55 UTC 2010


#8040: Compilation for maemo5 (for Nokia N900) fails with a -lGL error
------------------------------------------------+---------------------------
 Reporter:  Rajil Saraswat <rajil.s@…>          |       Owner:  ijr       
     Type:  defect                              |      Status:  new       
 Priority:  major                               |   Milestone:  unknown   
Component:  MythTV - General                    |     Version:  0.22-fixes
 Severity:  medium                              |     Mlocked:  0         
------------------------------------------------+---------------------------
 I am trying to compile mythtv in a scratcbox for the maemo5 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

 Why does myth needs a -lGL when opengl is disabled?

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8040>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list