In my environment, building power-manager is failed. Error messages: ==== xfpm-enum-types.c: In function 'xfpm_cpu_governor_get_type': xfpm-enum-types.c:87: error: 'USERSPACE' undeclared (first use in this function) xfpm-enum-types.c:87: error: (Each undeclared identifier is reported only once xfpm-enum-types.c:87: error: for each function it appears in.) make[2]: *** [xfce4_power_manager-xfpm-enum-types.o] Error 1 make[2]: Leaving directory `/media/sda1/svn/xfce/goodies/xfce4-power-manager/trunk/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/media/sda1/svn/xfce/goodies/xfce4-power-manager/trunk' make: *** [all] Error 2 === I modified as follows and seems to solved the problem. Index: src/xfpm-enums.h =================================================================== --- xfpm-enums.h (revision 6447) +++ xfpm-enums.h (working copy) @@ -52,7 +52,8 @@ POWERSAVE = (1<<1), ONDEMAND = (1<<2), PERFORMANCE = (1<<3), - CONSERVATIVE = (1<<4) + CONSERVATIVE = (1<<4), + USERSPACE = (1<<5) } XfpmCpuGovernor; I don't know that this problem occurs only in my environment or not and my modifying is appropriate or not. Build Date & Platforms: Build 2009-01-12 on Arch Linux (gcc 4.3.2)
(In reply to comment #0) The Userspace governor is removed long time ago, i guess you xfpm-enum-type.h has to be regenerated, you can delete it or just "make distclean". Please let me know id you still have this kind of problems.
(In reply to comment #1) I reverted xfpm-enums.h and ran "make distclean", then build is completed. I have no any other problems about power-manager. Thank you for advise.
You are welcome.
Closing old bugs to keep things organized.