You are not logged in.

#1 2009-05-06 21:12:17

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Kompile Make Error

I know this is a pretty old program but I just found it again over at Kde-apps.org but Im getting make errors when I try and build it, someone had a pkgbuild for the previous version in the AUR but that didnt work either. If someone could tell me whats wrong that would be great, if not oh well its not a necessary program its just flashy and useful.

Good - your configure finished. Start make now

Making all in doc
Making all in .
Making all in en
Making all in po
Making all in src
In file included from main.cpp:33:
kompileprofiledialog.h:23:25: error: kdialogbase.h: No such file or directory
In file included from main.cpp:31:
/opt/qt/include/qtooltip.h:56: error: function definition does not declare parameters
/opt/qt/include/qtooltip.h:91: error: function definition does not declare parameters
In file included from kompileprofilewidget.h:23,
                 from kompileprofiledialog.h:25,
                 from main.cpp:33:
kompileprofilewidgetbase.h:37: error: 'WFlags' has not been declared
In file included from main.cpp:33:
kompileprofiledialog.h:27: error: expected class-name before '{' token
kompileprofiledialog.h:27: warning: 'class KompileProfileDialog' has virtual functions and accessible non-virtual destructor
In file included from kompileprofileselectionwidget.h:23,
                 from main.cpp:34:
kompileprofileselectionwidgetbase.h:27: error: 'WFlags' has not been declared
In file included from kompilewidget.h:29,
                 from main.cpp:35:
/opt/qt/include/qtimer.h:49: error: function definition does not declare parameters
/opt/qt/include/qtimer.h:85: error: invalid use of incomplete type 'struct QTimer'
/usr/include/QtGui/qwindowdefs.h:82: error: forward declaration of 'struct QTimer'
In file included from kompilewidget.h:32,
                 from main.cpp:35:
