Yes i just tried it and it compiled just fine with 2.96.
Seems there are issues between Gcc 3 and Qt
/MattB
On Mon, 2002-03-04 at 14:57, Jeremy Salch wrote:
> Do you have GCC 2.96 installed ? I had a similar problem with a different
> program and after installing gcc 2.96 it made it work
>
>
> On Monday 04 March 2002 02:42 pm, you wrote:
> > Is there any major diffrences between libqt 2.2 and libqt 2.3?
> >
> > About a week or so ago I could not compile Mosfet's liquid anymore.
> >
> > The crash line says
> >
> > checking for QT... configure: error: Qt ( >= Qt 2.2.2) (libraries) not
> > found.
> >
> > the config.log says...
> >
> > This file contains any messages produced by compilers while
> > running configure, to aid debugging if configure makes a mistake.
> > configure:5393: checking for Qt
> > tried NO
> > configure:5552: rm -rf SunWS_cache; g++ -o conftest -O2 -fno-exceptions
> > -fno-check-new -I/usr/lib/qt2/include -I/usr/X11R6/include
> > -L/usr/lib/qt2/lib -L/usr/X11R6/lib conftest.C -lqt -lpng -lz -lm -ljpeg
> > -lXext -lX11 -lSM -lICE 1>&5 /tmp/cc8lkCrr.o: In function `main':
> > /tmp/cc8lkCrr.o(.text+0x41): undefined reference to `QString::shared_null'
> > /tmp/cc8lkCrr.o(.text+0x74): undefined reference to
> > `QIconView::QIconView(QWidget*, char const*, unsigned)'
> > /tmp/cc8lkCrr.o(.text+0x84): undefined reference to
> > `QIconView::setWordWrapIconText(bool)' /tmp/cc8lkCrr.o(.text+0x89):
> > undefined reference to `QString::shared_null' /tmp/cc8lkCrr.o(.text+0xa9):
> > undefined reference to `QString::setLatin1(char const*, int)'
> > /tmp/cc8lkCrr.o(.text+0xbe): undefined reference to `QString::shared_null'
> > /tmp/cc8lkCrr.o(.text+0xc9): undefined reference to
> > `QStringData::deleteSelf()' /tmp/cc8lkCrr.o(.text+0xdb): undefined
> > reference to `QIconView::~QIconView()' /tmp/cc8lkCrr.o(.text+0xf2):
> > undefined reference to `QString::shared_null' /tmp/cc8lkCrr.o(.text+0x101):
> > undefined reference to `QString::makeSharedNull()'
> > /tmp/cc8lkCrr.o(.text+0x108): undefined reference to
> > `QString::makeSharedNull()' collect2: ld returned 1 exit status
> > configure: failed program was:
> > #include "confdefs.h"
> > #include <qglobal.h>
> > #include <qapplication.h>
> > #include <qevent.h>
> > #include <qstring.h>
> > #include <qstyle.h>
> > #include <qiconview.h>
> > #if ! (QT_VERSION >= 222)
> > #error 1
> > #endif
> >
> > int main() {
> > QStringList *t = new QStringList();
> > QIconView iv(0);
> > iv.setWordWrapIconText(false);
> > QString s;
> > s.setLatin1("Elvis is alive", 14);
> > int magnolia = QEvent::Speech; /* new in 2.2 beta2 */
> > return 0;
> > }
> >
> > Like i said.. it worked just a week or two ago with Cooker. But now it
> > won't even finish ./configure
> >
> > Any ideas?
> >
> > /MattB
>