PDA

View Full Version : QT fails ./configure test



Meltro
06-18-2002, 03:04 PM
Ok, have the QT binaries from trolltech installed, but ./configure keeps saying they're corrupt(?)

error message from config.log:

configure:6715: checking for Qt
configure:7024: g++3 -o conftest -I/opt/qt-gcc3-2.3.2/include -I/usr/X11R6/include -L/opt/qt-gcc3-2.3.2/lib -L/usr/X11R6/lib conftest.C -lqt-mt -lpng -lz -lm -lXext -lX11 1>&5
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/usr/bin/ld: /usr/X11R6/lib/libXt.so.6: invalid string offset 1702035554 >= 11909 for section `.dynstr'
configure: failed program was:
#define QT_THREAD_SUPPORT 1
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qapp.h>
#include <qobjcoll.h>
#include <qstringlist.h>
#include <qstyle.h>
#include <qthread.h>
#if ! (QT_VERSION > 230)
#error 1
#endif

int main() {
QStringList *t = new QStringList();
QMutex mutex;
return 0;
}


I cannot parse this, any help would be appreciated.

high_jeeves
06-18-2002, 03:36 PM
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/usr/bin/ld: /usr/X11R6/lib/libXt.so.6: invalid string offset 1702035554 >= 11909 for section `.dynstr'


this is the error message, a segfault by ld is a bad thing, it probably means you have something funny with your gcc3 install.

Also, you mentioned:


QT binaries from trolltech installed

I am hoping you mean you build QT from source with gcc3 and the -thread option turned on? If not that is your first problem. Take a look at one of the walkthroughs, or INSTALL.newbies for more information.

--Jeeves