kompilewidgetbase.h:35: error: 'WFlags' has not been declared
In file included from main.cpp:35:
kompilewidget.h:37: error: ISO C++ forbids declaration of 'KDialogBase' with no type
kompilewidget.h:37: error: expected ';' before '*' token
kompilewidget.h:59: error: 'WFlags' has not been declared
main.cpp:55: error: 'KCmdLineLastOption' was not declared in this scope
main.cpp:56: error: braces around scalar initializer for type 'KCmdLineOptions'
main.cpp: In function 'int main(int, char**)':
main.cpp:61: error: no matching function for call to 'KAboutData::KAboutData(const char [8], const char [8], const char [4], const char [87], KAboutData::LicenseKey, const char [27], int, int, const char [28])'
/usr/include/kaboutdata.h:255: note: candidates are: KAboutData::KAboutData(const KAboutData&)
/usr/include/kaboutdata.h:249: note:                 KAboutData::KAboutData(const QByteArray&, const QByteArray&, const KLocalizedString&, const QByteArray&, const KLocalizedString&, KAboutData::LicenseKey, const KLocalizedString&, const KLocalizedString&, const QByteArray&, const QByteArray&)
main.cpp:62: error: no matching function for call to 'KAboutData::addAuthor(const char [18], int, const char [28])'
/usr/include/kaboutdata.h:290: note: candidates are: KAboutData& KAboutData::addAuthor(const KLocalizedString&, const KLocalizedString&, const QByteArray&, const QByteArray&)
main.cpp:64: error: no matching function for call to 'KCmdLineArgs::addCmdLineOptions(KCmdLineOptions [1])'
/usr/include/kcmdlineargs.h:400: note: candidates are: static void KCmdLineArgs::addCmdLineOptions(const KCmdLineOptions&, const KLocalizedString&, const QByteArray&, const QByteArray&)
main.cpp:68: error: 'class KApplication' has no member named 'isRestored'
main.cpp:83: error: 'locateLocal' was not declared in this scope
main.cpp:85: error: 'class KConfig' has no member named 'readEntry'
main.cpp:87: error: 'KDialogBase' was not declared in this scope
main.cpp:87: error: 'installdialog' was not declared in this scope
main.cpp:87: error: expected type-specifier before 'KDialogBase'
main.cpp:87: error: expected `;' before 'KDialogBase'
main.cpp:94: error: type '<type error>' argument given to 'delete', expected pointer
main.cpp:100: error: no matching function for call to 'KMessageBox::warningYesNoCancel(NULL, QString, QString, QString, QString)'
/usr/include/kmessagebox.h:512: note: candidates are: static int KMessageBox::warningYesNoCancel(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const KGuiItem&, const QString&, QFlags<KMessageBox::Option>)
main.cpp:109: error: 'class KompileProfileDialog' has no member named 'adjustSize'
main.cpp:111: error: 'class KompileProfileDialog' has no member named 'exec'
main.cpp:114: error: 'KDialogBase' was not declared in this scope
main.cpp:114: error: 'installdialog' was not declared in this scope
main.cpp:114: error: expected type-specifier before 'KDialogBase'
main.cpp:114: error: expected `;' before 'KDialogBase'
main.cpp:121: error: type '<type error>' argument given to 'delete', expected pointer
main.cpp:149: error: no matching function for call to 'KFileDialog::getOpenFileName(const char [1], const QString, NULL, QString)'
/usr/include/kfiledialog.h:358: note: candidates are: static QString KFileDialog::getOpenFileName(const KUrl&, const QString&, QWidget*, const QString&)
main.cpp:154: error: 'KDialogBase' was not declared in this scope
main.cpp:154: error: 'installdialog' was not declared in this scope
main.cpp:154: error: expected type-specifier before 'KDialogBase'
main.cpp:154: error: expected `;' before 'KDialogBase'
main.cpp:157: error: 'split' is not a member of 'QStringList'
main.cpp:158: error: 'split' is not a member of 'QStringList'
main.cpp:159: error: 'split' is not a member of 'QStringList'
main.cpp:161: error: 'locateLocal' was not declared in this scope
main.cpp:162: error: no matching function for call to 'QDir::entryList(const char [10])'
/usr/include/QtCore/qdir.h:168: note: candidates are: QStringList QDir::entryList(QFlags<QDir::Filter>, QFlags<QDir::SortFlag>) const
/usr/include/QtCore/qdir.h:170: note:                 QStringList QDir::entryList(const QStringList&, QFlags<QDir::Filter>, QFlags<QDir::SortFlag>) const
main.cpp:168: error: 'class QStringList' has no member named 'grep'
main.cpp:170: error: 'class QStringList' has no member named 'grep'
main.cpp:179: error: 'compatible_dialog' was not declared in this scope
main.cpp:179: error: expected type-specifier before 'KDialogBase'
main.cpp:179: error: expected `;' before 'KDialogBase'
main.cpp:180: error: 'KListBox' was not declared in this scope
main.cpp:180: error: 'profiles_list' was not declared in this scope
main.cpp:180: error: expected type-specifier before 'KListBox'
main.cpp:180: error: expected `;' before 'KListBox'
main.cpp:184: error: 'class QString' has no member named 'setLength'
main.cpp:185: error: 'iconLoader' is not a member of 'KGlobal'
main.cpp:185: error: 'Toolbar' is not a member of 'KIcon'
main.cpp:190: error: 'KDialogBase' is not a class or namespace
main.cpp:193: error: 'class KConfig' has no member named 'writeEntry'
main.cpp:200: error: 'split' is not a member of 'QStringList'
main.cpp:201: error: 'split' is not a member of 'QStringList'
main.cpp:205: error: 'class KConfig' has no member named 'writeEntry'
main.cpp:214: error: 'split' is not a member of 'QStringList'
main.cpp:215: error: 'split' is not a member of 'QStringList'
main.cpp:220: error: 'class KConfig' has no member named 'writeEntry'
main.cpp:229: error: 'locateLocal' was not declared in this scope
main.cpp:231: error: 'split' is not a member of 'QStringList'
main.cpp:232: error: 'split' is not a member of 'QStringList'
main.cpp:237: error: 'class KConfig' has no member named 'writeEntry'
main.cpp:250: error: type '<type error>' argument given to 'delete', expected pointer
main.cpp:261: error: 'locateLocal' was not declared in this scope
main.cpp:263: error: 'class KConfig' has no member named 'readEntry'
main.cpp:265: error: 'KDialogBase' was not declared in this scope
main.cpp:265: error: 'installdialog' was not declared in this scope
main.cpp:265: error: expected type-specifier before 'KDialogBase'
main.cpp:265: error: expected `;' before 'KDialogBase'
main.cpp:273: error: type '<type error>' argument given to 'delete', expected pointer
main.cpp:279: error: no matching function for call to 'KMessageBox::warningYesNoCancel(NULL, QString, QString, QString, QString)'
/usr/include/kmessagebox.h:512: note: candidates are: static int KMessageBox::warningYesNoCancel(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const KGuiItem&, const QString&, QFlags<KMessageBox::Option>)
main.cpp:287: error: 'KDialogBase' was not declared in this scope
main.cpp:287: error: 'load_profile' was not declared in this scope
main.cpp:287: error: expected type-specifier before 'KDialogBase'
main.cpp:287: error: expected `;' before 'KDialogBase'
main.cpp:293: error: 'KDialogBase' is not a class or namespace
main.cpp:297: error: 'installdialog' was not declared in this scope
main.cpp:297: error: expected type-specifier before 'KDialogBase'
main.cpp:297: error: expected `;' before 'KDialogBase'
main.cpp:306: error: type '<type error>' argument given to 'delete', expected pointer
main.cpp:308: error: type '<type error>' argument given to 'delete', expected pointer
main.cpp:330: error: no matching function for call to 'KFileDialog::getOpenFileName(const char [1], const QString, NULL, QString)'
/usr/include/kfiledialog.h:358: note: candidates are: static QString KFileDialog::getOpenFileName(const KUrl&, const QString&, QWidget*, const QString&)
main.cpp:335: error: 'KDialogBase' was not declared in this scope
main.cpp:335: error: 'installdialog' was not declared in this scope
main.cpp:335: error: expected type-specifier before 'KDialogBase'
main.cpp:335: error: expected `;' before 'KDialogBase'
main.cpp:336: error: 'locateLocal' was not declared in this scope
main.cpp:337: error: 'class KConfig' has no member named 'writeEntry'
main.cpp:344: error: type '<type error>' argument given to 'delete', expected pointer
main.cpp:350: error: 'class KApplication' has no member named 'setMainWidget'
make[2]: *** [main.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Making install in doc
Making install in .
Making install in en
/bin/install -c -p -m 644 index.docbook /usr/local/kde/share/doc/HTML/en/kompile/index.docbook
/bin/install -c -p -m 644 index.cache.bz2 /usr/local/kde/share/doc/HTML/en/kompile/
Making install in po
/bin/install -c -p -m 644 it.gmo /usr/local/kde/share/locale/it/LC_MESSAGES/kompile.mo
Making install in src
In file included from main.cpp:33:
kompileprofiledialog.h:23:25: error: kdialogbase.h: No such file or directory
In file included from main.cpp:31:
/opt/qt/include/qtooltip.h:56: error: function definition does not declare parameters
/opt/qt/include/qtooltip.h:91: error: function definition does not declare parameters
In file included from kompileprofilewidget.h:23,
                 from kompileprofiledialog.h:25,
                 from main.cpp:33:
kompileprofilewidgetbase.h:37: error: 'WFlags' has not been declared
In file included from main.cpp:33:
kompileprofiledialog.h:27: error: expected class-name before '{' token
kompileprofiledialog.h:27: warning: 'class KompileProfileDialog' has virtual functions and accessible non-virtual destructor
In file included from kompileprofileselectionwidget.h:23,
                 from main.cpp:34:
kompileprofileselectionwidgetbase.h:27: error: 'WFlags' has not been declared
In file included from kompilewidget.h:29,
                 from main.cpp:35:
/opt/qt/include/qtimer.h:49: error: function definition does not declare parameters
/opt/qt/include/qtimer.h:85: error: invalid use of incomplete type 'struct QTimer'
/usr/include/QtGui/qwindowdefs.h:82: error: forward declaration of 'struct QTimer'
In file included from kompilewidget.h:32,
                 from main.cpp:35:
kompilewidgetbase.h:35: error: 'WFlags' has not been declared
In file included from main.cpp:35:
kompilewidget.h:37: error: ISO C++ forbids declaration of 'KDialogBase' with no type
kompilewidget.h:37: error: expected ';' before '*' token
kompilewidget.h:59: error: 'WFlags' has not been declared
main.cpp:55: error: 'KCmdLineLastOption' was not declared in this scope
main.cpp:56: error: braces around scalar initializer for type 'KCmdLineOptions'
main.cpp: In function 'int main(int, char**)':
main.cpp:61: error: no matching function for call to 'KAboutData::KAboutData(const char [8], const char [8], const char [4], const char [87], KAboutData::LicenseKey, const char [27], int, int, const char [28])'
/usr/include/kaboutdata.h:255: note: candidates are: KAboutData::KAboutData(const KAboutData&)
/usr/include/kaboutdata.h:249: note:                 KAboutData::KAboutData(const QByteArray&, const QByteArray&, const KLocalizedString&, const QByteArray&, const KLocalizedString&, KAboutData::LicenseKey, const KLocalizedString&, const KLocalizedString&, const QByteArray&, const QByteArray&)
main.cpp:62: error: no matching function for call to 'KAboutData::addAuthor(const char [18], int, const char [28])'
/usr/include/kaboutdata.h:290: note: candidates are: KAboutData& KAboutData::addAuthor(const KLocalizedString&, const KLocalizedString&, const QByteArray&, const QByteArray&)
main.cpp:64: error: no matching function for call to 'KCmdLineArgs::addCmdLineOptions(KCmdLineOptions [1])'
/usr/include/kcmdlineargs.h:400: note: candidates are: static void KCmdLineArgs::addCmdLineOptions(const KCmdLineOptions&, const KLocalizedString&, const QByteArray&, const QByteArray&)
main.cpp:68: error: 'class KApplication' has no member named 'isRestored'
main.cpp:83: error: 'locateLocal' was not declared in this scope
main.cpp:85: error: 'class KConfig' has no member named 'readEntry'
main.cpp:87: error: 'KDialogBase' was not declared in this scope
main.cpp:87: error: 'installdialog' was not declared in this scope
main.cpp:87: error: expected type-specifier before 'KDialogBase'
main.cpp:87: error: expected `;' before 'KDialogBase'
main.cpp:94: error: type '<type error>' argument given to 'delete', expected pointer
main.cpp:100: error: no matching function for call to 'KMessageBox::warningYesNoCancel(NULL, QString, QString, QString, QString)'
/usr/include/kmessagebox.h:512: note: candidates are: static int KMessageBox::warningYesNoCancel(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const KGuiItem&, const QString&, QFlags<KMessageBox::Option>)
main.cpp:109: error: 'class KompileProfileDialog' has no member named 'adjustSize'
main.cpp:111: error: 'class KompileProfileDialog' has no member named 'exec'
main.cpp:114: error: 'KDialogBase' was not declared in this scope
main.cpp:114: error: 'installdialog' was not declared in this scope
main.cpp:114: error: expected type-specifier before 'KDialogBase'
main.cpp:114: error: expected `;' before 'KDialogBase'
main.cpp:121: error: type '<type error>' argument given to 'delete', expected pointer
main.cpp:149: error: no matching function for call to 'KFileDialog::getOpenFileName(const char [1], const QString, NULL, QString)'
/usr/include/kfiledialog.h:358: note: candidates are: static QString KFileDialog::getOpenFileName(const KUrl&, const QString&, QWidget*, const QString&)
main.cpp:154: error: 'KDialogBase' was not declared in this scope
main.cpp:154: error: 'installdialog' was not declared in this scope
main.cpp:154: error: expected type-specifier before 'KDialogBase'
main.cpp:154: error: expected `;' before 'KDialogBase'
main.cpp:157: error: 'split' is not a member of 'QStringList'
main.cpp:158: error: 'split' is not a member of 'QStringList'
main.cpp:159: error: 'split' is not a member of 'QStringList'
main.cpp:161: error: 'locateLocal' was not declared in this scope
main.cpp:162: error: no matching function for call to 'QDir::entryList(const char [10])'
/usr/include/QtCore/qdir.h:168: note: candidates are: QStringList QDir::entryList(QFlags<QDir::Filter>, QFlags<QDir::SortFlag>) const
/usr/include/QtCore/qdir.h:170: note:                 QStringList QDir::entryList(const QStringList&, QFlags<QDir::Filter>, QFlags<QDir::SortFlag>) const
main.cpp:168: error: 'class QStringList' has no member named 'grep'
main.cpp:170: error: 'class QStringList' has no member named 'grep'
main.cpp:179: error: 'compatible_dialog' was not declared in this scope
main.cpp:179: error: expected type-specifier before 'KDialogBase'
main.cpp:179: error: expected `;' before 'KDialogBase'
main.cpp:180: error: 'KListBox' was not declared in this scope
main.cpp:180: error: 'profiles_list' was not declared in this scope
main.cpp:180: error: expected type-specifier before 'KListBox'
main.cpp:180: error: expected `;' before 'KListBox'
main.cpp:184: error: 'class QString' has no member named 'setLength'
main.cpp:185: error: 'iconLoader' is not a member of 'KGlobal'
main.cpp:185: error: 'Toolbar' is not a member of 'KIcon'
main.cpp:190: error: 'KDialogBase' is not a class or namespace
main.cpp:193: error: 'class KConfig' has no member named 'writeEntry'
main.cpp:200: error: 'split' is not a member of 'QStringList'
main.cpp:201: error: 'split' is not a member of 'QStringList'
main.cpp:205: error: 'class KConfig' has no member named 'writeEntry'
main.cpp:214: error: 'split' is not a member of 'QStringList'
main.cpp:215: error: 'split' is not a member of 'QStringList'
main.cpp:220: error: 'class KConfig' has no member named 'writeEntry'
main.cpp:229: error: 'locateLocal' was not declared in this scope
main.cpp:231: error: 'split' is not a member of 'QStringList'
main.cpp:232: error: 'split' is not a member of 'QStringList'
main.cpp:237: error: 'class KConfig' has no member named 'writeEntry'
main.cpp:250: error: type '<type error>' argument given to 'delete', expected pointer
main.cpp:261: error: 'locateLocal' was not declared in this scope
main.cpp:263: error: 'class KConfig' has no member named 'readEntry'
main.cpp:265: error: 'KDialogBase' was not declared in this scope
main.cpp:265: error: 'installdialog' was not declared in this scope
main.cpp:265: error: expected type-specifier before 'KDialogBase'
main.cpp:265: error: expected `;' before 'KDialogBase'
main.cpp:273: error: type '<type error>' argument given to 'delete', expected pointer
main.cpp:279: error: no matching function for call to 'KMessageBox::warningYesNoCancel(NULL, QString, QString, QString, QString)'
/usr/include/kmessagebox.h:512: note: candidates are: static int KMessageBox::warningYesNoCancel(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const KGuiItem&, const QString&, QFlags<KMessageBox::Option>)
main.cpp:287: error: 'KDialogBase' was not declared in this scope
main.cpp:287: error: 'load_profile' was not declared in this scope
main.cpp:287: error: expected type-specifier before 'KDialogBase'
main.cpp:287: error: expected `;' before 'KDialogBase'
main.cpp:293: error: 'KDialogBase' is not a class or namespace
main.cpp:297: error: 'installdialog' was not declared in this scope
main.cpp:297: error: expected type-specifier before 'KDialogBase'
main.cpp:297: error: expected `;' before 'KDialogBase'
main.cpp:306: error: type '<type error>' argument given to 'delete', expected pointer
main.cpp:308: error: type '<type error>' argument given to 'delete', expected pointer
main.cpp:330: error: no matching function for call to 'KFileDialog::getOpenFileName(const char [1], const QString, NULL, QString)'
/usr/include/kfiledialog.h:358: note: candidates are: static QString KFileDialog::getOpenFileName(const KUrl&, const QString&, QWidget*, const QString&)
main.cpp:335: error: 'KDialogBase' was not declared in this scope
main.cpp:335: error: 'installdialog' was not declared in this scope
main.cpp:335: error: expected type-specifier before 'KDialogBase'
main.cpp:335: error: expected `;' before 'KDialogBase'
main.cpp:336: error: 'locateLocal' was not declared in this scope
main.cpp:337: error: 'class KConfig' has no member named 'writeEntry'
main.cpp:344: error: type '<type error>' argument given to 'delete', expected pointer
main.cpp:350: error: 'class KApplication' has no member named 'setMainWidget'
make[1]: *** [main.o] Error 1
make: *** [install-recursive] Error 1

Last edited by brando56894 (2009-05-06 21:12:39)

Offline

#2 2009-05-06 21:22:14

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Kompile Make Error

Looks like bad/old/outdated code. Looks like it might need some hacking to work.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2009-05-07 01:04:19

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: Kompile Make Error

thats what i thought when i saw that many errors, it was a dev build anyway. its from sometime in 2007...

Offline

Board footer

Powered by FluxBB