[kde-solaris] Re: arts-3.1.2 compile on sparc-sun-solaris 2.6
Jan Van Belle
Jan.Van_Belle at alcatel.be
Mon Jun 23 08:51:34 CEST 2003
Bob Meader wrote:
>
> The routines res and res_init are part of the
> bind (named library). Try downloading,build and install
> the library portion bind 8.x .
>
> -----Original Message-----
> From: kde-solaris-bounces-+bob=cci.net at mail.kde.org
> [mailto:kde-solaris-bounces-+bob=cci.net at mail.kde.org]On Behalf Of Jan
> Van Belle
> Sent: Thursday, June 19, 2003 10:47 PM
> To: kde-solaris at kde.org
> Subject: [kde-solaris] Re: arts-3.1.2 compile on sparc-sun-solaris 2.6
>
> Hello,
>
> When I dumped my config.log, I found out the following:
>
> configure:24626: checking for Qt
> configure: 24697: $HOME/opt/qt-3.1/include/qstyle.h
> taking that
> configure:24854: rm -rf SunWS_cache; g++ -o conftest
> -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
> -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
> -DNDEBUG -DNO_DEBUG -O2 -fno-exc
> eptions -fno-check-new -I$HOME/opt/qt-3.1/include
> -DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -DUSE_SOLARIS -DSVR4 -L$HOME/opt/qt-3.1/lib
> -L$HOME/opt/graphics/lib -L$HOME/opt/tools/lib conftest.cc
> -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE
> -lsocket -lnsl -lpthread 1>&5
>
> $HOME/opt/qt-3.1/lib/libqt-mt.so: undefined reference to
> `res_init at SUNW_2.1'
> $HOME/opt/qt-3.1/lib/libqt-mt.so: undefined reference to
> `_res at SUNW_2.1'
>
> collect2: ld returned 1 exit status
> configure:24854: $? = 1
> configure: failed program was:
> #include "confdefs.h"
> #include <qglobal.h>
> #include <qapplication.h>
> #include <qcursor.h>
> #include <qstylefactory.h>
> #include <private/qucomextra_p.h>
> #if ! (QT_VERSION >= 0x030100)
> #error 1
> #endif
>
> int main() {
> (void)QStyleFactory::create(QString::null);
> QCursor c(Qt::WhatsThisCursor);
> return 0;
> }
> configure:24854: error: Qt (>= Qt 3.1.0) (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!
>
> Can someone tell me what this 'undefined reference' in fact
> means?? Is it impossible to build KDE3.1 on a solaris 2.6
> machine ??
>
> Kind regards,
>
> Jan
Hello,
Thanks for the response. However, I already found out during
an extensize 'lib-search' ;-) and 'objdump libqt-mt.so.3.1.2
| grep SUNW_2.1'
I just had to include the needed directories with the
LD_LIBRARY_PATH and LD_RUN_PATH . But I've
never needed it so far. (I am now running Windowmaker
CVS-version, own compilation).
Anyway, once that was solved the configure itself succeeded,
but then at compile-time I got
problems with the headerfiles installed by the 'new'
gcc-3.2.3 .
To conclude: I just gave up. The only interesting thing
about KDE at work was KDevelop, which seems to be
much more mature as the last version I tried (1.4).
So I think I'll just take the source at home and compile my
KDE on my desktop and laptop, giving much less problems.
Kind regards,
Jan
More information about the kde-solaris
mailing list