On 12/15/13 6:51 AM, Jim Duuuude wrote:
Broke?? how?? what *ARE* you talking about?
Broke as in does not compile from SVN. It does compile fine from the main distro however. Errors below root@KB9MCI:~/trunk/asterisk# make menuselect/menuselect --check-deps menuselect.makeopts Generating embedded module rules ... make[1]: Entering directory `/root/trunk/asterisk/utils' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/trunk/asterisk/utils' make[1]: Entering directory `/root/trunk/asterisk/agi' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/trunk/asterisk/agi' make[1]: Entering directory `/root/trunk/asterisk/res' [CC] res_musiconhold.c -> res_musiconhold.o [LD] res_musiconhold.o -> res_musiconhold.so make[1]: Leaving directory `/root/trunk/asterisk/res' make[1]: Entering directory `/root/trunk/asterisk/channels' [CC] chan_dahdi.c -> chan_dahdi.o [CC] chan_iax2.c -> chan_iax2.o [LD] chan_simpleusb.o -> chan_simpleusb.so [LD] chan_usbradio.o -> chan_usbradio.so [CC] chan_voter.c -> chan_voter.o chan_voter.c: In function ‘voter_text’: chan_voter.c:1129: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1184: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1186: error: request for member ‘ptr’ in something not a structure or union chan_voter.c: In function ‘voter_write’: chan_voter.c:1227: error: request for member ‘ptr’ in something not a structure or union chan_voter.c: In function ‘ast_frcat’: chan_voter.c:1263: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1264: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1269: error: request for member ‘ptr’ in something not a structure or union chan_voter.c: In function ‘voter_mix_and_send’: chan_voter.c:1293: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1384: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1396: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1397: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1427: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1463: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1487: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1532: error: request for member ‘ptr’ in something not a structure or union chan_voter.c: In function ‘voter_xmit’: chan_voter.c:1775: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1784: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1809: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1842: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1878: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1924: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1937: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1979: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:1989: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:2047: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:2057: error: request for member ‘ptr’ in something not a structure or union chan_voter.c: In function ‘voter_request’: chan_voter.c:2226: error: ‘DSP_FEATURE_DIGIT_DETECT’ undeclared (first use in this function) chan_voter.c:2226: error: (Each undeclared identifier is reported only once chan_voter.c:2226: error: for each function it appears in.) chan_voter.c:2227: warning: implicit declaration of function ‘ast_dsp_set_digitmode’ chan_voter.c:2337: error: too many arguments to function ‘ast_config_load’ chan_voter.c: In function ‘res2cli’: chan_voter.c:3034: error: ‘CLI_SUCCESS’ undeclared (first use in this function) chan_voter.c:3036: error: ‘CLI_SHOWUSAGE’ undeclared (first use in this function) chan_voter.c:3038: error: ‘CLI_FAILURE’ undeclared (first use in this function) chan_voter.c: At top level: chan_voter.c:3043: warning: ‘struct ast_cli_args’ declared inside parameter list chan_voter.c:3043: warning: its scope is only this definition or declaration, which is probably not what you want chan_voter.c: In function ‘handle_cli_debug’: chan_voter.c:3046: error: ‘CLI_INIT’ undeclared (first use in this function) chan_voter.c:3047: error: ‘struct ast_cli_entry’ has no member named ‘command’ chan_voter.c:3050: error: ‘CLI_GENERATE’ undeclared (first use in this function) chan_voter.c:3053: error: dereferencing pointer to incomplete type chan_voter.c:3053: error: dereferencing pointer to incomplete type chan_voter.c:3053: error: dereferencing pointer to incomplete type chan_voter.c: At top level: chan_voter.c:3057: warning: ‘struct ast_cli_args’ declared inside parameter list chan_voter.c: In function ‘handle_cli_test’: chan_voter.c:3060: error: ‘CLI_INIT’ undeclared (first use in this function) chan_voter.c:3061: error: ‘struct ast_cli_entry’ has no member named ‘command’ chan_voter.c:3064: error: ‘CLI_GENERATE’ undeclared (first use in this function) chan_voter.c:3067: error: dereferencing pointer to incomplete type chan_voter.c:3067: error: dereferencing pointer to incomplete type chan_voter.c:3067: error: dereferencing pointer to incomplete type chan_voter.c: At top level: chan_voter.c:3071: warning: ‘struct ast_cli_args’ declared inside parameter list chan_voter.c: In function ‘handle_cli_prio’: chan_voter.c:3074: error: ‘CLI_INIT’ undeclared (first use in this function) chan_voter.c:3075: error: ‘struct ast_cli_entry’ has no member named ‘command’ chan_voter.c:3078: error: ‘CLI_GENERATE’ undeclared (first use in this function) chan_voter.c:3081: error: dereferencing pointer to incomplete type chan_voter.c:3081: error: dereferencing pointer to incomplete type chan_voter.c:3081: error: dereferencing pointer to incomplete type chan_voter.c: At top level: chan_voter.c:3085: warning: ‘struct ast_cli_args’ declared inside parameter list chan_voter.c: In function ‘handle_cli_record’: chan_voter.c:3088: error: ‘CLI_INIT’ undeclared (first use in this function) chan_voter.c:3089: error: ‘struct ast_cli_entry’ has no member named ‘command’ chan_voter.c:3092: error: ‘CLI_GENERATE’ undeclared (first use in this function) chan_voter.c:3095: error: dereferencing pointer to incomplete type chan_voter.c:3095: error: dereferencing pointer to incomplete type chan_voter.c:3095: error: dereferencing pointer to incomplete type chan_voter.c: At top level: chan_voter.c:3099: warning: ‘struct ast_cli_args’ declared inside parameter list chan_voter.c: In function ‘handle_cli_tone’: chan_voter.c:3102: error: ‘CLI_INIT’ undeclared (first use in this function) chan_voter.c:3103: error: ‘struct ast_cli_entry’ has no member named ‘command’ chan_voter.c:3106: error: ‘CLI_GENERATE’ undeclared (first use in this function) chan_voter.c:3109: error: dereferencing pointer to incomplete type chan_voter.c:3109: error: dereferencing pointer to incomplete type chan_voter.c:3109: error: dereferencing pointer to incomplete type chan_voter.c: At top level: chan_voter.c:3113: warning: ‘struct ast_cli_args’ declared inside parameter list chan_voter.c: In function ‘handle_cli_reload’: chan_voter.c:3116: error: ‘CLI_INIT’ undeclared (first use in this function) chan_voter.c:3117: error: ‘struct ast_cli_entry’ has no member named ‘command’ chan_voter.c:3120: error: ‘CLI_GENERATE’ undeclared (first use in this function) chan_voter.c:3123: error: dereferencing pointer to incomplete type chan_voter.c:3123: error: dereferencing pointer to incomplete type chan_voter.c:3123: error: dereferencing pointer to incomplete type chan_voter.c: At top level: chan_voter.c:3127: warning: ‘struct ast_cli_args’ declared inside parameter list chan_voter.c: In function ‘handle_cli_display’: chan_voter.c:3130: error: ‘CLI_INIT’ undeclared (first use in this function) chan_voter.c:3131: error: ‘struct ast_cli_entry’ has no member named ‘command’ chan_voter.c:3134: error: ‘CLI_GENERATE’ undeclared (first use in this function) chan_voter.c:3137: error: dereferencing pointer to incomplete type chan_voter.c:3137: error: dereferencing pointer to incomplete type chan_voter.c:3137: error: dereferencing pointer to incomplete type chan_voter.c: At top level: chan_voter.c:3141: warning: ‘struct ast_cli_args’ declared inside parameter list chan_voter.c: In function ‘handle_cli_txlockout’: chan_voter.c:3144: error: ‘CLI_INIT’ undeclared (first use in this function) chan_voter.c:3145: error: ‘struct ast_cli_entry’ has no member named ‘command’ chan_voter.c:3148: error: ‘CLI_GENERATE’ undeclared (first use in this function) chan_voter.c:3151: error: dereferencing pointer to incomplete type chan_voter.c:3151: error: dereferencing pointer to incomplete type chan_voter.c:3151: error: dereferencing pointer to incomplete type chan_voter.c: At top level: chan_voter.c:3155: warning: ‘struct ast_cli_args’ declared inside parameter list chan_voter.c: In function ‘handle_cli_ping’: chan_voter.c:3158: error: ‘CLI_INIT’ undeclared (first use in this function) chan_voter.c:3159: error: ‘struct ast_cli_entry’ has no member named ‘command’ chan_voter.c:3162: error: ‘CLI_GENERATE’ undeclared (first use in this function) chan_voter.c:3165: error: dereferencing pointer to incomplete type chan_voter.c:3165: error: dereferencing pointer to incomplete type chan_voter.c:3165: error: dereferencing pointer to incomplete type chan_voter.c: At top level: chan_voter.c:3169: warning: implicit declaration of function ‘AST_CLI_DEFINE’ chan_voter.c:3169: warning: missing braces around initializer chan_voter.c:3169: warning: (near initialization for ‘voter_cli[0]’) chan_voter.c:3169: error: initializer element is not constant chan_voter.c:3169: error: (near initialization for ‘voter_cli[0].cmda[0]’) chan_voter.c:3170: error: initializer element is not constant chan_voter.c:3170: error: (near initialization for ‘voter_cli[0].cmda[1]’) chan_voter.c:3171: error: initializer element is not constant chan_voter.c:3171: error: (near initialization for ‘voter_cli[0].cmda[2]’) chan_voter.c:3172: error: initializer element is not constant chan_voter.c:3172: error: (near initialization for ‘voter_cli[0].cmda[3]’) chan_voter.c:3173: error: initializer element is not constant chan_voter.c:3173: error: (near initialization for ‘voter_cli[0].cmda[4]’) chan_voter.c:3174: error: initializer element is not constant chan_voter.c:3174: error: (near initialization for ‘voter_cli[0].cmda[5]’) chan_voter.c:3175: error: initializer element is not constant chan_voter.c:3175: error: (near initialization for ‘voter_cli[0].cmda[6]’) chan_voter.c:3176: error: initializer element is not constant chan_voter.c:3176: error: (near initialization for ‘voter_cli[0].cmda[7]’) chan_voter.c:3177: error: initializer element is not constant chan_voter.c:3177: error: (near initialization for ‘voter_cli[0].cmda[8]’) chan_voter.c: In function ‘voter_reader’: chan_voter.c:3488: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:3488: warning: statement with no effect chan_voter.c:3649: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:3649: warning: statement with no effect chan_voter.c:3849: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:3849: warning: statement with no effect chan_voter.c:3886: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:3886: warning: statement with no effect chan_voter.c:3903: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:3903: warning: pointer type mismatch in conditional expression chan_voter.c:3909: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:3909: warning: pointer type mismatch in conditional expression chan_voter.c:3912: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:3912: warning: pointer type mismatch in conditional expression chan_voter.c:4160: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:4160: warning: statement with no effect chan_voter.c:4232: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:4232: warning: statement with no effect chan_voter.c:4296: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:4296: warning: statement with no effect chan_voter.c:4316: error: request for member ‘ptr’ in something not a structure or union chan_voter.c:4316: warning: statement with no effect chan_voter.c: In function ‘reload’: chan_voter.c:4592: error: too many arguments to function ‘ast_config_load’ chan_voter.c: In function ‘load_module’: chan_voter.c:4986: error: too many arguments to function ‘ast_config_load’ make[1]: *** [chan_voter.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/root/trunk/asterisk/channels' make: *** [channels] Error 2 root@KB9MCI:~/trunk/asterisk# -- Bryan Fields 727-409-1194 - Voice 727-214-2508 - Fax http://bryanfields.net