! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-settings compilation error
Status:
RESOLVED: INVALID
Product:
Xfce4-settings
Component:
General

Comments

Description Jos van Wolput 2010-12-06 12:50:39 CET
When compiling xfce4-settings (using gcc-4.5) I get the following error:
---
make[4]: Entering directory `/home/jos/src/xfce4/git/xfce4-settings/dialogs/keyboard-settings'
  CC     xfce4_keyboard_settings-main.o
  CC     xfce4_keyboard_settings-xfce-keyboard-settings.o
xfce-keyboard-settings.c: In function ‘_xfce_keyboard_settings_load_shortcut’:
xfce-keyboard-settings.c:502:47: error: ‘XfceShortcut’ has no member named ‘snotify’
xfce-keyboard-settings.c: In function ‘xfce_keyboard_settings_edit_shortcut’:
xfce-keyboard-settings.c:571:11: error: too many arguments to function ‘xfce_shortcuts_provider_set_shortcut’
/usr/include/xfce4/libxfce4kbd-private/xfce-shortcuts-provider.h:55:25: note: declared here
xfce-keyboard-settings.c: In function ‘xfce_keyboard_settings_edit_command’:
xfce-keyboard-settings.c:633:53: error: too many arguments to function ‘xfce_shortcuts_provider_set_shortcut’
/usr/include/xfce4/libxfce4kbd-private/xfce-shortcuts-provider.h:55:25: note: declared here
xfce-keyboard-settings.c: In function ‘xfce_keyboard_settings_shortcut_added’:
xfce-keyboard-settings.c:774:45: error: ‘XfceShortcut’ has no member named ‘snotify’
xfce-keyboard-settings.c: In function ‘xfce_keyboard_settings_add_button_clicked’:
xfce-keyboard-settings.c:882:11: error: too many arguments to function ‘xfce_shortcuts_provider_set_shortcut’
/usr/include/xfce4/libxfce4kbd-private/xfce-shortcuts-provider.h:55:25: note: declared here
make[4]: *** [xfce4_keyboard_settings-xfce-keyboard-settings.o] Error 1
make[4]: Leaving directory `/home/jos/src/xfce4/git/xfce4-settings/dialogs/keyboard-settings'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/jos/src/xfce4/git/xfce4-settings/dialogs/keyboard-settings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jos/src/xfce4/git/xfce4-settings/dialogs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jos/src/xfce4/git/xfce4-settings'
make: *** [all] Error 2
---
Comment 1 Jérôme Guelfucci editbugs 2010-12-06 13:12:47 CET
t is very likely that you have an old copy of libxfce4kbd-private (provided by libxfce4ui and old versions of libxfcegui4) somewhere in your system. Remove it, install the latest version of libxfce4ui and try to recompile.
Comment 2 Jos van Wolput 2010-12-06 15:58:52 CET
(In reply to comment #1)
> t is very likely that you have an old copy of libxfce4kbd-private (provided by
> libxfce4ui and old versions of libxfcegui4) somewhere in your system. Remove
> it, install the latest version of libxfce4ui and try to recompile.

Thanks! After removing the old versions no more compilation problems.
Comment 3 Jérôme Guelfucci editbugs 2010-12-06 17:54:43 CET
Ok, marking this as invalid then. Thanks for the feedback.

Bug #6922

Reported by:
Jos van Wolput
Reported on: 2010-12-06
Last modified on: 2010-12-06

People

Assignee:
Stephan Arts
CC List:
3 users

Version

Attachments

Additional information