Opened 16 years ago
Closed 16 years ago
#8040 closed defect (invalid)
Compilation for maemo5 (for Nokia N900) fails with a -lGL error
| Reported by: | 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)
Change History (4)
by , 16 years ago
| Attachment: | config.log added |
|---|
by , 16 years ago
| Attachment: | settings.pro added |
|---|
comment:1 by , 16 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |

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.