Opened 10 years ago

Closed 10 years ago

#8040 closed defect (invalid)

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

Reported by: Rajil Saraswat <rajil.s@…> Owned by: Isaac Richards
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 (3)

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

Download all attachments as: .zip

Change History (4)

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

Attachment: config.log added

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

Attachment: config.ep added

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

Attachment: settings.pro added

comment:1 Changed 10 years ago by danielk

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.