Can not build NM 0.8.4 on debian squeeze
- From: toabctl <toabctl googlemail com>
- To: networkmanager-list gnome org
- Subject: Can not build NM 0.8.4 on debian squeeze
- Date: Thu, 24 Feb 2011 19:28:56 +0100
Hi,
NM 0.8.4 can't be build on debian squeeze because squeeze has glib
2.24 and NM needs 2.26 because it uses G_DEFINE_BOXED_TYPE() which was
introduced in 2.26.
Error is:
...
nm-setting-ip4-config.c:69: error: expected declaration specifiers or
‘...’ before ‘nm_ip4_address’
nm-setting-ip4-config.c:69: error: expected declaration specifiers or
‘...’ before ‘nm_ip4_address_dup’
nm-setting-ip4-config.c:69: error: expected declaration specifiers or
‘...’ before ‘nm_ip4_address_unref’
nm-setting-ip4-config.c:69: error: parameter 1 has incomplete type
cc1: warnings being treated as errors
nm-setting-ip4-config.c:70: error: return type defaults to ‘int’
nm-setting-ip4-config.c:69: error: no previous prototype for
‘G_DEFINE_BOXED_TYPE’
nm-setting-ip4-config.c: In function ‘G_DEFINE_BOXED_TYPE’:
nm-setting-ip4-config.c:70: error: expected declaration specifiers
before ‘G_DEFINE_BOXED_TYPE’
nm-setting-ip4-config.c:72: error: storage class specified for
parameter ‘nm_setting_ip4_config_class_init’
nm-setting-ip4-config.c:72: error: storage class specified for
parameter ‘nm_setting_ip4_config_parent_class’
nm-setting-ip4-config.c:72: error: parameter
‘nm_setting_ip4_config_parent_class’ is initialized
nm-setting-ip4-config.c:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
nm-setting-ip4-config.c:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘{’ token
nm-setting-ip4-config.c:89: error: storage class specified for
parameter ‘NMSettingIP4ConfigPrivate’
nm-setting-ip4-config.c:91: error: empty declaration
...
Is there any way to build NM 0.8.4 on debian squeeze?
Cheers,
Tom
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]