Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#5664 closed defect (invalid)

r18244 cannot find -lGL

Reported by: Jay Modi <jaymode@…> Owned by: Isaac Richards
Priority: minor Milestone: 0.22
Component: mythtv Version: head
Severity: medium Keywords: gl
Cc: Ticket locked: no

Description

Have been successful with previous versions. Tried to build latest trunk tonight and received this: ccache g++ -c -pipe -march=pentium4 -fomit-frame-pointer -O3 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time -DSTDC_CONSTANT_MACROS -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -DPIC -fPIC -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I/usr/local/include -I/usr/include -I../libmythdb -I. -I. -o moc_ssdpcache.o moc_ssdpcache.cpp rm -f libmythupnp-0.22.so.0.22.0 libmythupnp-0.22.so libmythupnp-0.22.so.0 libmythupnp-0.22.so.0.22 ccache g++ -Wl,--no-undefined -shared -Wl,-soname,libmythupnp-0.22.so.0 -o libmythupnp-0.22.so.0.22.0 version.o httprequest.o upnp.o ssdp.o taskqueue.o upnputil.o upnpdevice.o upnptasknotify.o upnptasksearch.o threadpool.o httpserver.o upnpcds.o upnpcdsobjects.o bufferedsocketdevice.o eventing.o upnpcmgr.o upnpmsrr.o upnptaskevent.o ssdpcache.o configuration.o soapclient.o mythxmlclient.o mmembuf.o moc_ssdpcache.o -L/usr/lib -L../libmythdb -lmythdb-0.22 -lfreetype -lz -lmp3lame -lraw1394 -liec61883 -lavc1394 -lrom1394 -L/usr/X11R6/lib -lXinerama -lXv -lX11 -lXext -lXxf86vm -lXrandr -lXvMCW -lXvMC -lGL -lGLU -lpthread -lQtSql -lQtXml -lQtGui -lQtNetwork -lQtCore /usr/bin/ld: cannot find -lGL collect2: ld returned 1 exit status make[2]: * [libmythupnp-0.22.so.0.22.0] Error 1 make[2]: Leaving directory `/home/jmodi/mythtv_source/trunk/mythtv/libs/libmythupnp' make[1]: * [sub-libmythupnp-make_default-ordered] Error 2 make[1]: Leaving directory `/home/jmodi/mythtv_source/trunk/mythtv/libs' make: * [sub-libs-make_default-ordered] Error 2

Change History (3)

comment:1 Changed 16 years ago by Jay Modi <jaymode@…>

This is invalid please close, sorry. I am running Ubuntu 8.10 (alpha stage) and switched nvidia drivers. I installed the development files for these and all is well.

comment:2 Changed 16 years ago by stuartm

Resolution: invalid
Status: newclosed

comment:3 Changed 16 years ago by frankm

I also get this error when trying to build mythtv without qt-opengl.

I need to change the *.pro files like that:

#The following line was inserted by qt3to4

-QT += network xml sql opengl qt3support +QT += network xml sql qt3support

Note: See TracTickets for help on using tickets.