prefix: /usr xdg autostart: /etc/xdg/autostart POLKIT: yes Network manager: yes Build panel plugins: yes Xfce plugins: yes Backend: linux Debug: no Configuration finished, type make to compile + make -O -j4 make all-recursive Making all in data Making all in icons Making all in 32x32 make[4]: Nothing to be done for 'all'. Making all in 48x48 make[4]: Nothing to be done for 'all'. Making all in scalable make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all-am'. Making all in interfaces make all-am make[4]: Nothing to be done for 'all-am'. Making all in appdata make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/data/appdata' ITMRG xfce4-power-manager.appdata.xml make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/data/appdata' make[3]: Nothing to be done for 'all-am'. Making all in libdbus make all-am make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/libdbus' CC libxfpmdbus_la-xfpm-dbus-marshal.lo make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/libdbus' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/libdbus' CC libxfpmdbus_la-xfpm-dbus.lo make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/libdbus' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/libdbus' CC libxfpmdbus_la-xfpm-dbus-monitor.lo make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/libdbus' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/libdbus' CCLD libxfpmdbus.la make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/libdbus' Making all in common make all-am make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/common' CC libxfpmcommon_la-xfpm-enum-types.lo make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/common' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/common' CC libxfpmcommon_la-xfpm-debug.lo make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/common' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/common' CC libxfpmcommon_la-xfpm-common.lo xfpm-common.c: In function 'xfpm_is_multihead_connected': xfpm-common.c:125:5: warning: 'gdk_display_get_screen' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkdisplay.h:56) [-Wdeprecated-declarations] screen = gdk_display_get_screen (dpy, 0); ^ xfpm-common.c:128:2: warning: 'gdk_screen_get_n_monitors' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkscreen.h:74): Use 'gdk_display_get_n_monitors' instead [-Wdeprecated-declarations] nmonitor = gdk_screen_get_n_monitors (screen); ^ make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/common' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/common' CC libxfpmcommon_la-xfpm-brightness.lo xfpm-brightness.c: In function 'xfpm_brightness_setup_xrandr': xfpm-brightness.c:189:5: warning: 'gdk_screen_get_number' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkscreen.h:56) [-Wdeprecated-declarations] screen_num = gdk_screen_get_number (screen); ^ make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/common' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/common' CC libxfpmcommon_la-xfpm-power-common.lo make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/common' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/common' CCLD libxfpmcommon.la make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/common' Making all in src make all-am make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfce-power-manager-dbus.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-org.freedesktop.PowerManagement.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-org.freedesktop.PowerManagement.Inhibit.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-marshal.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-manager.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-power.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-battery.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-systemd.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-main.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-console-kit.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-xfconf.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-egg-idletime.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-kbd-backlight.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-dpms.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-network-manager.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-backlight.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-inhibit.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-button.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-polkit.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-notify.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-errors.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfpm-suspend.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-power-manager-button.o ../panel-plugins/power-manager-plugin/power-manager-button.c: In function 'power_manager_button_device_icon_expose': ../panel-plugins/power-manager-plugin/power-manager-button.c:374:5: warning: 'gdk_cairo_create' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkcairo.h:35): Use 'gdk_window_begin_draw_frame() and gdk_drawing_context_get_cairo_context()' instead [-Wdeprecated-declarations] cr = gdk_cairo_create (gtk_widget_get_window (img)); ^ ../panel-plugins/power-manager-plugin/power-manager-button.c: In function 'power_manager_button_add_all_devices': ../panel-plugins/power-manager-plugin/power-manager-button.c:686:34: warning: assignment makes pointer from integer without a cast button->priv->display_device = up_client_get_display_device (button->priv->upower); ^ ../panel-plugins/power-manager-plugin/power-manager-button.c: In function 'power_manager_button_show_menu': ../panel-plugins/power-manager-plugin/power-manager-button.c:1674:5: warning: 'gtk_menu_popup' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkmenu.h:138): Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] gtk_menu_popup (GTK_MENU (menu), ^ make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-xfce-screensaver.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfpm_power_backlight_helper-xfpm-backlight-helper.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_pm_helper-xfpm-pm-helper.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' sed "s|[@]sbindir@|/usr/sbin|" org.xfce.power.policy.in2 > org.xfce.power.policy.in make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CC xfce4_power_manager-scalemenuitem.o make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' ITMRG xfce4-power-manager.desktop make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' ITMRG org.xfce.power.policy make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CCLD xfpm-power-backlight-helper make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CCLD xfce4-pm-helper make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' make[3]: Entering directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' CCLD xfce4-power-manager xfce4_power_manager-power-manager-button.o: In function `power_manager_button_show': power-manager-button.c:(.text+0x1dd9): undefined reference to `up_client_get_display_device' collect2: error: ld returned 1 exit status Makefile:758: recipe for target 'xfce4-power-manager' failed make[3]: *** [xfce4-power-manager] Error 1 make[3]: Leaving directory '/repm/src/rpm/BUILD/xfce4-power-manager-1.6.0/src' rm org.xfce.power.policy.in Makefile:621: recipe for target 'all' failed make[2]: *** [all] Error 2 Makefile:508: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 Makefile:440: recipe for target 'all' failed make: *** [all] Error 2 error: Bad exit status from /home/quait/src/tmp/rpm-tmp.k0gTTC (%build)
It looks like libupower is either missing or corrupted. What system is this being compiled for? Can you provide the full configure output?
the build-system is PCLinuxOS-Mate, upower-0.99.4 pm-utils-1.4.1 in next days i plane a rebuild of this two packages to find out, which newer versions can work with it, - on pclos we need to keep systemd outside of all packages so i personaly use consolekit2, old init-style from nonsystemd-fedora, very old ... later more
consolekit was prerelease-1.1.2, now installed latest stable 1.0.2 fully output: [quait@AMD-PHENOMII xfce4-power-manager (master)]$ ./autogen.sh --prefix=/usr Preparing package directory /repm/src/Q2017/TEST/xfce4-power-manager... Creating /repm/src/Q2017/TEST/xfce4-power-manager/aclocal.m4... Running glib-gettextize --force --copy... Copying file po/Makefile.in.in Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /usr/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/. Running intltoolize --automake --copy --force Patching file 'po/Makefile.in.in' Running libtoolize --force --copy... libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' Running aclocal -I /usr/share/xfce4/dev-tools/m4macros -I /usr/share/xfce4/dev-tools/m4macros -I /repm/src/Q2017/TEST/xfce4-power-manager/m4... Running autoheader... Running automake --force-missing --add-missing --copy --gnu... configure.ac:25: installing './compile' configure.ac:32: installing './config.guess' configure.ac:32: installing './config.sub' configure.ac:20: installing './install-sh' configure.ac:20: installing './missing' Makefile.am: installing './INSTALL' common/Makefile.am: installing './depcomp' panel-plugins/power-manager-plugin/xfce/Makefile.am:73: warning: '%'-style pattern rules are a GNU make extension panel-plugins/power-manager-plugin/xfce/Makefile.am:16: warning: source file '../power-manager-button.c' is in a subdirectory, panel-plugins/power-manager-plugin/xfce/Makefile.am:16: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. panel-plugins/power-manager-plugin/xfce/Makefile.am:16: warning: source file '../scalemenuitem.c' is in a subdirectory, panel-plugins/power-manager-plugin/xfce/Makefile.am:16: but option 'subdir-objects' is disabled src/Makefile.am:3: warning: source file '../panel-plugins/power-manager-plugin/power-manager-button.c' is in a subdirectory, src/Makefile.am:3: but option 'subdir-objects' is disabled src/Makefile.am:3: warning: source file '../panel-plugins/power-manager-plugin/scalemenuitem.c' is in a subdirectory, src/Makefile.am:3: but option 'subdir-objects' is disabled Running autoconf... Running /repm/src/Q2017/TEST/xfce4-power-manager/configure --enable-maintainer-mode --prefix=/usr... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether gmake sets $(MAKE)... yes checking whether gmake supports nested variables... yes checking whether UID '500' is supported by ustar format... yes checking whether GID '500' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... yes checking whether gmake supports nested variables... (cached) yes checking for style of include used by gmake... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking how to print strings... printf checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether NLS is requested... yes checking for intltool >= 0.31... 0.50.2 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.12.3 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ANSI C header files... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for sys/types.h... (cached) yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/user.h usability... yes checking sys/user.h presence... yes checking for sys/user.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for unistd.h... (cached) yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/sysctl.h usability... yes checking sys/sysctl.h presence... yes checking for sys/sysctl.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking procfs.h usability... no checking procfs.h presence... no checking for procfs.h... no checking X11/extensions/scrnsaver.h usability... yes checking X11/extensions/scrnsaver.h presence... yes checking for X11/extensions/scrnsaver.h... yes checking for getpwuid... yes checking for setsid... yes checking for sigaction... yes checking for round in -lm... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for catalogs to be installed... ar ast bg ca cs da de el en_AU en_GB es et eu fi fr gl he hr hu id is it ja kk ko lt ms nb nl nn oc pa pl pt_BR pt ro ru si sk sl sr sv te th tr ug uk ur_PK ur vi zh_CN zh_HK zh_TW checking for bind_textdomain_codeset... (cached) yes checking for locales directory... ${datarootdir}/locale checking for additional xgettext flags... --keyword=Q_ --from-code=UTF-8 checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gtk+-3.0 >= 3.14.0... 3.22.16 checking GTK_CFLAGS... -D_REENTRANT -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/directfb -I/usr/include/libdrm -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking GTK_LIBS... -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for glib-2.0 >= 2.42.0... 2.52.3 checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking GLIB_LIBS... -lglib-2.0 checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gobject-2.0 >= 2.42.0... 2.52.3 checking GOBJECT_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking GOBJECT_LIBS... -lgobject-2.0 -lglib-2.0 checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gthread-2.0 >= 2.42.0... 2.52.3 checking GTHREAD_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking GTHREAD_LIBS... -lgthread-2.0 -pthread -lglib-2.0 checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gmodule-2.0 >= 2.42.0... 2.52.3 checking GMODULE_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking GMODULE_LIBS... -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gio-2.0 >= 2.42.0... 2.52.3 checking GIO_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking GIO_LIBS... -lgio-2.0 -lgobject-2.0 -lglib-2.0 checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libxfconf-0 >= 4.12.0... 4.13.2git-0c3bd71 checking XFCONF_CFLAGS... -pthread -I/usr/include/xfce4/xfconf-0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking XFCONF_LIBS... -lxfconf-0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libxfce4ui-2 >= 4.12.0... 4.13.2git-3bfe8de checking LIBXFCE4UI_CFLAGS... -D_REENTRANT -pthread -I/usr/include/xfce4/libxfce4ui-2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/directfb -I/usr/include/libdrm -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking LIBXFCE4UI_LIBS... -lxfce4ui-2 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lxfce4util -lglib-2.0 checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libxfce4util-1.0 >= 4.12.0... 4.13.1git-b4e6f55 checking LIBXFCE4UTIL_CFLAGS... -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking LIBXFCE4UTIL_LIBS... -lxfce4util -lglib-2.0 checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libnotify >= 0.4.1... 0.7.7 checking LIBNOTIFY_CFLAGS... -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking LIBNOTIFY_LIBS... -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for upower-glib >= 0.99.0... 0.99.4 checking UPOWER_CFLAGS... -DUPOWER_ENABLE_DEPRECATED -pthread -I/usr/include/libupower-glib -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking UPOWER_LIBS... -lupower-glib -lgobject-2.0 -lglib-2.0 checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for xrandr >= 1.2.0... 1.5.1 checking XRANDR_CFLAGS... checking XRANDR_LIBS... -lXrandr checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for x11 >= 1.0.0... 1.6.5 checking X11_CFLAGS... checking X11_LIBS... -lX11 checking whether to build with polkit support... yes checking for DPMSQueryExtension in -lXext... yes checking whether XF86XK_Suspend is declared... yes checking whether XF86XK_Hibernate is declared... yes checking whether to build with network manager support.... yes checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libxfce4panel-2.0 >= 4.12.0... 4.13.0git-08733fdf checking LIBXFCE4PANEL_CFLAGS... -D_REENTRANT -pthread -I/usr/include/xfce4/libxfce4panel-2.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/directfb -I/usr/include/libdrm -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking LIBXFCE4PANEL_LIBS... -lxfce4panel-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lxfce4util -lglib-2.0 checking whether to build with debugging support... minimum checking PLATFORM_CPPFLAGS... checking PLATFORM_CFLAGS... checking PLATFORM_LDFLAGS... checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libdbus/Makefile config.status: creating common/Makefile config.status: creating src/Makefile config.status: creating settings/Makefile config.status: creating panel-plugins/Makefile config.status: creating panel-plugins/power-manager-plugin/Makefile config.status: creating panel-plugins/power-manager-plugin/xfce/Makefile config.status: creating data/Makefile config.status: creating data/icons/Makefile config.status: creating data/icons/32x32/Makefile config.status: creating data/icons/48x48/Makefile config.status: creating data/icons/scalable/Makefile config.status: creating data/interfaces/Makefile config.status: creating data/appdata/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands prefix: /usr xdg autostart: ${prefix}/etc/xdg/autostart POLKIT: yes Network manager: yes Build panel plugins: yes Xfce plugins: yes Backend: linux Debug: minimum Configuration finished, type make to compile Now type "make" to compile. [quait@AMD-PHENOMII xfce4-power-manager (master)]$ make make all-recursive make[1]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager' Making all in data make[2]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/data' Making all in icons make[3]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/icons' Making all in 32x32 make[4]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/icons/32x32' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/icons/32x32' Making all in 48x48 make[4]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/icons/48x48' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/icons/48x48' Making all in scalable make[4]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/icons/scalable' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/icons/scalable' make[4]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/icons' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/icons' make[3]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/icons' Making all in interfaces make[3]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/interfaces' exo-csource --static --strip-comments --strip-content --name=xfpm_settings_ui xfpm-settings.ui > xfpm-settings_ui.h make all-am make[4]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/interfaces' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/interfaces' make[3]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/interfaces' Making all in appdata make[3]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/appdata' ITMRG xfce4-power-manager.appdata.xml make[3]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/data/appdata' make[3]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/data' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/data' make[2]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/data' Making all in libdbus make[2]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/libdbus' echo "#include \"xfpm-dbus-marshal.h\"" > xfpm-dbus-marshal.c && \ glib-genmarshal xfpm-dbus-marshal.list --prefix=_xfpm_dbus_marshal --body >> xfpm-dbus-marshal.c glib-genmarshal xfpm-dbus-marshal.list --prefix=_xfpm_dbus_marshal --header > xfpm-dbus-marshal.h make all-am make[3]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/libdbus' CC libxfpmdbus_la-xfpm-dbus.lo CC libxfpmdbus_la-xfpm-dbus-monitor.lo CC libxfpmdbus_la-xfpm-dbus-marshal.lo CCLD libxfpmdbus.la make[3]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/libdbus' make[2]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/libdbus' Making all in common make[2]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/common' ( cd . && glib-mkenums \ --fhead "#ifndef _XFPM_ENUM_TYPES_H\n#define _XFPM_ENUM_TYPES_H\n#include <glib-object.h>\nG_BEGIN_DECLS\n" \ --fprod "/* enumerations from \"@filename@\" */\n" \ --vhead "GType @enum_name@_get_type (void);\n#define XFPM_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \ --ftail "G_END_DECLS\n\n#endif /* _XFPM_ENUM_TYPES_H__ */" \ ./xfpm-enum-glib.h ) >> xgen \ && (cmp -s xgen xfpm-enum-types.h || cp xgen xfpm-enum-types.h ) \ && rm -f xgen xgen~ ( cd . && glib-mkenums \ --fhead "#include <xfpm-enum-types.h>\n" \ --fhead "#include \"xfpm-enum-glib.h\"\n\n" \ --fprod "\n/* enumerations from \"@filename@\" */\n" \ --vhead "GType\n@enum_name@_get_type (void)\n{\n\tstatic GType type = 0;\n\tif (type == 0) {\n\tstatic const G@Type@Value values[] = {"\ --vprod "\t{ @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ --vtail "\t{ 0, NULL, NULL }\n\t};\n\ttype = g_@type@_register_static (\"@EnumName@\", values);\n }\n\treturn type;\n}\n" \ ./xfpm-enum-glib.h ) > xgen \ && cp xgen xfpm-enum-types.c \ && rm -f xgen xgen~ make all-am make[3]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/common' CC libxfpmcommon_la-xfpm-enum-types.lo CC libxfpmcommon_la-xfpm-common.lo xfpm-common.c: In function 'xfpm_is_multihead_connected': xfpm-common.c:125:5: warning: 'gdk_display_get_screen' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkdisplay.h:56) [-Wdeprecated-declarations] screen = gdk_display_get_screen (dpy, 0); ^ xfpm-common.c:128:2: warning: 'gdk_screen_get_n_monitors' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkscreen.h:74): Use 'gdk_display_get_n_monitors' instead [-Wdeprecated-declarations] nmonitor = gdk_screen_get_n_monitors (screen); ^ CC libxfpmcommon_la-xfpm-brightness.lo xfpm-brightness.c: In function 'xfpm_brightness_setup_xrandr': xfpm-brightness.c:189:5: warning: 'gdk_screen_get_number' is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkscreen.h:56) [-Wdeprecated-declarations] screen_num = gdk_screen_get_number (screen); ^ CC libxfpmcommon_la-xfpm-debug.lo CC libxfpmcommon_la-xfpm-power-common.lo CCLD libxfpmcommon.la make[3]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/common' make[2]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/common' Making all in src make[2]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/src' gdbus-codegen --interface-prefix=org.xfce. --c-namespace=Xfpm --generate-c-code=xfce-power-manager-dbus org.xfce.Power.Manager.xml echo "#include \"xfpm-marshal.h\"" > xfpm-marshal.c && \ glib-genmarshal xfpm-marshal.list --prefix=_xfpm_marshal --body >> xfpm-marshal.c glib-genmarshal xfpm-marshal.list --prefix=_xfpm_marshal --header > xfpm-marshal.h gdbus-codegen --interface-prefix=org.freedesktop. --c-namespace=Xfpm --generate-c-code=org.freedesktop.PowerManagement org.freedesktop.PowerManagement.xml gdbus-codegen --interface-prefix=org.freedesktop. --c-namespace=Xfpm --generate-c-code=org.freedesktop.PowerManagement.Inhibit org.freedesktop.PowerManagement.Inhibit.xml make all-am make[3]: Entering directory '/repm/src/Q2017/TEST/xfce4-power-manager/src' CC xfce4_power_manager-xfce-power-manager-dbus.o CC xfce4_power_manager-xfpm-marshal.o CC xfce4_power_manager-org.freedesktop.PowerManagement.o CC xfce4_power_manager-org.freedesktop.PowerManagement.Inhibit.o CC xfce4_power_manager-xfpm-main.o CC xfce4_power_manager-xfpm-manager.o CC xfce4_power_manager-xfpm-power.o CC xfce4_power_manager-xfpm-battery.o CC xfce4_power_manager-xfpm-xfconf.o CC xfce4_power_manager-xfpm-console-kit.o CC xfce4_power_manager-xfpm-systemd.o CC xfce4_power_manager-egg-idletime.o CC xfce4_power_manager-xfpm-backlight.o CC xfce4_power_manager-xfpm-kbd-backlight.o CC xfce4_power_manager-xfpm-dpms.o CC xfce4_power_manager-xfpm-button.o CC xfce4_power_manager-xfpm-network-manager.o CC xfce4_power_manager-xfpm-inhibit.o CC xfce4_power_manager-xfpm-notify.o CC xfce4_power_manager-xfpm-polkit.o CC xfce4_power_manager-xfpm-errors.o CC xfce4_power_manager-xfpm-suspend.o CC xfce4_power_manager-xfce-screensaver.o CC xfce4_power_manager-power-manager-button.o ../panel-plugins/power-manager-plugin/power-manager-button.c: In function ‘power_manager_button_device_icon_expose’: ../panel-plugins/power-manager-plugin/power-manager-button.c:374:5: warning: ‘gdk_cairo_create’ is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkcairo.h:35): Use 'gdk_window_begin_draw_frame() and gdk_drawing_context_get_cairo_context()' instead [-Wdeprecated-declarations] cr = gdk_cairo_create (gtk_widget_get_window (img)); ^ ../panel-plugins/power-manager-plugin/power-manager-button.c: In function ‘power_manager_button_add_all_devices’: ../panel-plugins/power-manager-plugin/power-manager-button.c:686:34: warning: assignment makes pointer from integer without a cast button->priv->display_device = up_client_get_display_device (button->priv->upower); ^ ../panel-plugins/power-manager-plugin/power-manager-button.c: In function ‘power_manager_button_show_menu’: ../panel-plugins/power-manager-plugin/power-manager-button.c:1671:5: warning: ‘gtk_menu_popup’ is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkmenu.h:138): Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] gtk_menu_popup (GTK_MENU (menu), ^ CC xfce4_power_manager-scalemenuitem.o CCLD xfce4-power-manager xfce4_power_manager-power-manager-button.o: In function `power_manager_button_add_all_devices': /repm/src/Q2017/TEST/xfce4-power-manager/src/../panel-plugins/power-manager-plugin/power-manager-button.c:686: undefined reference to `up_client_get_display_device' collect2: error: ld returned 1 exit status Makefile:758: recipe for target 'xfce4-power-manager' failed make[3]: *** [xfce4-power-manager] Error 1 make[3]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/src' Makefile:621: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager/src' Makefile:508: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/repm/src/Q2017/TEST/xfce4-power-manager' Makefile:440: recipe for target 'all' failed make: *** [all] Error 2 --- end of outputs
it's to solving with upower-0.99.5 , there this function: `up_client_get_display_device' is defined sorry and please ignore this "bug"
Ok, thanks for double-checking.