[kde-solaris] Re: arts-3.1.2 compile on sparc-sun-solaris 2.6

Bob Meader bob at cci.net
Fri Jun 20 15:44:41 CEST 2003

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


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  
-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

int main() {
    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
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,


This message is from the kde-solaris mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

More information about the kde-solaris mailing list