Skip to content

compile/linker error on Debian Trixie #81

Description

@craigerl

during final link....

/usr/bin/ld: imageviewer.o: in function imageViewer::openImage(QString&, QString, bool, bool, bool, bool, bool)': imageviewer.cpp:(.text+0x4880): undefined reference to editorScene::editorScene(QGraphicsView*)'
/usr/bin/ld: imageviewer.cpp:(.text+0x4a44): undefined reference to editorScene::~editorScene()' /usr/bin/ld: imageviewer.cpp:(.text+0x5184): undefined reference to editorScene::load(QFile&)'
/usr/bin/ld: imageviewer.cpp:(.text+0x519c): undefined reference to editorScene::renderImage(int, int)' /usr/bin/ld: imageviewer.cpp:(.text+0x5704): undefined reference to editorScene::~editorScene()'
/usr/bin/ld: imageviewer.o: in function imageViewer::applyTemplate()': imageviewer.cpp:(.text+0x655c): undefined reference to editorScene::editorScene(QGraphicsView*)'
/usr/bin/ld: imageviewer.cpp:(.text+0x6a48): undefined reference to editorScene::~editorScene()' /usr/bin/ld: imageviewer.cpp:(.text+0x6ae0): undefined reference to editorScene::load(QFile&)'
/usr/bin/ld: imageviewer.cpp:(.text+0x6b0c): undefined reference to editorScene::addConversion(QChar, QString, bool)' /usr/bin/ld: imageviewer.cpp:(.text+0x6b74): undefined reference to editorScene::addConversion(QChar, QString, bool)'
/usr/bin/ld: imageviewer.cpp:(.text+0x6bdc): undefined reference to editorScene::addConversion(QChar, QString, bool)' /usr/bin/ld: imageviewer.cpp:(.text+0x6c78): undefined reference to editorScene::addConversion(QChar, QString, bool)'
/usr/bin/ld: imageviewer.cpp:(.text+0x6d50): undefined reference to editorScene::addConversion(QChar, QString, bool)' /usr/bin/ld: imageviewer.o:imageviewer.cpp:(.text+0x6e0c): more undefined references to editorScene::addConversion(QChar, QString, bool)' follow
/usr/bin/ld: imageviewer.o: in function imageViewer::applyTemplate()': imageviewer.cpp:(.text+0x7308): undefined reference to editorScene::overlay(QImage*)'
/usr/bin/ld: imageviewer.cpp:(.text+0x74a0): undefined reference to editorScene::overlay(QImage*)' /usr/bin/ld: imageviewer.cpp:(.text+0x7930): undefined reference to editorScene::~editorScene()'
/usr/bin/ld: editorview.o: in function editorView::slotRectangle()': editorview.cpp:(.text+0x264): undefined reference to editorScene::setMode(editorScene::eMode)'
/usr/bin/ld: editorview.cpp:(.text+0x270): undefined reference to editorScene::setItemType(graphItemBase::egraphType)' /usr/bin/ld: editorview.o: in function editorView::slotCircle()':
editorview.cpp:(.text+0x294): undefined reference to editorScene::setMode(editorScene::eMode)' /usr/bin/ld: editorview.cpp:(.text+0x2a0): undefined reference to editorScene::setItemType(graphItemBase::egraphType)'
/usr/bin/ld: editorview.o: in function editorView::slotLine()': editorview.cpp:(.text+0x3b0): undefined reference to editorScene::setMode(editorScene::eMode)'
/usr/bin/ld: editorview.cpp:(.text+0x3bc): undefined reference to editorScene::setItemType(graphItemBase::egraphType)' /usr/bin/ld: editorview.o: in function editorView::slotImage()':
editorview.cpp:(.text+0x560): undefined reference to editorScene::setMode(editorScene::eMode)' /usr/bin/ld: editorview.cpp:(.text+0x56c): undefined reference to editorScene::setItemType(graphItemBase::egraphType)'
/usr/bin/ld: editorview.o: in function editorView::slotReplay()': editorview.cpp:(.text+0x6a4): undefined reference to editorScene::setMode(editorScene::eMode)'
/usr/bin/ld: editorview.cpp:(.text+0x6b0): undefined reference to editorScene::setItemType(graphItemBase::egraphType)' /usr/bin/ld: editorview.o: in function editorView::slotFontChanged(QFont const&)':
editorview.cpp:(.text+0x758): undefined reference to editorScene::apply(QFlags<editorScene::doChange>)' /usr/bin/ld: editorview.o: in function editorView::slotFontSizeChanged(int)':
editorview.cpp:(.text+0x784): undefined reference to editorScene::apply(QFlags<editorScene::doChange>)' /usr/bin/ld: editorview.o: in function editorView::slotPenWidthChanged(double)':
editorview.cpp:(.text+0x7a8): undefined reference to editorScene::apply(QFlags<editorScene::doChange>)' /usr/bin/ld: editorview.o: in function editorView::slotBold(bool)':
editorview.cpp:(.text+0x7e0): undefined reference to editorScene::apply(QFlags<editorScene::doChange>)' /usr/bin/ld: editorview.o: in function editorView::slotItalic(bool)':
editorview.cpp:(.text+0x80c): undefined reference to editorScene::apply(QFlags<editorScene::doChange>)' /usr/bin/ld: editorview.o:editorview.cpp:(.text+0x838): more undefined references to editorScene::apply(QFlagseditorScene::doChange)' follow
/usr/bin/ld: editorview.o: in function editorView::setImage(QImage*)': editorview.cpp:(.text+0x858): undefined reference to editorScene::setMode(editorScene::eMode)'
/usr/bin/ld: editorview.cpp:(.text+0x864): undefined reference to editorScene::setItemType(graphItemBase::egraphType)' /usr/bin/ld: editorview.o: in function editorView::slotClearAll()':
editorview.cpp:(.text+0x87c): undefined reference to editorScene::clearAll()' /usr/bin/ld: editorview.o: in function editorView::slotButtonTriggered()':
editorview.cpp:(.text+0x8e4): undefined reference to editorScene::apply(QFlags<editorScene::doChange>)' /usr/bin/ld: editorview.cpp:(.text+0x900): undefined reference to editorScene::apply(QFlagseditorScene::doChange)'
/usr/bin/ld: editorview.cpp:(.text+0x91c): undefined reference to editorScene::apply(QFlags<editorScene::doChange>)' /usr/bin/ld: editorview.o: in function editorView::save(QFile&, bool)':
editorview.cpp:(.text+0x944): undefined reference to editorScene::save(QFile&, bool)' /usr/bin/ld: editorview.o: in function editorView::setTransform()':
editorview.cpp:(.text+0x9a8): undefined reference to editorScene::apply(QFlags<editorScene::doChange>)' /usr/bin/ld: editorview.o: in function editorView::changeCanvasSize()':
editorview.cpp:(.text+0x9f0): undefined reference to editorScene::addBorder(int, int)' /usr/bin/ld: editorview.o: in function editorView::open(QFile&)':
editorview.cpp:(.text+0xa44): undefined reference to editorScene::load(QFile&)' /usr/bin/ld: editorview.o: in function editorView::editorView(QWidget*)':
editorview.cpp:(.text+0x2598): undefined reference to editorScene::editorScene(QGraphicsView*)' /usr/bin/ld: editorview.cpp:(.text+0x25b4): undefined reference to editorScene::setMode(editorScene::eMode)'
/usr/bin/ld: editorview.cpp:(.text+0x25c0): undefined reference to editorScene::setItemType(graphItemBase::egraphType)' /usr/bin/ld: editorview.o: in function editorView::slotText()':
editorview.cpp:(.text+0x3aa8): undefined reference to editorScene::setMode(editorScene::eMode)' /usr/bin/ld: editorview.cpp:(.text+0x3ab4): undefined reference to editorScene::setItemType(graphItemBase::egraphType)'
/usr/bin/ld: editorview.cpp:(.text+0x3b7c): undefined reference to editorScene::apply(QFlags<editorScene::doChange>)' /usr/bin/ld: editorview.cpp:(.text+0x3bb0): undefined reference to editorScene::apply(QFlagseditorScene::doChange)'
/usr/bin/ld: moc_editorscene.o: in function editorScene::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': moc_editorscene.cpp:(.text+0x1f0): undefined reference to editorScene::setMode(editorScene::eMode)'
/usr/bin/ld: moc_editorscene.cpp:(.text+0x1f4): undefined reference to editorScene::slotDeleteItem()' /usr/bin/ld: moc_editorscene.cpp:(.text+0x20c): undefined reference to editorScene::slotSendToBack()'
/usr/bin/ld: moc_editorscene.cpp:(.text+0x210): undefined reference to editorScene::slotBringToFront()' /usr/bin/ld: moc_editorscene.cpp:(.text+0x214): undefined reference to editorScene::slotUnlock()'
/usr/bin/ld: moc_editorscene.cpp:(.text+0x218): undefined reference to editorScene::slotLock()' /usr/bin/ld: moc_editorscene.cpp:(.text+0x224): undefined reference to editorScene::slotExpand()'
/usr/bin/ld: moc_editorscene.cpp:(.text+0x228): undefined reference to editorScene::slotPaste()' /usr/bin/ld: moc_editorscene.cpp:(.text+0x22c): undefined reference to editorScene::slotCopy()'
/usr/bin/ld: moc_editorscene.cpp:(.text+0x238): undefined reference to editorScene::setItemType(graphItemBase::egraphType)' /usr/bin/ld: moc_editorscene.cpp:(.text+0x23c): undefined reference to editorScene::slotChangeText()'
/usr/bin/ld: moc_editorscene.cpp:(.text+0x240): undefined reference to editorScene::slotSendForward()' /usr/bin/ld: moc_editorscene.cpp:(.text+0x244): undefined reference to editorScene::slotSendBackward()'
/usr/bin/ld: moc_editorscene.o: in function editorScene::qt_metacall(QMetaObject::Call, int, void**)': moc_editorscene.cpp:(.text+0x33c): undefined reference to editorScene::slotChangeText()'
/usr/bin/ld: moc_editorscene.cpp:(.text+0x348): undefined reference to editorScene::slotSendForward()' /usr/bin/ld: moc_editorscene.cpp:(.text+0x354): undefined reference to editorScene::slotSendBackward()'
/usr/bin/ld: moc_editorscene.cpp:(.text+0x360): undefined reference to editorScene::slotSendToBack()' /usr/bin/ld: moc_editorscene.cpp:(.text+0x36c): undefined reference to editorScene::slotBringToFront()'
/usr/bin/ld: moc_editorscene.cpp:(.text+0x378): undefined reference to editorScene::slotUnlock()' /usr/bin/ld: moc_editorscene.cpp:(.text+0x384): undefined reference to editorScene::slotLock()'
/usr/bin/ld: moc_editorscene.cpp:(.text+0x390): undefined reference to editorScene::slotDeleteItem()' /usr/bin/ld: moc_editorscene.cpp:(.text+0x39c): undefined reference to editorScene::slotExpand()'
/usr/bin/ld: moc_editorscene.cpp:(.text+0x3a8): undefined reference to editorScene::slotPaste()' /usr/bin/ld: moc_editorscene.cpp:(.text+0x3b4): undefined reference to editorScene::slotCopy()'
/usr/bin/ld: moc_editorscene.cpp:(.text+0x3c8): undefined reference to editorScene::setItemType(graphItemBase::egraphType)' /usr/bin/ld: moc_editorscene.cpp:(.text+0x3dc): undefined reference to editorScene::setMode(editorScene::eMode)'
/usr/bin/ld: moc_editorscene.o:(.data.rel.ro+0x20): undefined reference to editorScene::~editorScene()' /usr/bin/ld: moc_editorscene.o:(.data.rel.ro+0x24): undefined reference to editorScene::~editorScene()'
/usr/bin/ld: moc_editorscene.o:(.data.rel.ro+0x70): undefined reference to editorScene::mousePressEvent(QGraphicsSceneMouseEvent*)' /usr/bin/ld: moc_editorscene.o:(.data.rel.ro+0x74): undefined reference to editorScene::mouseMoveEvent(QGraphicsSceneMouseEvent*)'
/usr/bin/ld: moc_editorscene.o:(.data.rel.ro+0x78): undefined reference to `editorScene::mouseReleaseEvent(QGraphicsSceneMouseEvent*)'
collect2: error: ld returned 1 exit status
make: *** [Makefile:982: qsstv] Error 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions