Fixed the problems with correct casting. Why I get the problems? Does it
related with gcc, glibc etc.
And also I used r30 but the following variables does not exist in r80;
MESSAGE_RES_EVT_CLOSE_CHANNEL_NOTIFY
MESSAGE_RES_EVT_OPEN_CHANNEL_NOTIFY
r30 -> ipc_evt.h
enum res_evt_types {
MESSAGE_RES_EVT_OPEN_CHANNEL = 0,
MESSAGE_RES_EVT_CLOSE_CHANNEL = 1,
MESSAGE_RES_EVT_UNLINK_CHANNEL = 2,
MESSAGE_RES_EVT_SUBSCRIBE = 3,
MESSAGE_RES_EVT_UNSUBSCRIBE = 4,
MESSAGE_RES_EVT_PUBLISH = 5,
MESSAGE_RES_EVT_CLEAR_RETENTIONTIME = 6,
MESSAGE_RES_EVT_CHAN_OPEN_CALLBACK = 7,
MESSAGE_RES_EVT_EVENT_DATA = 8,
MESSAGE_RES_EVT_AVAILABLE = 9,
MESSAGE_RES_EVT_CLOSE_CHANNEL_NOTIFY = 10, /*Added by MUNI*/
MESSAGE_RES_EVT_OPEN_CHANNEL_NOTIFY = 11/*Added by MUNI*/
};
r80-> ipc_evt.h
enum res_evt_types {
MESSAGE_RES_EVT_OPEN_CHANNEL = 0,
MESSAGE_RES_EVT_CLOSE_CHANNEL = 1,
MESSAGE_RES_EVT_UNLINK_CHANNEL = 2,
MESSAGE_RES_EVT_SUBSCRIBE = 3,
MESSAGE_RES_EVT_UNSUBSCRIBE = 4,
MESSAGE_RES_EVT_PUBLISH = 5,
MESSAGE_RES_EVT_CLEAR_RETENTIONTIME = 6,
MESSAGE_RES_EVT_CHAN_OPEN_CALLBACK = 7,
MESSAGE_RES_EVT_EVENT_DATA = 8,
MESSAGE_RES_EVT_AVAILABLE = 9
};
Which response types can be used for the notifies?
From: [email protected] [mailto:[email protected]] On
Behalf Of Anil KARADAG
Sent: Thursday, November 26, 2015 5:13 PM
To: [email protected]
Subject: [corosync] openais-0.80.6/include cannot be built due to convertion
errors
Hi,
I am working on building my client with openais-0.80.6(generated source from
Red Hat distributed src.rpm; openais-0.80.6-37.el5.src.rpm). I can build
openais, no problem.
But my client uses openais headers,which are stayed in include folder in
openais source, for using methods.
The building exits with the following error;
../openais-0.80.6/include/mar_clm.h: In function ‘void
swab_mar_clm_node_address_t(mar_clm_node_address_t*)’:
../openais-0.80.6/include/mar_clm.h:63: error: cannot convert
‘mar_clm_node_address_family_t*’ to ‘mar_uint32_t*’ for argument ‘1’ to ‘void
swab_mar_uint32_t(mar_uint32_t*)’
../openais-0.80.6/include/mar_clm.h: In function ‘void
marshall_from_mar_clm_node_address_t(SaClmNodeAddressT*,
mar_clm_node_address_t*)’:
../openais-0.80.6/include/mar_clm.h:70: error: cannot convert
‘mar_clm_node_address_family_t’ to ‘SaClmNodeAddressFamilyT’ in assignment
../openais-0.80.6/include/mar_clm.h: In function ‘void
marshall_to_mar_clm_node_address_t(mar_clm_node_address_t*,
SaClmNodeAddressT*)’:
../openais-0.80.6/include/mar_clm.h:79: error: cannot convert
‘SaClmNodeAddressFamilyT’ to ‘mar_clm_node_address_family_t’ in assignment
../openais-0.80.6/include/mar_clm.h: In function ‘void
marshall_from_mar_clm_cluster_node_t(SaClmClusterNodeT*,
mar_clm_cluster_node_t*)’:
../openais-0.80.6/include/mar_clm.h:127: error: invalid conversion from
‘mar_uint32_t’ to ‘SaBoolT’
../openais-0.80.6/include/mar_clm.h: In function ‘void
marshall_to_mar_clm_cluster_notification_t(mar_clm_cluster_notification_t*,
SaClmClusterNotificationT*)’:
../openais-0.80.6/include/mar_clm.h:153: error: cannot convert
‘SaClmClusterChangesT’ to ‘mar_clm_cluster_change_t’ in assignment
../openais-0.80.6/include/mar_clm.h: In function ‘void
marshall_from_mar_clm_cluster_notification_t(SaClmClusterNotificationT*,
mar_clm_cluster_notification_t*)’:
../openais-0.80.6/include/mar_clm.h:162: error: cannot convert
‘mar_clm_cluster_change_t’ to ‘SaClmClusterChangesT’ in assignment
Bu e-posta mesajı ve ekleri gönderildiği kişi ya da kuruma özeldir ve gizlidir.
Ayrıca hukuken de gizli olabilir. Hiçbir şekilde üçüncü kişilere açıklanamaz ve
yayınlanamaz. Eğer mesajın gönderildiği alıcı değilseniz bu elektronik postanın
içeriğini açıklamanız, kopyalamanız, yönlendirmeniz ve kullanmanız kesinlikle
yasaktır ve bu elektronik postayı ve eklerini derhal silmeniz gerekmektedir.
NETAŞ TELEKOMÜNİKASYON A.Ş. bu mesajın içerdiği bilgilerin doğruluğu veya
eksiksiz olduğu konusunda herhangi bir garanti vermemektedir. Bu nedenle bu
bilgilerin ne şekilde olursa olsun içeriğinden, iletilmesinden, alınmasından,
saklanmasından ve kullanılmasından sorumlu değildir. Bu mesajdaki görüşler
gönderen kişiye ait olup, NETAŞ TELEKOMÜNİKASYON A.Ş.’nin görüşlerini
yansıtmayabilir.
-------------------------------------------------------
This e-mail and its attachments are private and confidential and intended for
the exclusive use of the individual or entity to whom it is addressed. It may
also be legally confidential. Any disclosure, distribution or other
dissemination of this message to any third party is strictly prohibited. If you
are not the intended recipient you are hereby notified that any dissemination,
forwarding, copying or use of any of the information is strictly prohibited,
and the e-mail should immediately be deleted. NETAŞ TELEKOMÜNİKASYON A.Ş. makes
no warranty as to the accuracy or completeness of any information contained in
this message and hereby excludes any liability of any kind for the information
contained therein or for the transmission, reception, storage or use of such
information in any way whatsoever. The opinions expressed in this message are
those of the sender and may not necessarily reflect the opinions of NETAŞ
TELEKOMÜNİKASYON A.Ş.
Bu e-posta mesajı ve ekleri gönderildiği kişi ya da kuruma özeldir ve gizlidir.
Ayrıca hukuken de gizli olabilir. Hiçbir şekilde üçüncü kişilere açıklanamaz ve
yayınlanamaz. Eğer mesajın gönderildiği alıcı değilseniz bu elektronik postanın
içeriğini açıklamanız, kopyalamanız, yönlendirmeniz ve kullanmanız kesinlikle
yasaktır ve bu elektronik postayı ve eklerini derhal silmeniz gerekmektedir.
NETAŞ TELEKOMÜNİKASYON A.Ş. bu mesajın içerdiği bilgilerin doğruluğu veya
eksiksiz olduğu konusunda herhangi bir garanti vermemektedir. Bu nedenle bu
bilgilerin ne şekilde olursa olsun içeriğinden, iletilmesinden, alınmasından,
saklanmasından ve kullanılmasından sorumlu değildir. Bu mesajdaki görüşler
gönderen kişiye ait olup, NETAŞ TELEKOMÜNİKASYON A.Ş.’nin görüşlerini
yansıtmayabilir.
-------------------------------------------------------
This e-mail and its attachments are private and confidential and intended for
the exclusive use of the individual or entity to whom it is addressed. It may
also be legally confidential. Any disclosure, distribution or other
dissemination of this message to any third party is strictly prohibited. If you
are not the intended recipient you are hereby notified that any dissemination,
forwarding, copying or use of any of the information is strictly prohibited,
and the e-mail should immediately be deleted. NETAŞ TELEKOMÜNİKASYON A.Ş. makes
no warranty as to the accuracy or completeness of any information contained in
this message and hereby excludes any liability of any kind for the information
contained therein or for the transmission, reception, storage or use of such
information in any way whatsoever. The opinions expressed in this message are
those of the sender and may not necessarily reflect the opinions of NETAŞ
TELEKOMÜNİKASYON A.Ş.
_______________________________________________
discuss mailing list
[email protected]
http://lists.corosync.org/mailman/listinfo/discuss