Hello, I am trying to build kdebase-workspace 4.4.5 on Lucid but i'm stuck. When i try to build it i get the following error :
[ 86%] Building CXX object kcontrol/randr/CMakeFiles/kcm_randr.dir/krandrmodule.o In file included from /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/outputconfig.h:28, from /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randrconfig.h:25, from /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/krandrmodule.cpp:25: /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:41: error: expected ‘)’ before ‘*’ token /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:48: error: ISO C++ forbids declaration of ‘RandRScreen’ with no type /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:48: error: expected ‘;’ before ‘*’ token /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:67: error: ‘CrtcList’ does not name a type /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:70: error: ISO C++ forbids declaration of ‘RandRCrtc’ with no type /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:70: error: expected ‘;’ before ‘*’ token /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:75: error: ‘ModeList’ does not name a type /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:145: error: ISO C++ forbids declaration of ‘RandRCrtc’ with no type /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:145: error: expected ‘;’ before ‘*’ token /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:146: error: ‘RandRCrtc’ has not been declared /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:151: error: ‘RandRCrtc’ has not been declared /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:159: error: ‘CrtcList’ does not name a type /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:161: error: ISO C++ forbids declaration of ‘RandRScreen’ with no type /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:161: error: expected ‘;’ before ‘*’ token /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:162: error: ISO C++ forbids declaration of ‘RandRCrtc’ with no type /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:162: error: expected ‘;’ before ‘*’ token /home/linux/kdebase-workspace-4.4.5/kcontrol/randr/randroutput.h:173: error: ‘ModeList’ does not name a type make[2]: ** [kcontrol/randr/CMakeFiles/kcm_randr.dir/krandrmodule.o] Erro 1 make[1]: ** [kcontrol/randr/CMakeFiles/kcm_randr.dir/all] Erro 2 make: ** [all] Erro 2 I couldn't find anything about it. The code can be seen here : (full source : http://kdebase-workspace.sourcearchive. ... ource.html<http://kdebase-workspace.sourcearchive.com/documentation/4:4.5.0-0ubuntu1/kcontrol_2randr_2randroutput_8h-source.html> ) ifndef __RANDROUTPUT_H__ #define __RANDROUTPUT_H__ #include <QObject> #include <QString> #include <QRect> #include "randr.h" #include "randrmode.h" class QAction; class KConfig; /** Class representing an RROutput identifier. This class is used * to control a particular output's configuration (i.e., the mode or * refresh rate of a DVI-I port, or the resolution of a VGA port). */ 00036 class RandROutput : public QObject { Q_OBJECT public: RandROutput(RandRScreen *parent, RROutput id); ~RandROutput(); /** Returns the internal RANDR identifier for a particular output. */ RROutput id() const; /** Return the screen that this output belongs to. */ RandRScreen *screen() const; void loadSettings(bool notify = false); /** Handle an event from RANDR signifying a change in this output's * configuration. */ void handleEvent(XRROutputChangeNotifyEvent *event); void handlePropertyEvent(XRROutputPropertyNotifyEvent *event); RandROutput(RandRScreen *parent, RROutput id); I've also tried to include "randrscreen.h" but without luck! Can anybody help me? Thanks in advance.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<