Summary: | ASTERISK-22912: res_corosync doesn't build in Asterisk 12 beta2 | ||||
Reporter: | Malcolm Davenport (mdavenport) | Labels: | |||
Date Opened: | 2013-11-26 10:19:00.000-0600 | Date Closed: | 2013-11-26 12:04:39.000-0600 | ||
Priority: | Minor | Regression? | Yes | ||
Status: | Closed/Complete | Components: | Resources/res_corosync | ||
Versions: | 12.0.0-beta2 | Frequency of Occurrence | Constant | ||
Related Issues: |
| ||||
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 | Attachments: | |||
Description: | 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} | ||||
Comments: | By: Matt Jordan (mjordan) 2013-11-26 10:22:19.830-0600 Yup, we haven't ported it over to Stasis yet. :-( |