Using gcc 2.95.3 on Gentoo 1.2. QT 3.0.5
I'm getting these QTextParag related compile-time errors:
g++ -o MyCC tmp/CAboutBox.o tmp/CAdministrationPanel.o
tmp/CApplicationWindow.o tmp/CConfig.o tmp/CConfigDialog.o
tmp/CConnectionDialog.o tmp/CConsoleWindow.o tmp/CCreditsBox.o
tmp/CDatabaseGroupItem.o tmp/CDatabaseItem.o tmp/CDatabaseTree.o
tmp/CDatabaseTreeItem.o tmp/CFieldEditorWindow.o tmp/CGeneralConfig.o
tmp/CHistoryView.o tmp/CImageEditor.o tmp/CImageFieldEditor.o
tmp/CInfoDialog.o tmp/CListViewProperties.o tmp/CMessageWindow.o
tmp/CMySQLConnection.o tmp/CMySQLQuery.o tmp/CMyWindow.o
tmp/CQueryWindow.o tmp/CServerAdministrationItem.o tmp/CServerItem.o
tmp/CSharedMenus.o tmp/CShowDatabaseGroupProperties.o
tmp/CShowServerProperties.o tmp/CShowTableGroupProperties.o
tmp/CShowTableProperties.o tmp/CSqlTable.o tmp/CTableGroupItem.o
tmp/CTableItem.o tmp/CTableProperties.o tmp/CTableSpecific.o
tmp/CTableTools.o tmp/CTableWindow.o tmp/CTablesListBox.o
tmp/CTextDialog.o tmp/CTextEditor.o tmp/CTextFieldEditor.o
tmp/CToolBar.o tmp/CUserAdminItem.o tmp/CUserAdminWindow.o
tmp/CUserItem.o tmp/Globals.o tmp/Main.o tmp/CSqlEditor.o
tmp/completion.o tmp/editor.o tmp/parenmatcher.o
tmp/syntaxhighliter_sql.o tmp/moc_CAboutBox.o
tmp/moc_CAdministrationPanel.o tmp/moc_CApplicationWindow.o
tmp/moc_CConfigDialog.o tmp/moc_CConnectionDialog.o
tmp/moc_CConsoleWindow.o tmp/moc_CCreditsBox.o
tmp/moc_CDatabaseGroupItem.o tmp/moc_CDatabaseItem.o
tmp/moc_CDatabaseTree.o tmp/moc_CFieldEditorWindow.o
tmp/moc_CGeneralConfig.o tmp/moc_CImageEditor.o
tmp/moc_CImageFieldEditor.o tmp/moc_CInfoDialog.o
tmp/moc_CListViewProperties.o tmp/moc_CMessageWindow.o
tmp/moc_CMySQLConnection.o tmp/moc_CMyWindow.o tmp/moc_CQueryWindow.o
tmp/moc_CServerAdministrationItem.o tmp/moc_CServerItem.o
tmp/moc_CSharedMenus.o tmp/moc_CShowDatabaseGroupProperties.o
tmp/moc_CShowServerProperties.o tmp/moc_CShowTableGroupProperties.o
tmp/moc_CSqlTable.o tmp/moc_CTableGroupItem.o tmp/moc_CTableItem.o
tmp/moc_CTableProperties.o tmp/moc_CTableTools.o tmp/moc_CTableWindow.o
tmp/moc_CTablesListBox.o tmp/moc_CTextDialog.o tmp/moc_CTextEditor.o
tmp/moc_CTextFieldEditor.o tmp/moc_CToolBar.o tmp/moc_CUserAdminItem.o
tmp/moc_CUserAdminWindow.o tmp/moc_CUserItem.o tmp/moc_CSqlEditor.o
tmp/moc_completion.o tmp/moc_editor.o tmp/moc_qrichtext_p.o
-Wl,-rpath,/usr/qt/3/lib -L/usr/qt/3/lib -L/usr/X11R6/lib
/usr/lib/mysql/libmysqlclient.a -lqt-mt -lpthread -lXext -lX11 -lm
tmp/completion.o: In function `EditorCompletion::doCompletion(void)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:217: undefined
reference to `QTextParag::at(int) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:227: undefined
reference to `QTextParag::at(int) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:235: undefined
reference to `QTextParag::at(int) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:235: undefined
reference to `QTextParag::at(int) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:235: undefined
reference to `QTextParag::at(int) const'
tmp/completion.o:/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:235:
more undefined references to `QTextParag::at(int) const' follow
tmp/completion.o: In function `EditorCompletion::doCompletion(void)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:247: undefined
reference to `QTextParag::lineHeightOfChar(int, int *, int *) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:248: undefined
reference to `QTextParag::rect(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:250: undefined
reference to `QTextParag::lineHeightOfChar(int, int *, int *) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:251: undefined
reference to `QTextParag::rect(void) const'
tmp/completion.o: In function `EditorCompletion::eventFilter(QObject *,
QEvent *)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:296: undefined
reference to `QTextParag::string(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:302: undefined
reference to `QTextParag::length(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:305: undefined
reference to `QTextParag::at(int) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:305: undefined
reference to `QTextParag::at(int) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:323: undefined
reference to `QTextParag::style(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:323: undefined
reference to `QTextParag::style(void) const'
tmp/completion.o: In function
`EditorCompletion::showCompletion(QValueList<CompletionEntry> const &)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:396: undefined
reference to `QTextParag::at(int) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:397: undefined
reference to `QTextParag::lineHeightOfChar(int, int *, int *) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:398: undefined
reference to `QTextParag::rect(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:400: undefined
reference to `QTextParag::lineHeightOfChar(int, int *, int *) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:401: undefined
reference to `QTextParag::rect(void) const'
tmp/completion.o: In function `QColor::._32::D32::invalid(void) const':
/usr/qt/3/include/qcolor.h(.QTextCursor::gnu.linkonce.t.setIndex(int,
bool)+0x2d): undefined reference to `QTextParag::length(void) const'
/usr/qt/3/include/qcolor.h(.QTextCursor::gnu.linkonce.t.setIndex(int,
bool)+0x5c): undefined reference to `QTextParag::length(void) const'
/usr/qt/3/include/qcolor.h(.CompletionItem::gnu.linkonce.t.height(QListBox
const *) const+0x2c): undefined reference to `QTextParag::rect(void)
const'
/usr/qt/3/include/qcolor.h(.CompletionItem::gnu.linkonce.t.width(QListBox
const *) const+0x2c): undefined reference to `QTextParag::rect(void)
const'
/usr/qt/3/include/qcolor.h(.CompletionItem::gnu.linkonce.t.setupParag(void)+0xbd):
undefined reference to `QTextParag::QTextParag(QTextDocument *,
QTextParag *, QTextParag *, bool)'
tmp/completion.o: In function `EditorCompletion::EditorCompletion(Editor
*)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:117: undefined
reference to `QTextParag::pseudoDocument(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:123: undefined
reference to `QTextParag::insert(int, QString const &)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:134: undefined
reference to `QTextParag::formatCollection(void) const'
tmp/completion.o: In function
`EditorCompletion::~EditorCompletion(void)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:138: undefined
reference to `QTextParag::formatCollection(void) const'
tmp/completion.o: In function
`EditorCompletion::addCompletionEntry(QString const &, QTextDocument *,
bool)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:150: undefined
reference to `QTextParag::formatCollection(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:160: undefined
reference to `QTextParag::setFormat(int, int, QTextFormat *, bool, int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:164: undefined
reference to `QTextParag::setFormat(int, int, QTextFormat *, bool, int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:166: undefined
reference to `QTextParag::setFormat(int, int, QTextFormat *, bool, int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:166: undefined
reference to `QTextParag::setFormat(int, int, QTextFormat *, bool, int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/completion.cpp:170: undefined
reference to `QTextParag::format(int, bool)'
tmp/editor.o: In function `Editor::setErrorSelection(int)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/editor.cpp:159: undefined
reference to `QTextDocument::setSelectionStart(int, QTextCursor *)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/editor.cpp:161: undefined
reference to `QTextDocument::setSelectionEnd(int, QTextCursor *)'
tmp/editor.o: In function `Editor::setStepSelection(int)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/editor.cpp:175: undefined
reference to `QTextDocument::setSelectionStart(int, QTextCursor *)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/editor.cpp:177: undefined
reference to `QTextDocument::setSelectionEnd(int, QTextCursor *)'
tmp/editor.o: In function `Editor::commentSelection(void)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/editor.cpp:195: undefined
reference to `QTextDocument::selectionStart(int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/editor.cpp:196: undefined
reference to `QTextDocument::selectionEnd(int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/editor.cpp:203: undefined
reference to `QTextParag::insert(int, QString const &)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/editor.cpp:206: undefined
reference to `QTextParag::next(void) const'
tmp/editor.o: In function `Editor::uncommentSelection(void)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/editor.cpp:215: undefined
reference to `QTextDocument::selectionStart(int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/editor.cpp:216: undefined
reference to `QTextDocument::selectionEnd(int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/editor.cpp:223: undefined
reference to `QTextParag::at(int) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/editor.cpp:224: undefined
reference to `QTextParag::remove(int, int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/editor.cpp:227: undefined
reference to `QTextParag::next(void) const'
tmp/parenmatcher.o: In function `ParenMatcher::match(QTextCursor *)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:39: undefined
reference to `QTextParag::at(int) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:46: undefined
reference to `QTextParag::at(int) const'
tmp/parenmatcher.o: In function
`ParenMatcher::checkOpenParen(QTextCursor *)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:58: undefined
reference to `QTextParag::extraData(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:60: undefined
reference to `QTextParag::extraData(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:68: undefined
reference to `QTextParag::at(int) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:87: undefined
reference to `QTextParag::next(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:91: undefined
reference to `QTextParag::extraData(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:91: undefined
reference to `QTextParag::extraData(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:92: undefined
reference to `QTextParag::extraData(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:116:
undefined reference to `QTextDocument::setSelectionStart(int,
QTextCursor *)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:121:
undefined reference to `QTextDocument::setSelectionEnd(int, QTextCursor
*)'
tmp/parenmatcher.o: In function
`ParenMatcher::checkClosedParen(QTextCursor *)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:134:
undefined reference to `QTextParag::extraData(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:136:
undefined reference to `QTextParag::extraData(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:144:
undefined reference to `QTextParag::at(int) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:163:
undefined reference to `QTextParag::prev(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:167:
undefined reference to `QTextParag::extraData(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:167:
undefined reference to `QTextParag::extraData(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:168:
undefined reference to `QTextParag::extraData(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:192:
undefined reference to `QTextDocument::setSelectionStart(int,
QTextCursor *)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/parenmatcher.cpp:197:
undefined reference to `QTextDocument::setSelectionEnd(int, QTextCursor
*)'
tmp/syntaxhighliter_sql.o: In function
`SyntaxHighlighter_SQL::process(QTextDocument *, QTextParag *, int,
bool)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:206:
undefined reference to `QTextParag::prev(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:208:
undefined reference to `QTextParag::prev(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:208:
undefined reference to `QTextParag::endState(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:209:
undefined reference to `QTextParag::prev(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:210:
undefined reference to `QTextParag::prev(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:210:
undefined reference to `QTextParag::endState(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:218:
undefined reference to `QTextParag::extraData(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:231:
undefined reference to `QTextParag::at(int) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:306:
undefined reference to `QTextParag::setFormat(int, int, QTextFormat *,
bool, int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:308:
undefined reference to `QTextParag::setFormat(int, int, QTextFormat *,
bool, int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:314:
undefined reference to `QTextParag::setFormat(int, int, QTextFormat *,
bool, int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:317:
undefined reference to `QTextParag::setFormat(int, int, QTextFormat *,
bool, int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:326:
undefined reference to `QTextParag::setFormat(int, int, QTextFormat *,
bool, int)'
tmp/syntaxhighliter_sql.o:/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:334:
more undefined references to `QTextParag::setFormat(int, int,
QTextFormat *, bool, int)' follow
tmp/syntaxhighliter_sql.o: In function
`SyntaxHighlighter_SQL::process(QTextDocument *, QTextParag *, int,
bool)':
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:457:
undefined reference to `QTextParag::length(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:461:
undefined reference to `QTextParag::setExtraData(QTextParagData *)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:464:
undefined reference to `QTextParag::setEndState(int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:467:
undefined reference to `QTextParag::setEndState(int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:470:
undefined reference to `QTextParag::setEndState(int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:472:
undefined reference to `QTextParag::setEndState(int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:474:
undefined reference to `QTextParag::setFirstPreProcess(bool)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:476:
undefined reference to `QTextParag::next(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:476:
undefined reference to `QTextParag::next(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:476:
undefined reference to `QTextParag::firstPreProcess(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:476:
undefined reference to `QTextParag::next(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:476:
undefined reference to `QTextParag::endState(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:478:
undefined reference to `QTextParag::next(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:481:
undefined reference to `QTextParag::endState(void) const'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:483:
undefined reference to `QTextParag::setEndState(int)'
/home/nurey/mycc-0.8.4-src/src/CSqlEditor/syntaxhighliter_sql.cpp:484:
undefined reference to `QTextParag::next(void) const'
tmp/syntaxhighliter_sql.o: In function `QValueList<Paren>::end(void)':
/usr/qt/3/include/qvaluelist.h(.ParagData::gnu.linkonce.t.(void)+0xf):
undefined reference to `QTextParagData::QTextParagData(void)'
/usr/qt/3/include/qvaluelist.h(.ParagData::gnu.linkonce.t.(void)+0x87):
undefined reference to `QTextParagData::~QTextParagData(void)'
/usr/qt/3/include/qvaluelist.h(.gnu.linkonce.t.__tf9ParagData+0x10):
undefined reference to `QTextParagData type_info function'
/usr/qt/3/include/qvaluelist.h(.gnu.linkonce.t.__tf9ParagData+0x1a):
undefined reference to `QTextParagData type_info node'
/usr/qt/3/include/qvaluelist.h(.gnu.linkonce.t._._9ParagData+0x2b):
undefined reference to `QTextParagData::~QTextParagData(void)'
tmp/moc_qrichtext_p.o: In function `QTextDocument::tr(char const *, char
const *)':
/home/nurey/mycc-0.8.4-src/moc/moc_qrichtext_p.cpp:36: undefined
reference to `QTextDocument::createParag(QTextDocument *, QTextParag *,
QTextParag *, bool)'
collect2: ld returned 1 exit status
make: *** [MyCC] Error 1
| Thread |
|---|
| • compile error | Ilia Lobsanov | 18 Oct |