networkmanager-applet



can't build networkmanager-applet  1.8.14 with headers of networkmanager 1.12.2

+ make -O -j4
  GEN      src/libnm-gtk/nm-resources.c
  GEN      src/libnm-gtk/nm-resources.h
  GEN      src/wireless-security/ws-resources.h
  GEN      src/wireless-security/ws-resources.c
  CC       src/libnma/src_libnma_libnma_la-nma-vpn-password-dialog.lo
In file included from /usr/include/libnm/NetworkManager.h:46:0,
                 from ./shared/nm-default.h:75,
                 from src/libnma/nma-vpn-password-dialog.c:26:
/usr/include/libnm/nm-device-ovs-port.h:45:1: error: macro "G_UNAVAILABLE" passed 3 arguments, but takes just 2
 NM_AVAILABLE_IN_1_12_2
 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/libnm/nm-device-ovs-port.h:46:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
 const GPtrArray *nm_device_ovs_port_get_slaves (NMDeviceOvsPort *device);
 ^~~~~
In file included from /usr/include/libnm/NetworkManager.h:47:0,
                 from ./shared/nm-default.h:75,
                 from src/libnma/nma-vpn-password-dialog.c:26:
/usr/include/libnm/nm-device-ovs-bridge.h:45:1: error: macro "G_UNAVAILABLE" passed 3 arguments, but takes just 2
 NM_AVAILABLE_IN_1_12_2
 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/libnm/nm-device-ovs-bridge.h:46:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
 const GPtrArray *nm_device_ovs_bridge_get_slaves (NMDeviceOvsBridge *device);
 ^~~~~
make: *** [Makefile:2676: src/libnma/src_libnma_libnma_la-nma-vpn-password-dialog.lo] Error 1
make: *** Waiting for unfinished jobs....
  CC       src/libnma/src_libnma_libnma_la-nma-mobile-providers.lo
In file included from /usr/include/libnm/NetworkManager.h:46:0,
                 from ./shared/nm-default.h:75,
                 from src/libnma/nma-mobile-providers.c:25:
/usr/include/libnm/nm-device-ovs-port.h:45:1: error: macro "G_UNAVAILABLE" passed 3 arguments, but takes just 2
 NM_AVAILABLE_IN_1_12_2
 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/libnm/nm-device-ovs-port.h:46:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
 const GPtrArray *nm_device_ovs_port_get_slaves (NMDeviceOvsPort *device);
 ^~~~~
In file included from /usr/include/libnm/NetworkManager.h:47:0,
                 from ./shared/nm-default.h:75,
                 from src/libnma/nma-mobile-providers.c:25:
/usr/include/libnm/nm-device-ovs-bridge.h:45:1: error: macro "G_UNAVAILABLE" passed 3 arguments, but takes just 2
 NM_AVAILABLE_IN_1_12_2
 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/libnm/nm-device-ovs-bridge.h:46:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
 const GPtrArray *nm_device_ovs_bridge_get_slaves (NMDeviceOvsBridge *device);
 ^~~~~
make: *** [Makefile:2669: src/libnma/src_libnma_libnma_la-nma-mobile-providers.lo] Error 1
  CC       src/libnma/src_libnma_libnma_la-nma-mobile-wizard.lo
In file included from /usr/include/libnm/NetworkManager.h:46:0,
                 from ./shared/nm-default.h:75,
                 from src/libnma/nma-mobile-wizard.c:23:
/usr/include/libnm/nm-device-ovs-port.h:45:1: error: macro "G_UNAVAILABLE" passed 3 arguments, but takes just 2
 NM_AVAILABLE_IN_1_12_2
 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/libnm/nm-device-ovs-port.h:46:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
 const GPtrArray *nm_device_ovs_port_get_slaves (NMDeviceOvsPort *device);
 ^~~~~
In file included from /usr/include/libnm/NetworkManager.h:47:0,
                 from ./shared/nm-default.h:75,
                 from src/libnma/nma-mobile-wizard.c:23:
/usr/include/libnm/nm-device-ovs-bridge.h:45:1: error: macro "G_UNAVAILABLE" passed 3 arguments, but takes just 2
 NM_AVAILABLE_IN_1_12_2
 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/libnm/nm-device-ovs-bridge.h:46:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
 const GPtrArray *nm_device_ovs_bridge_get_slaves (NMDeviceOvsBridge *device);
 ^~~~~
make: *** [Makefile:2662: src/libnma/src_libnma_libnma_la-nma-mobile-wizard.lo] Error 1
  CC       src/libnma/src_libnma_libnma_la-nma-wifi-dialog.lo
In file included from /usr/include/libnm/NetworkManager.h:46:0,
                 from ./shared/nm-default.h:75,
                 from src/libnma/nma-wifi-dialog.c:23:
/usr/include/libnm/nm-device-ovs-port.h:45:1: error: macro "G_UNAVAILABLE" passed 3 arguments, but takes just 2
 NM_AVAILABLE_IN_1_12_2
 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/libnm/nm-device-ovs-port.h:46:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
 const GPtrArray *nm_device_ovs_port_get_slaves (NMDeviceOvsPort *device);
 ^~~~~
In file included from /usr/include/libnm/NetworkManager.h:47:0,
                 from ./shared/nm-default.h:75,
                 from src/libnma/nma-wifi-dialog.c:23:
/usr/include/libnm/nm-device-ovs-bridge.h:45:1: error: macro "G_UNAVAILABLE" passed 3 arguments, but takes just 2
 NM_AVAILABLE_IN_1_12_2
 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/libnm/nm-device-ovs-bridge.h:46:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
 const GPtrArray *nm_device_ovs_bridge_get_slaves (NMDeviceOvsBridge *device);
 ^~~~~
make: *** [Makefile:2655: src/libnma/src_libnma_libnma_la-nma-wifi-dialog.lo] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.MgdMvP (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.MgdMvP (%build)
[yoda@linux SPECS]$

any ideea of what am i missing here ?
thx!

P.S.
networkmanger-applet 1.8.14 it builds fine with nm headers 1.12.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]