Kaspar Giger - 2007-10-24

Hi everybody!

When I compile wmpowersave I always get the following errors:
/usr/local/include/powerlib.h:203: error: nested redefinition of ‘enum DBUS_ERROR’
/usr/local/include/powerlib.h:203: error: redeclaration of ‘enum DBUS_ERROR’
/usr/local/include/powerlib.h:203: error: redeclaration of enumerator ‘REPLY_SUCCESS’
/usr/include/powersave_dbus.h:65: error: previous definition of ‘REPLY_SUCCESS’ was here
/usr/local/include/powerlib.h:204: error: redeclaration of enumerator ‘REPLY_NO_CONNECTION’
/usr/include/powersave_dbus.h:66: error: previous definition of ‘REPLY_NO_CONNECTION’ was here
/usr/local/include/powerlib.h:205: error: redeclaration of enumerator ‘REPLY_NO_RIGHTS’
/usr/include/powersave_dbus.h:67: error: previous definition of ‘REPLY_NO_RIGHTS’ was here
[...]
(and many of this type morre)

What am I doing wrong?

Thanks for your help

-kg