Dear All
I am trying to build a rpm of kpacman-0.3.2 for Fedora Core 4, but I get the following error when I run the command "make":
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++ kpacman.cpp:28:28: error: kstdgameaction.h: No such file or directory kpacman.cpp: In member function 'void KpacmanApp::initActions()': kpacman.cpp:70: error: 'KStdGameAction' has not been declared kpacman.cpp:70: error: '((KpacmanApp*)this)->KpacmanApp::gameNew' cannot be used as a function kpacman.cpp:71: error: 'KStdGameAction' has not been declared /usr/include/unistd.h:415: error: too many arguments to function 'int pause()' kpacman.cpp:71: error: at this point in file kpacman.cpp:71: error: invalid conversion from 'int' to 'KToggleAction*' kpacman.cpp:72: warning: 'setAccel' is deprecated (declared at /usr/include/kde/kaction.h:642) kpacman.cpp:73: error: 'KStdGameAction' has not been declared kpacman.cpp:73: error: 'quit' was not declared in this scope kpacman.cpp:74: error: 'KStdGameAction' has not been declared kpacman.cpp:74: error: 'highscores' was not declared in this scope kpacman.cpp: In member function 'void KpacmanApp::slotKeyBindings()': kpacman.cpp:448: error: 'keys' was not declared in this scope kpacman.cpp:448: error: expected type-specifier before 'Keys' kpacman.cpp:448: error: expected `;' before 'Keys' kpacman.cpp:453: error: type '<type error>' argument given to 'delete', expected pointer make[2]: *** [kpacman.o] Error 1 make[2]: Leaving directory `/home/paulus/Desktop/kpacman-0.3.2/kpacman' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/paulus/Desktop/kpacman-0.3.2' make: *** [all] Error 2 $
Any help? Or, even better, is there some place where from can one get the kpacman binary?
Thanks in advance,
Paul
Paul Smith kirjoitti viestissään (lähetysaika keskiviikko, 30. marraskuuta 2005 21:50):
Dear All
I am trying to build a rpm of kpacman-0.3.2 for Fedora Core 4, but I get the following error when I run the command "make":
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++ kpacman.cpp:28:28: error: kstdgameaction.h: No such file or directory
$ yum provides kstdgameaction.h Searching Packages: Setting up repositories Reading repository metadata in from local files Importing Additional filelist information for packages
kdegames-devel.i386 6:3.4.0-1 base Matched from: /usr/include/kde/kstdgameaction.h
Install the kdegames-devel package: yum install kdegames-devel
On 11/30/05, Markku Kolkka markkuk@tuubi.net wrote:
I am trying to build a rpm of kpacman-0.3.2 for Fedora Core 4, but I get the following error when I run the command "make":
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++ kpacman.cpp:28:28: error: kstdgameaction.h: No such file or directory
$ yum provides kstdgameaction.h Searching Packages: Setting up repositories Reading repository metadata in from local files Importing Additional filelist information for packages
kdegames-devel.i386 6:3.4.0-1 base Matched from: /usr/include/kde/kstdgameaction.h
Install the kdegames-devel package: yum install kdegames-devel
Thanks, Markku. It was an advance, but
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++ kpacman.cpp: In member function 'void KpacmanApp::initActions()': kpacman.cpp:72: warning: 'setAccel' is deprecated (declared at /usr/include/kde/kaction.h:642) kpacman.cpp: In member function 'void KpacmanApp::slotKeyBindings()': kpacman.cpp:448: error: 'keys' was not declared in this scope kpacman.cpp:448: error: expected type-specifier before 'Keys' kpacman.cpp:448: error: expected `;' before 'Keys' kpacman.cpp:453: error: type '<type error>' argument given to 'delete', expected pointer make[2]: *** [kpacman.o] Error 1 make[2]: Leaving directory `/home/paulus/Desktop/kpacman-0.3.2/kpacman' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/paulus/Desktop/kpacman-0.3.2' make: *** [all] Error 2
Paul
Paul Smith kirjoitti viestissään (lähetysaika torstai, 1. joulukuuta 2005 00:08):
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++ kpacman.cpp: In member function 'void KpacmanApp::initActions()': kpacman.cpp:72: warning: 'setAccel' is deprecated (declared at /usr/include/kde/kaction.h:642) kpacman.cpp: In member function 'void KpacmanApp::slotKeyBindings()': kpacman.cpp:448: error: 'keys' was not declared in this scope kpacman.cpp:448: error: expected type-specifier before 'Keys' kpacman.cpp:448: error: expected `;' before 'Keys' kpacman.cpp:453: error: type '<type error>' argument given to 'delete', expected pointer
I had a look at the kpacman website, and it looks like it's written for an older version of KDE and hasn't been updated for over two years. You need to edit and fix the code to make it work on FC4.
On 12/1/05, Markku Kolkka markkuk@tuubi.net wrote:
I had a look at the kpacman website, and it looks like it's written for an older version of KDE and hasn't been updated for over two years. You need to edit and fix the code to make it work on FC4.
Thanks, Markku. Meanwhile, I found the following rpm, which works fine on FC4:
http://rpm.pbone.net/index.php3?stat=26&dist=7&size=164918&name=...
Paul