From kde-devel Fri Mar 25 21:10:15 2011 From: 4ernov <4ernov () gmail ! com> Date: Fri, 25 Mar 2011 21:10:15 +0000 To: kde-devel Subject: Re: kdebase-workspace kcontrol/randr/randroutput.cpp on Solaris 10 Message-Id: X-MARC-Message: https://marc.info/?l=kde-devel&m=130108746105070 Hi, Ben, I think xrandr-1.2 is the problem as in kcontrol/randr/randrscreen.h is stated this: #ifdef HAS_RANDR_1_3 void setPrimaryOutput(RandROutput* output); RandROutput* primaryOutput(); void proposePrimaryOutput(RandROutput* output); #endif though in randroutput.cpp no such #ifdef's and in simply doesn't compile. I think it's a bug but as a temporary workaround you can comment out the whole content of void RandROutput::slotSetAsPrimary() method at kcontrol/randr/randroutput.cpp:529. It sets primary output and is obviously useless for version 1.2 as primary output isn't even defined. > working on a Solaris 10 port of KDE4.6, but have no experience working > with xrandr. > > Does someone have a hint they can throw in my direction to fix or > workaround this. > According to the config, I have xrandr-1.2 > > [  0%] Built target kcm_randr_automoc > [  0%] Building CXX object kcontrol/randr/CMakeFiles/kcm_randr.dir/randroutput.o > "/opt/software/src/packages/BUILD/kdebase-workspace-4.6.1/kcontrol/randr/randroutput.cpp", > line 533: Error: primaryOutput is not a member of RandRScreen. > "/opt/software/src/packages/BUILD/kdebase-workspace-4.6.1/kcontrol/randr/randroutput.cpp", > line 536: Error: setPrimaryOutput is not a member of RandRScreen. > "/opt/software/src/packages/BUILD/kdebase-workspace-4.6.1/kcontrol/randr/randroutput.cpp", > line 542: Error: setPrimaryOutput is not a member of RandRScreen. > 3 Error(s) detected. > make[2]: *** [kcontrol/randr/CMakeFiles/kcm_randr.dir/randroutput.o] Error 3 > make[1]: *** [kcontrol/randr/CMakeFiles/kcm_randr.dir/all] Error 2 > > Thanks >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<