[asterisk-bugs] [JIRA] (ASTERISK-22912) res_corosync doesn't build in Asterisk 12 beta2
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Thu May 22 11:53:07 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-22912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Jordan updated ASTERISK-22912:
-----------------------------------
Target Release Version/s: 12.3.0
> res_corosync doesn't build in Asterisk 12 beta2
> -----------------------------------------------
>
> Key: ASTERISK-22912
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-22912
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_corosync
> Affects Versions: 12.0.0-beta2
> Environment: Ubuntu 12.04.3 LTS
> Linux myvm 3.8.0-33-generic #48~precise1-Ubuntu SMP Thu Oct 24 16:28:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> corosync and corosync-dev packages 1.4.2-2
> Reporter: Malcolm Davenport
> Severity: Minor
> Target Release: 12.3.0
>
>
> Worked fine in 11. Not sure about any version of 12. Build blows up in 12.
> {noformat}
> [CC] res_corosync.c -> res_corosync.o
> res_corosync.c:58:3: error: ‘AST_EVENT_MWI’ undeclared here (not in a function)
> res_corosync.c:58:2: error: array index in initializer not of integer type
> res_corosync.c:58:2: error: (near initialization for ‘event_types’)
> res_corosync.c:59:3: error: ‘AST_EVENT_DEVICE_STATE_CHANGE’ undeclared here (not in a function)
> res_corosync.c:59:2: error: array index in initializer not of integer type
> res_corosync.c:59:2: error: (near initialization for ‘event_types’)
> res_corosync.c:60:3: error: ‘AST_EVENT_PING’ undeclared here (not in a function)
> res_corosync.c:60:2: error: array index in initializer not of integer type
> res_corosync.c:60:2: error: (near initialization for ‘event_types’)
> res_corosync.c: In function ‘cpg_deliver_cb’:
> res_corosync.c:124:2: warning: implicit declaration of function ‘ast_event_minimum_length’ [-Wimplicit-function-declaration]
> res_corosync.c:131:2: warning: implicit declaration of function ‘ast_event_get_ie_raw’ [-Wimplicit-function-declaration]
> res_corosync.c:131:63: error: ‘AST_EVENT_IE_EID’ undeclared (first use in this function)
> res_corosync.c:131:63: note: each undeclared identifier is reported only once for each function it appears in
> res_corosync.c:158:3: warning: implicit declaration of function ‘ast_event_queue’ [-Wimplicit-function-declaration]
> res_corosync.c:160:3: warning: implicit declaration of function ‘ast_event_queue_and_cache’ [-Wimplicit-function-declaration]
> res_corosync.c: In function ‘cpg_confchg_cb’:
> res_corosync.c:188:3: warning: implicit declaration of function ‘ast_event_subscribe_new’ [-Wimplicit-function-declaration]
> res_corosync.c:188:13: warning: assignment makes pointer from integer without a cast [enabled by default]
> res_corosync.c:189:3: warning: implicit declaration of function ‘ast_event_sub_append_ie_raw’ [-Wimplicit-function-declaration]
> res_corosync.c:189:42: error: ‘AST_EVENT_IE_EID’ undeclared (first use in this function)
> res_corosync.c:191:3: warning: implicit declaration of function ‘ast_event_dump_cache’ [-Wimplicit-function-declaration]
> res_corosync.c:192:3: warning: implicit declaration of function ‘ast_event_sub_destroy’ [-Wimplicit-function-declaration]
> res_corosync.c: In function ‘ast_event_cb’:
> res_corosync.c:302:37: error: ‘AST_EVENT_IE_EID’ undeclared (first use in this function)
> res_corosync.c: In function ‘load_general_config’:
> res_corosync.c:535:4: warning: implicit declaration of function ‘ast_event_subscribe’ [-Wimplicit-function-declaration]
> res_corosync.c:535:23: warning: assignment makes pointer from integer without a cast [enabled by default]
> res_corosync.c:539:4: warning: implicit declaration of function ‘ast_event_unsubscribe’ [-Wimplicit-function-declaration]
> res_corosync.c:539:23: warning: assignment makes pointer from integer without a cast [enabled by default]
> res_corosync.c: In function ‘cleanup_module’:
> res_corosync.c:582:23: warning: assignment makes pointer from integer without a cast [enabled by default]
> make[1]: *** [res_corosync.o] Error 1
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list