|
|
#1 | |
|
Registered User
Join Date: May 2004
Posts: 9
|
Updating to KDE 3.2.2, I have this problem compiling:
configure:32700: checking for Qt configure: 32771: /usr/local/qt-3.2.3//include/qstyle.h taking that configure:32883: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_ SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common -I/usr/local/qt-3.2.3//include -I/usr/X11R6/include -DQT_THREA D_SUPPORT -D_REENTRANT -L/usr/local/qt-3.2.3//lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljp eg -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5 /tmp/ccz5Gnn7.o: In function `main': /tmp/ccz5Gnn7.o(.text+0xb): undefined reference to `QString::null' /tmp/ccz5Gnn7.o(.text+0x10): undefined reference to `QStyleFactory::create(QString const &)' /tmp/ccz5Gnn7.o(.text+0x1e): undefined reference to `QCursor::QCursor(int)' /tmp/ccz5Gnn7.o(.text+0x29): undefined reference to `QCursor::~QCursor(void)' /tmp/ccz5Gnn7.o: In function `QValueListPrivate<QString>::QValueListPrivate(voi d)': /tmp/ccz5Gnn7.o(.QValueListPrivate<QString>::gnu.linkon ce.t.(void)+0x1e): undefined reference to `QString::sha red_null' /tmp/ccz5Gnn7.o(.QValueListPrivate<QString>::gnu.linkon ce.t.(void)+0x2a): undefined reference to `QString::mak eSharedNull(void)' /tmp/ccz5Gnn7.o: In function `QValueListPrivate<QString>::~QValueListPrivate(vo id)': /tmp/ccz5Gnn7.o(.gnu.linkonce.t._._t17QValueListPrivate 1Z7QString+0x27): undefined reference to `QString::shar ed_null' /tmp/ccz5Gnn7.o(.gnu.linkonce.t._._t17QValueListPrivate 1Z7QString+0x32): undefined reference to `QStringData:: deleteSelf(void)' /tmp/ccz5Gnn7.o(.gnu.linkonce.t._._t17QValueListPrivate 1Z7QString+0x5f): undefined reference to `QString::shar ed_null' /tmp/ccz5Gnn7.o(.gnu.linkonce.t._._t17QValueListPrivate 1Z7QString+0x6a): undefined reference to `QStringData:: deleteSelf(void)' /tmp/ccz5Gnn7.o: In function `QValueListPrivate<QString>::insert(QValueListIter ator<QString>, QString const &) ': /tmp/ccz5Gnn7.o(.QValueListPrivate<QString>::gnu.linkon ce.t.insert(QValueListIterator<QString>, QString const &)+0x27): undefined reference to `QString::QString(QString const &)' /tmp/ccz5Gnn7.o: In function `QValueListPrivate<QString>::QValueListPrivate(QVa lueListPrivate<QString> const & )': /tmp/ccz5Gnn7.o(.QValueListPrivate<QString>::gnu.linkon ce.t.(QValueListPrivate<QString> const &)+0x1e): undefi ned reference to `QString::shared_null' /tmp/ccz5Gnn7.o(.QValueListPrivate<QString>::gnu.linkon ce.t.(QValueListPrivate<QString> const &)+0x2a): undefi ned reference to `QString::makeSharedNull(void)' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glDeleteLists@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glXQueryExtension@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glXSwapBuffers@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glCallLists@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glXCreateGLXPixmap@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glReadPixels@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glClearIndex@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glXWaitX@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glRasterPos3d@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glFlush@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glListBase@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glXDestroyGLXPixmap@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glPopAttrib@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glXMakeCurrent@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glMatrixMode@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glViewport@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glXGetClientString@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glClearColor@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glXQueryServerString@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glPushMatrix@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glXQueryExtensionsString@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glRasterPos2i@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glXChooseVisual@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glXCreateContext@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glIndexi@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glPushAttrib@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glDrawBuffer@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glPopMatrix@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glLoadIdentity@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glColor3ub@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glXDestroyContext@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glXIsDirect@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glXGetConfig@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glOrtho@LIBGL' /usr/local/qt-3.2.3//lib/libqt-mt.so: undefined reference to `glXUseXFont@LIBGL' collect2: ld returned 1 exit status I think this is a error into the versions of NVidia driver and/or the Qt 3.2.3 version, the recommended version. I update the driver to the last version, (1.0-5328) and run KDE 3.2 but not KDE 3.2.2. I know Qt 3.2.3 is right, because KDE 3.2 uses it. Any idea? KDE 3.2.2 gcc 3.3.1 NVidia driver 1.0-5328 Card GeForce2 |
|
|
|
|
|
|
#2 | |
|
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
|
Basicly the problem is that there's something wrong with your qt libraries. Libraries like qt in the end use other libraries to do stuff. Your qt library wants to use some opengl calls for some things. Those opengl functions are stored in the opengl library (libGL.so). If the library isn't "linked" to libGL.so while it wants opengl functions it gives unresolved symbols. Perhaps during compilation of qt it couldn't find libGL.so or there was some mesa crap left. The problem is not nvidia related. For example do a google search for the problem to fix it.
|
|
|
|
|
![]() |
| Thread Tools | |
|
|