<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
are you trying this on a normal ACID install?<br><br><div><div id="SkyDrivePlaceholder"></div>> From: buddy@brannan.name<br>> Date: Sat, 17 Dec 2011 16:28:56 -0500<br>> To: App_rpt-users@ohnosec.org<br>> Subject: [App_rpt-users] Can't compile latest svn<br>> <br>> Hi,<br>> <br>> I'm not sure what has changed (or what I should change), but for some reason, the latest asterisk from svn won't compile. This started a couple weeks ago, and I accidentally *really* broke things. Fortunately I had an old source tree and have a now working 0.281.<br>> <br>> Even grabbing a fresh download, rather than updating what's already there, nets the same exiting of the make. Here's what happens right before things quit compiling:<br>> <br>> CC] chan_voter.c -> chan_voter.o<br>> chan_voter.c: In function ‘voter_write’:<br>> chan_voter.c:769: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c: In function ‘ast_frcat’:<br>> chan_voter.c:805: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:806: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:811: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c: In function ‘voter_mix_and_send’:<br>> chan_voter.c:834: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:904: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:916: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:917: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:937: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:972: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:994: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:1015: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:1060: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c: In function ‘voter_xmit’:<br>> chan_voter.c:1116: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:1147: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:1167: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:1198: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:1208: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:1245: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:1255: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c: In function ‘voter_request’:<br>> chan_voter.c:1349: error: ‘DSP_FEATURE_DIGIT_DETECT’ undeclared (first use in this function)<br>> chan_voter.c:1349: error: (Each undeclared identifier is reported only once<br>> chan_voter.c:1349: error: for each function it appears in.)<br>> chan_voter.c:1350: warning: implicit declaration of function ‘ast_dsp_set_digitmode’<br>> chan_voter.c:1459: error: too many arguments to function ‘ast_config_load’<br>> chan_voter.c: In function ‘res2cli’:<br>> chan_voter.c:1767: error: ‘CLI_SUCCESS’ undeclared (first use in this function)<br>> chan_voter.c:1769: error: ‘CLI_SHOWUSAGE’ undeclared (first use in this function)<br>> chan_voter.c:1771: error: ‘CLI_FAILURE’ undeclared (first use in this function)<br>> chan_voter.c: At top level:<br>> chan_voter.c:1776: warning: ‘struct ast_cli_args’ declared inside parameter list<br>> chan_voter.c:1776: warning: its scope is only this definition or declaration, which is probably not what you want<br>> chan_voter.c: In function ‘handle_cli_debug’:<br>> chan_voter.c:1779: error: ‘CLI_INIT’ undeclared (first use in this function)<br>> chan_voter.c:1780: error: ‘struct ast_cli_entry’ has no member named ‘command’<br>> chan_voter.c:1783: error: ‘CLI_GENERATE’ undeclared (first use in this function)<br>> chan_voter.c:1786: error: dereferencing pointer to incomplete type<br>> chan_voter.c:1786: error: dereferencing pointer to incomplete type<br>> chan_voter.c:1786: error: dereferencing pointer to incomplete type<br>> chan_voter.c: At top level:<br>> chan_voter.c:1790: warning: ‘struct ast_cli_args’ declared inside parameter list<br>> chan_voter.c: In function ‘handle_cli_test’:<br>> chan_voter.c:1793: error: ‘CLI_INIT’ undeclared (first use in this function)<br>> chan_voter.c:1794: error: ‘struct ast_cli_entry’ has no member named ‘command’<br>> chan_voter.c:1797: error: ‘CLI_GENERATE’ undeclared (first use in this function)<br>> chan_voter.c:1800: error: dereferencing pointer to incomplete type<br>> chan_voter.c:1800: error: dereferencing pointer to incomplete type<br>> chan_voter.c:1800: error: dereferencing pointer to incomplete type<br>> chan_voter.c: At top level:<br>> chan_voter.c:1804: warning: ‘struct ast_cli_args’ declared inside parameter list<br>> chan_voter.c: In function ‘handle_cli_record’:<br>> chan_voter.c:1807: error: ‘CLI_INIT’ undeclared (first use in this function)<br>> chan_voter.c:1808: error: ‘struct ast_cli_entry’ has no member named ‘command’<br>> chan_voter.c:1811: error: ‘CLI_GENERATE’ undeclared (first use in this function)<br>> chan_voter.c:1814: error: dereferencing pointer to incomplete type<br>> chan_voter.c:1814: error: dereferencing pointer to incomplete type<br>> chan_voter.c:1814: error: dereferencing pointer to incomplete type<br>> chan_voter.c: At top level:<br>> chan_voter.c:1818: warning: ‘struct ast_cli_args’ declared inside parameter list<br>> chan_voter.c: In function ‘handle_cli_tone’:<br>> chan_voter.c:1821: error: ‘CLI_INIT’ undeclared (first use in this function)<br>> chan_voter.c:1822: error: ‘struct ast_cli_entry’ has no member named ‘command’<br>> chan_voter.c:1825: error: ‘CLI_GENERATE’ undeclared (first use in this function)<br>> chan_voter.c:1828: error: dereferencing pointer to incomplete type<br>> chan_voter.c:1828: error: dereferencing pointer to incomplete type<br>> chan_voter.c:1828: error: dereferencing pointer to incomplete type<br>> chan_voter.c: At top level:<br>> chan_voter.c:1832: warning: ‘struct ast_cli_args’ declared inside parameter list<br>> chan_voter.c: In function ‘handle_cli_reload’:<br>> chan_voter.c:1835: error: ‘CLI_INIT’ undeclared (first use in this function)<br>> chan_voter.c:1836: error: ‘struct ast_cli_entry’ has no member named ‘command’<br>> chan_voter.c:1839: error: ‘CLI_GENERATE’ undeclared (first use in this function)<br>> chan_voter.c:1842: error: dereferencing pointer to incomplete type<br>> chan_voter.c:1842: error: dereferencing pointer to incomplete type<br>> chan_voter.c:1842: error: dereferencing pointer to incomplete type<br>> chan_voter.c: At top level:<br>> chan_voter.c:1846: warning: ‘struct ast_cli_args’ declared inside parameter list<br>> chan_voter.c: In function ‘handle_cli_display’:<br>> chan_voter.c:1849: error: ‘CLI_INIT’ undeclared (first use in this function)<br>> chan_voter.c:1850: error: ‘struct ast_cli_entry’ has no member named ‘command’<br>> chan_voter.c:1853: error: ‘CLI_GENERATE’ undeclared (first use in this function)<br>> chan_voter.c:1856: error: dereferencing pointer to incomplete type<br>> chan_voter.c:1856: error: dereferencing pointer to incomplete type<br>> chan_voter.c:1856: error: dereferencing pointer to incomplete type<br>> chan_voter.c: At top level:<br>> chan_voter.c:1860: warning: implicit declaration of function ‘AST_CLI_DEFINE’<br>> chan_voter.c:1860: warning: missing braces around initializer<br>> chan_voter.c:1860: warning: (near initialization for ‘voter_cli[0]’)<br>> chan_voter.c:1860: error: initializer element is not constant<br>> chan_voter.c:1860: error: (near initialization for ‘voter_cli[0].cmda[0]’)<br>> chan_voter.c:1861: error: initializer element is not constant<br>> chan_voter.c:1861: error: (near initialization for ‘voter_cli[0].cmda[1]’)<br>> chan_voter.c:1862: error: initializer element is not constant<br>> chan_voter.c:1862: error: (near initialization for ‘voter_cli[0].cmda[2]’)<br>> chan_voter.c:1863: error: initializer element is not constant<br>> chan_voter.c:1863: error: (near initialization for ‘voter_cli[0].cmda[3]’)<br>> chan_voter.c:1864: error: initializer element is not constant<br>> chan_voter.c:1864: error: (near initialization for ‘voter_cli[0].cmda[4]’)<br>> chan_voter.c:1865: error: initializer element is not constant<br>> chan_voter.c:1865: error: (near initialization for ‘voter_cli[0].cmda[5]’)<br>> chan_voter.c: In function ‘voter_reader’:<br>> chan_voter.c:2061: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:2061: warning: statement with no effect<br>> chan_voter.c:2235: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:2235: warning: statement with no effect<br>> chan_voter.c:2272: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:2272: warning: statement with no effect<br>> chan_voter.c:2289: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:2289: warning: pointer type mismatch in conditional expression<br>> chan_voter.c:2295: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:2295: warning: pointer type mismatch in conditional expression<br>> chan_voter.c:2298: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:2298: warning: pointer type mismatch in conditional expression<br>> chan_voter.c:2507: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:2507: warning: statement with no effect<br>> chan_voter.c:2577: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:2577: warning: statement with no effect<br>> chan_voter.c:2635: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:2635: warning: statement with no effect<br>> chan_voter.c:2656: error: request for member ‘ptr’ in something not a structure or union<br>> chan_voter.c:2656: warning: statement with no effect<br>> chan_voter.c: In function ‘reload’:<br>> chan_voter.c:2824: error: too many arguments to function ‘ast_config_load’<br>> chan_voter.c: In function ‘load_module’:<br>> chan_voter.c:3183: error: too many arguments to function ‘ast_config_load’<br>> make[1]: *** [chan_voter.o] Error 1<br>> make[1]: Leaving directory `/usr/src/trunk/asterisk/channels'<br>> make: *** [channels] Error 2<br>> <br>> <br>> Any idea what went wrong/what I'm missing?<br>> <br>> I'm still using the Acid distro from last year sometime, all updated with yum. <br>> --<br>> Buddy Brannan, KB5ELV - Erie, PA<br>> Phone: (814) 860-3194 or 888-75-BUDDY<br>> <br>> <br>> <br>> _______________________________________________<br>> App_rpt-users mailing list<br>> App_rpt-users@ohnosec.org<br>> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users<br></div> </div></body>
</html>