[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: QT not found problem



On Wed, 2004-03-24 at 09:16, Brian Nelson wrote:
> Simon Cahuk <simon.cahuk@uni-mb.si> writes:
> 
> > On Tue, 2004-03-23 at 05:57, Brian Nelson wrote:
> >> Simon Cahuk <simon.cahuk@uni-mb.si> writes:
> >> 
> >> > config.log:
> >> >
> >> > tmp/cc6m0aWH.o(.text+0xb): In function `main':
> >> > : undefined reference to `QString::null'
> >> [...]
> >> 
> >> Uh, you left out the important part of the log--the command used to
> >> attempt to compile the test program.
> >
> > Oops, here is the whole log (for QT):
> >
> > configure:24369: checking for Qt
> > configure: 24437: /usr/share/qt3/include/qstyle.h
> > taking that
> > configure:24546: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor
> > -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
> > -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
> > -Wconversion -Wchar-subscripts -O2 -fno-exceptions -fno-check-new
> > -fno-common -I/usr/share/qt3/include -I/usr/X11R6/include 
> > -DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/share/qt3/lib
> > -L/usr/X11R6/lib   conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl 
> > -lXext -lX11 -lSM -lICE  -lpthread 1>&5
> 
> Well that looks fine.  All I can think of is that your g++ is not
> compatible with the ABI of the Qt libraries.  Maybe you changed the
> /usr/bin/g++ symlink to point to g++-2.95?  Or maybe its picking up old,
> locally installed libraries in your LD_LIBRARY_PATH?
> 

Ok, g++ was the problem. I didn't upgrade to g++ 3.3.3, I used still g++
2.95.4. ./configure works now. 

Thank you very much!

Simon
> -- 
> You win again, gravity!
> 



Reply to: