[Kde-pim] knode doesn't link on os x.

Orville Bennett illogical1 at gmail.com
Sun Feb 1 21:22:17 CET 2009


On Feb 1, 2009, at 12:00 PM, Ingo Klöcker wrote:

> On Saturday 31 January 2009, Orville Bennett wrote:
>> A similar problems exists for kleopatra, libkleopatraclient, knode
>> and kmail (i stopped trying after kmail). Would this have something
>> to do with the reduced link interface?
>
> Which branch?
kdepim/enterprise4 I get the same error w/ kleopatra.
Linking CXX executable kleopatra.app/Contents/MacOS/kleopatra
cd /opt/local/var/macports/build/_Users_orville_Source_macports- 
trunk_dports_kde_kdepim4/work/build/kleopatra && /opt/local/bin/cmake - 
E cmake_link_script CMakeFiles/kleopatra_bin.dir/link.txt --verbose=1
/usr/bin/g++-4.2 -bunchaoptions -bunchalibs -bunchaobjectfiles
Undefined symbols:
   "QTcpServer::setSocketDescriptor(int)", referenced from:
       Kleo::UiServer::Private::doMakeListeningSocket(QByteArray  
const&)in uiserver_unix.o
   "QTcpServer::staticMetaObject", referenced from:
       Kleo::UiServer::Private::staticMetaObject     in uiserver.o
   "typeinfo for QTcpServer", referenced from:
       typeinfo for Kleo::UiServer::Privatein uiserver.o
   "QAbstractSocket::setSocketDescriptor(int,  
QAbstractSocket::SocketState, QFlags<QIODevice::OpenModeFlag>)",  
referenced from:
       Kleo::UiServer::Private::incomingConnection(int) in uiserver.o
       Kleo::UiServer::Private::incomingConnection(int) in uiserver.o
   "QTcpServer::qt_metacast(char const*)", referenced from:
       Kleo::UiServer::Private::qt_metacast(char const*)in uiserver.o
   "QTcpServer::~QTcpServer()", referenced from:
       Kleo::UiServer::Private::Private(Kleo::UiServer*)in uiserver.o
       Kleo::UiServer::Private::~Private()in uiserver.o
       Kleo::UiServer::Private::~Private()in uiserver.o
       Kleo::UiServer::Private::~Private()in uiserver.o
       Kleo::UiServer::Private::~Private()in uiserver.o
   "QTcpServer::errorString() const", referenced from:
       Kleo::UiServer::Private::doMakeListeningSocket(QByteArray  
const&)in uiserver_unix.o
   "QTcpServer::close()", referenced from:
       Kleo::UiServer::stop()    in uiserver.o
   "QTcpServer::QTcpServer(QObject*)", referenced from:
       Kleo::UiServer::Private::Private(Kleo::UiServer*)in uiserver.o
   "QTcpServer::nextPendingConnection()", referenced from:
       vtable for Kleo::UiServer::Privatein uiserver.o
   "QAbstractSocket::waitForBytesWritten(int)", referenced from:
       Kleo::UiServer::Private::incomingConnection(int) in uiserver.o
       Kleo::UiServer::Private::incomingConnection(int) in uiserver.o
   "QAbstractSocket::close()", referenced from:
       Kleo::UiServer::Private::incomingConnection(int) in uiserver.o
       Kleo::UiServer::Private::incomingConnection(int) in uiserver.o
   "QTcpServer::isListening() const", referenced from:
       Kleo::UiServer::isStopped() constin uiserver.o
       Kleo::UiServer::isStopping() constin uiserver.o
   "QTcpServer::qt_metacall(QMetaObject::Call, int, void**)",  
referenced from:
       Kleo::UiServer::Private::qt_metacall(QMetaObject::Call, int,  
void**)in uiserver.o
   "QTcpSocket::QTcpSocket(QObject*)", referenced from:
       Kleo::UiServer::Private::incomingConnection(int) in uiserver.o
       Kleo::UiServer::Private::incomingConnection(int) in uiserver.o
   "QTcpSocket::~QTcpSocket()", referenced from:
       Kleo::UiServer::Private::incomingConnection(int) in uiserver.o
       Kleo::UiServer::Private::incomingConnection(int) in uiserver.o
       Kleo::UiServer::Private::incomingConnection(int) in uiserver.o
   "QTcpServer::hasPendingConnections() const", referenced from:
       vtable for Kleo::UiServer::Privatein uiserver.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [kleopatra/kleopatra.app/Contents/MacOS/kleopatra] Error 1
make[1]: *** [kleopatra/CMakeFiles/kleopatra_bin.dir/all] Error 2
make: *** [all] Error 2

>
>
>
>> Linking CXX executable knode.app/Contents/MacOS/knode
>> cd /opt/local/var/macports/build/_Users_orville_Source_macports-
>> trunk_dports_kde_kdepim4-enterprise/work/build/knode &&
>
> Apparently you are trying to build knode from the kdepim4-enterprise
> branch. What version of kdelibs are you using?
4.2.0

>
>
>
>> /opt/local/bin/ cmake -E cmake_link_script
>> CMakeFiles/knode.dir/link.txt --verbose=1 /usr/bin/g++-4.2   -O2
>> -fno-common -Woverloaded-virtual -
>> fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -
>> DQT_NO_DEBUG -Wl,-search_paths_first -headerpad_max_install_names -
>> fPIC -L/opt/local/lib CMakeFiles/knode.dir/knode_automoc.o
>> CMakeFiles/ knode.dir/knode.o CMakeFiles/knode.dir/knapplication.o
>> CMakeFiles/ knode.dir/main.o  -o knode.app/Contents/MacOS/knode
>> -L/opt/local/lib -
>> L/opt/local/var/macports/build/_Users_orville_Source_macports-
>> trunk_dports_kde_kdepim4-enterprise/work/build/lib /opt/local/lib/
>> libkdecore.5.2.0.dylib ../lib/libkdepim.4.2.0.dylib ../lib/
>> libknodecommon.4.2.0.dylib ../lib/libkdepim.4.2.0.dylib -lkdeui /opt/
>> local/lib/libkresources.4.2.0.dylib /opt/local/lib/libkcal.
>> 4.2.0.dylib /opt/local/lib/libkpimidentities.4.2.0.dylib -lkutils -
>> lkio -lkde3support /opt/local/lib/libkabc.4.2.0.dylib /opt/local/lib/
>> libkldap.4.2.0.dylib /opt/local/lib/libkpimutils.4.2.0.dylib /opt/
>> local/lib/libkmime.4.2.0.dylib /opt/local/lib/libkutils.4.2.0.dylib /
>> opt/local/lib/libkhtml.5.2.0.dylib /opt/local/lib/libktexteditor.
>> 4.2.0.dylib /opt/local/lib/libkdecore.5.2.0.dylib
>> -F/opt/local/libexec/ qt4-mac/lib -framework QtDBus
>> -F/opt/local/libexec/qt4-mac/lib - framework QtCore
>
> At least, QtGui and Qt3Support (?) are missing.
Could be a copy paste error on my part. Had to scroll up and down  
screen's backlog to get this.
> [snip]



More information about the Kde-buildsystem mailing list