Modify

Ticket #8040 (closed defect: invalid)

You must read the TicketHowTo before creating a new ticket or commenting on an existing ticket.

Opened 2 years ago

Last modified 2 years ago

Compilation for maemo5 (for Nokia N900) fails with a -lGL error

Reported by: Rajil Saraswat <rajil.s@…> Owned by: ijr
Priority: major Milestone: unknown
Component: MythTV - General Version: 0.22-fixes
Severity: medium Keywords: maemo5, N900, opengl
Cc: Ticket locked: no

Description

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?

Attachments

config.log Download (394 bytes) - added by Rajil Saraswat <rajil.s@…> 2 years ago.
config.ep Download (104.6 KB) - added by Rajil Saraswat <rajil.s@…> 2 years ago.
settings.pro Download (3.9 KB) - added by Rajil Saraswat <rajil.s@…> 2 years ago.

Change History

Changed 2 years ago by Rajil Saraswat <rajil.s@…>

Changed 2 years ago by Rajil Saraswat <rajil.s@…>

Changed 2 years ago by Rajil Saraswat <rajil.s@…>

comment:1 Changed 2 years ago by danielk

  • Status changed from new to closed
  • Resolution set to invalid

MythTV uses OpenGL for painting the UI as well. There is not configure option to disable OpenGL completely. It is only disabled if you do not have OpenGL installed. Please discuss compilation problems on the mythtv users' mailing list.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.