[kde-solaris] QT 3.3.1 & KDE 3.2.3 Compiling Problem

adsouza at globix.net adsouza at globix.net
Thu Jun 17 14:42:33 CEST 2004


Thanks for your reply.  Oddly enough, I dont have a libqt-mt.so.xxx
file, even those I compiled qt with both -shared -static options, it
*should* have it, let me recompile without the -static option and hope I
get the shared objects...

Then I will try adding the below to my FLAGS :)


On Wed, 16 Jun 2004, Stefan Teleman wrote:

> What are your $CFLAGS, $CXXFLAGS and $LDFLAGS ?
>
> You should have " -mt -D_REENTRANT" to $CFLAGS and $CXXFLAGS.
> Try adding " -mt -lpthread -lposix4 -lrt" to your LDFLAGS environment
> variable before running ./configure.
>
> Also it is better if you linked against libqt-mt.so.* (shared) and not
> libqt-mt.a.
>
> --Stefan
>
> ----
>
> On Wednesday 16 June 2004 22:01, adsouza at globix.net wrote:
>
> > 	checking for Qt... configure: error: Qt (>= Qt 3.2) (library
> > qt-mt) not found. Please check your installation!
> > 	For more details about this problem, look at the end of
> > config.log. Make sure that you have compiled Qt with thread
> > support!
>
> [ ... snip ... ]
>
> > configure:31443: rm -rf SunWS_cache; g++ -o conftest
> > -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-
> > /usr/local/qt/lib/libqt-mt.a(qthread_unix.o)(.text+0x5cc): In
> > function
> >
> > `QThread::start(QThread::Priority)':
> > : undefined reference to `sched_get_priority_min'
> >
> > /usr/local/qt/lib/libqt-mt.a(qthread_unix.o)(.text+0x5d8): In
> > function
> >
> > `QThread::start(QThread::Priority)':
> > : undefined reference to `sched_get_priority_max'
> >
> > collect2: ld returned 1 exit status
> > configure:31446: $? = 1
>
>
> --
> Stefan Teleman          'Nobody Expects the Spanish Inquisition'
> steleman at nyc.rr.com                          -Monty Python
>
>



More information about the kde-solaris mailing list