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

Jan Van Belle Jan.Van_Belle at alcatel.be
Fri Jun 20 08:47:15 CEST 2003


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



More information about the kde-solaris mailing list