knode doesn't link on os x.

Orville Bennett illogical1 at gmail.com
Sat Jan 31 13:18:13 CET 2009


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?

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 && /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 -lpthread -framework Carbon /opt/local/lib/ 
libmailtransport.4.2.0.dylib ../lib/libkpgp.4.2.0.dylib /opt/local/lib/ 
libkde3support.4.2.0.dylib /opt/local/lib/libkparts.4.2.0.dylib /opt/ 
local/lib/libkpty.4.2.0.dylib /opt/local/lib/libkfile.4.2.0.dylib /opt/ 
local/lib/libkio.5.2.0.dylib /opt/local/lib/libsolid.4.2.0.dylib /opt/ 
local/lib/libkdeui.5.2.0.dylib
Undefined symbols:
   "QWidget::showEvent(QShowEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::mousePressEvent(QMouseEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::actionEvent(QActionEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "Q3PtrCollection::newItem(void*)", referenced from:
       vtable for Q3GListin knode.o
   "QWidget::enabledChange(bool)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::focusNextPrevChild(bool)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::focusInEvent(QFocusEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::paintEngine() const", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QApplication::isSessionRestored() const", referenced from:
       KNApplication::newInstance()       in knapplication.o
   "QStatusBar::addWidget(QWidget*, int)", referenced from:
       KNMainWindow::setupStatusBar()       in knode.o
       KNMainWindow::setupStatusBar()       in knode.o
       KNMainWindow::setupStatusBar()       in knode.o
   "QMainWindow::setCentralWidget(QWidget*)", referenced from:
       KNMainWindow::KNMainWindow(QWidget*)in knode.o
       KNMainWindow::KNMainWindow(QWidget*)in knode.o
   "QWidget::paintEvent(QPaintEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::focusOutEvent(QFocusEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::styleChange(QStyle&)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::setVisible(bool)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::languageChange()", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QMainWindow::contextMenuEvent(QContextMenuEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::windowActivationChange(bool)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::leaveEvent(QEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::keyReleaseEvent(QKeyEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "Q3GList::~Q3GList()", referenced from:
       vtable for Q3GListin knode.o
   "QWidget::paletteChange(QPalette const&)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::metric(QPaintDevice::PaintDeviceMetric) const",  
referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::inputMethodEvent(QInputMethodEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::macEvent(OpaqueEventHandlerCallRef*, OpaqueEventRef*)",  
referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "Q3GList::~Q3GList()", referenced from:
       vtable for Q3GListin knode.o
   "QApplication::exec()", referenced from:
       _main in main.o
   "QWidget::heightForWidth(int) const", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::mouseDoubleClickEvent(QMouseEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "non-virtual thunk to QWidget::paintEngine() const", referenced from:
       vtable for KNMainWindowin knode.o
   "QApplication::compressEvent(QEvent*, QObject*, QPostEventList*)",  
referenced from:
       vtable for KNApplicationin knapplication.o
       vtable for KPIM::PimApplicationin knapplication.o
       vtable for KPIM::PimApplicationin main.o
   "QWidget::resizeEvent(QResizeEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QApplication::macEventFilter(OpaqueEventHandlerCallRef*,  
OpaqueEventRef*)", referenced from:
       vtable for KNApplicationin knapplication.o
       vtable for KPIM::PimApplicationin knapplication.o
       vtable for KPIM::PimApplicationin main.o
   "QWidget::wheelEvent(QWheelEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::tabletEvent(QTabletEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "non-virtual thunk to  
QWidget::metric(QPaintDevice::PaintDeviceMetric) const", referenced  
from:
       vtable for KNMainWindowin knode.o
   "QWidget::mouseMoveEvent(QMouseEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "typeinfo for Q3PtrCollection", referenced from:
       typeinfo for Q3GListin knode.o
   "QApplication::setMainWidget(QWidget*)", referenced from:
       KNApplication::newInstance()       in knapplication.o
       KNApplication::newInstance()       in knapplication.o
   "QWidget::dragMoveEvent(QDragMoveEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::dragEnterEvent(QDragEnterEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::devType() const", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "non-virtual thunk to QWidget::devType() const", referenced from:
       vtable for KNMainWindowin knode.o
   "QWidget::mouseReleaseEvent(QMouseEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::inputMethodQuery(Qt::InputMethodQuery) const", referenced  
from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::sizeHint() const", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "Q3GList::read(QDataStream&, void*&)", referenced from:
       vtable for Q3GListin knode.o
   "Q3GList::compareItems(void*, void*)", referenced from:
       vtable for Q3GListin knode.o
   "Q3GList::write(QDataStream&, void*) const", referenced from:
       vtable for Q3GListin knode.o
   "Q3GList::clear()", referenced from:
       vtable for Q3GListin knode.o
   "QWidget::dropEvent(QDropEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::moveEvent(QMoveEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QDialog::exec()", referenced from:
       KNMainWindow::slotConfToolbar()       in knode.o
       KNApplication::newInstance()       in knapplication.o
   "QWidget::keyPressEvent(QKeyEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QApplication::event(QEvent*)", referenced from:
       vtable for KNApplicationin knapplication.o
       vtable for KPIM::PimApplicationin knapplication.o
       vtable for KPIM::PimApplicationin main.o
   "QWidget::enterEvent(QEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::hideEvent(QHideEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::fontChange(QFont const&)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QApplication::mainWidget()", referenced from:
       KNApplication::newInstance()       in knapplication.o
       KNApplication::newInstance()       in knapplication.o
       KNApplication::newInstance()       in knapplication.o
   "QWidget::minimumSizeHint() const", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QStatusBar::addPermanentWidget(QWidget*, int)", referenced from:
       KNMainWindow::setupStatusBar()       in knode.o
   "QWidget::dragLeaveEvent(QDragLeaveEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QWidget::changeEvent(QEvent*)", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
   "QMainWindow::createPopupMenu()", referenced from:
       vtable for KNMainWindowin knode.o
       construction vtable for KXmlGuiWindow-in-KNMainWindowin knode.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [knode/knode.app/Contents/MacOS/knode] Error 1
make[1]: *** [knode/CMakeFiles/knode.dir/all] Error 2
make: *** [all] Error 2



More information about the Kde-buildsystem mailing list