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

Stefan Teleman steleman at nyc.rr.com
Thu Jun 17 04:10:23 CEST 2004


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