<div>Olá!</div>
<div> </div>
<div>  Me deram a missão aqui na empresa de testar o verbio. </div>
<div>  Estou tentando subir ele usando asterisk 11.2.1 porem deparo com o erro abaixo:</div>
<div> </div>
<div>    /asterisk/asterisk-11.2.1/include/asterisk/version.h:1:2: error: #error "Do not include 'asterisk/version.h'; use 'asterisk/ast_version.h' instead."</div>
<div> </div>
<div>   Segui o tutorial: http://www.elastixbrasil.com.br/index.php?option=com_content&amp;view=article&amp;id=193:tutorial-passo-a-passo-de-instalacao-do-verbio&amp;catid=15:elastix&amp;Itemid=72</div>
<div> </div>
<div>   Esse erro ocorre apos eu tentar compilar o asterisk com o make.</div>
<div> </div>
<div>   Será que funciona? Tenho que realizar alguma modificação? O grande problema é que não podemos realizar o downgrade do asterisk.</div>
<div> </div>
<div> </div>
<div>    Segue o erro completo abaixo.</div>
<div> </div>
<div>    Quem puder ajudar fico grata.</div>
<div> </div>
<div>        Vanessa.</div>
<div> </div>
<div> </div>
<div>Generating embedded module rules ...</div>
<div>
<div>   [CC] chan_iax2.c -&gt; chan_iax2.o</div>
<div>   [CC] iax2-parser.c -&gt; iax2-parser.o</div>
<div>   [CC] iax2-provision.c -&gt; iax2-provision.o</div>
<div>   [LD] chan_iax2.o iax2-parser.o iax2-provision.o -&gt; chan_iax2.so</div>
<div>   [CC] chan_sip.c -&gt; chan_sip.o</div>
<div>   [CC] sip/config_parser.c -&gt; sip/config_parser.o</div>
<div>   [CC] sip/dialplan_functions.c -&gt; sip/dialplan_functions.o</div>
<div>   [CC] sip/reqresp_parser.c -&gt; sip/reqresp_parser.o</div>
<div>   [CC] sip/security_events.c -&gt; sip/security_events.o</div>
<div>   [CC] sip/utils.c -&gt; sip/utils.o</div>
<div>   [LD] chan_sip.o sip/config_parser.o sip/dialplan_functions.o sip/reqresp_parser.o sip/sdp_crypto.o sip/security_events.o sip/srtp.o sip/utils.o -&gt; chan_sip.so</div>
<div>   [CC] pbx_dundi.c -&gt; pbx_dundi.o</div>
<div>   [CC] dundi-parser.c -&gt; dundi-parser.o</div>
<div>   [LD] pbx_dundi.o dundi-parser.o -&gt; pbx_dundi.so</div>
<div>   [CC] app_externalivr.c -&gt; app_externalivr.o</div>
<div>   [LD] app_externalivr.o -&gt; app_externalivr.so</div>
<div>   [CC] app_verbio_speech.c -&gt; app_verbio_speech.o</div>
<div>In file included from app_verbio_speech.c:46:</div>
</div>
<div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/version.h:1:2: error: #error "Do not include 'asterisk/version.h'; use 'asterisk/ast_version.h' instead."</div>
<div>app_verbio_speech.c:355: warning: data definition has no type or storage class</div>
<div>app_verbio_speech.c:355: warning: type defaults to ‘int’ in declaration of ‘STANDARD_LOCAL_USER’</div>
<div>app_verbio_speech.c:356: warning: data definition has no type or storage class</div>
<div>app_verbio_speech.c:356: warning: type defaults to ‘int’ in declaration of ‘LOCAL_USER_DECL’</div>
<div>app_verbio_speech.c:426:36: error: macro "ast_config_load" requires 2 arguments, but only 1 given</div>
<div>app_verbio_speech.c: In function ‘verbio_load_asterisk_config’:</div>
<div>app_verbio_speech.c:426: error: ‘ast_config_load’ undeclared (first use in this function)</div>
<div>app_verbio_speech.c:426: error: (Each undeclared identifier is reported only once</div>
<div>app_verbio_speech.c:426: error: for each function it appears in.)</div>
<div>app_verbio_speech.c: In function ‘verbio_md5_grammar_exists’:</div>
<div>app_verbio_speech.c:507: warning: implicit declaration of function ‘stat’</div>
<div>app_verbio_speech.c:510: warning: implicit declaration of function ‘mkdir’</div>
<div>app_verbio_speech.c: In function ‘verbio_get_dev’:</div>
<div>app_verbio_speech.c:840: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:842: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c: In function ‘verbio_prompt’:</div>
<div>app_verbio_speech.c:1269: warning: implicit declaration of function ‘LOCAL_USER_ADD’</div>
<div>app_verbio_speech.c:1280: warning: implicit declaration of function ‘LOCAL_USER_REMOVE’</div>
<div>app_verbio_speech.c:1494: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:1541: warning: passing argument 2 of ‘ast_set_write_format’ makes pointer from integer without a cast</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/channel.h:1820: note: expected ‘struct ast_format *’ but argument is of type ‘int’</div>
<div>app_verbio_speech.c:1552: warning: passing argument 2 of ‘ast_set_read_format’ makes pointer from integer without a cast</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/channel.h:1795: note: expected ‘struct ast_format *’ but argument is of type ‘int’</div>
<div>app_verbio_speech.c:1605: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:1628: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:1645: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:1649: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:1738: error: incompatible types when assigning to type ‘union &lt;anonymous&gt;’ from type ‘char **’</div>
<div>app_verbio_speech.c:1757: error: invalid operands to binary == (have ‘union ast_frame_subclass’ and ‘int’)</div>
<div>app_verbio_speech.c:1763: error: incompatible type for argument 2 of ‘verbio_set_dtmf_result’</div>
<div>app_verbio_speech.c:1152: note: expected ‘int’ but argument is of type ‘union ast_frame_subclass’</div>
<div>app_verbio_speech.c:1770: warning: format ‘%c’ expects type ‘int’, but argument 6 has type ‘union ast_frame_subclass’</div>
<div>app_verbio_speech.c:1776: error: invalid operands to binary == (have ‘union ast_frame_subclass’ and ‘int’)</div>
<div>app_verbio_speech.c:1788: warning: format ‘%c’ expects type ‘int’, but argument 6 has type ‘union ast_frame_subclass’</div>
<div>app_verbio_speech.c: In function ‘verbio_rec’:</div>
<div>app_verbio_speech.c:2077: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:2135: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:2157: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:2171: warning: passing argument 2 of ‘ast_set_write_format’ makes pointer from integer without a cast</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/channel.h:1820: note: expected ‘struct ast_format *’ but argument is of type ‘int’</div>
<div>app_verbio_speech.c:2182: warning: passing argument 2 of ‘ast_set_read_format’ makes pointer from integer without a cast</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/channel.h:1795: note: expected ‘struct ast_format *’ but argument is of type ‘int’</div>
<div>app_verbio_speech.c:2289: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:2293: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:2373: error: incompatible type for argument 2 of ‘vox_recstr_write’</div>
<div>/usr/include/voxlib.h:318: note: expected ‘const void *’ but argument is of type ‘union &lt;anonymous&gt;’</div>
<div>app_verbio_speech.c:2393: error: incompatible type for argument 2 of ‘verbio_set_dtmf_result’</div>
<div>app_verbio_speech.c:1152: note: expected ‘int’ but argument is of type ‘union ast_frame_subclass’</div>
<div>app_verbio_speech.c:2399: error: invalid operands to binary == (have ‘union ast_frame_subclass’ and ‘int’)</div>
<div>app_verbio_speech.c: In function ‘verbio_prompt_and_rec’:</div>
<div>app_verbio_speech.c:2947: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:2971: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:3053: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:3075: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:3089: warning: passing argument 2 of ‘ast_set_write_format’ makes pointer from integer without a cast</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/channel.h:1820: note: expected ‘struct ast_format *’ but argument is of type ‘int’</div>
<div>app_verbio_speech.c:3100: warning: passing argument 2 of ‘ast_set_read_format’ makes pointer from integer without a cast</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/channel.h:1795: note: expected ‘struct ast_format *’ but argument is of type ‘int’</div>
<div>app_verbio_speech.c:3390: error: incompatible types when assigning to type ‘union &lt;anonymous&gt;’ from type ‘char **’</div>
<div>app_verbio_speech.c:3417: error: incompatible type for argument 2 of ‘verbio_set_dtmf_result’</div>
<div>app_verbio_speech.c:1152: note: expected ‘int’ but argument is of type ‘union ast_frame_subclass’</div>
<div>app_verbio_speech.c:3423: error: invalid operands to binary == (have ‘union ast_frame_subclass’ and ‘int’)</div>
<div>app_verbio_speech.c:3472: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:3475: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:3575: error: incompatible type for argument 2 of ‘vox_vsd_write’</div>
<div>/usr/include/voxlib.h:339: note: expected ‘const void *’ but argument is of type ‘union &lt;anonymous&gt;’</div>
<div>app_verbio_speech.c:3590: error: incompatible type for argument 2 of ‘vox_recstr_write’</div>
<div>/usr/include/voxlib.h:318: note: expected ‘const void *’ but argument is of type ‘union &lt;anonymous&gt;’</div>
<div>app_verbio_speech.c:3614: error: incompatible type for argument 2 of ‘vox_recstr_write’</div>
<div>/usr/include/voxlib.h:318: note: expected ‘const void *’ but argument is of type ‘union &lt;anonymous&gt;’</div>
<div>app_verbio_speech.c:3639: error: incompatible types when assigning to type ‘union &lt;anonymous&gt;’ from type ‘char **’</div>
<div>app_verbio_speech.c:3667: error: incompatible type for argument 2 of ‘verbio_set_dtmf_result’</div>
<div>app_verbio_speech.c:1152: note: expected ‘int’ but argument is of type ‘union ast_frame_subclass’</div>
<div>app_verbio_speech.c:3673: error: invalid operands to binary == (have ‘union ast_frame_subclass’ and ‘int’)</div>
<div>app_verbio_speech.c: In function ‘verbio_stream_and_rec’:</div>
<div>app_verbio_speech.c:4145: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:4219: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:4241: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:4255: warning: passing argument 2 of ‘ast_set_write_format’ makes pointer from integer without a cast</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/channel.h:1820: note: expected ‘struct ast_format *’ but argument is of type ‘int’</div>
<div>app_verbio_speech.c:4266: warning: passing argument 2 of ‘ast_set_read_format’ makes pointer from integer without a cast</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/channel.h:1795: note: expected ‘struct ast_format *’ but argument is of type ‘int’</div>
<div>app_verbio_speech.c:4412: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:4415: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:4490: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:4503: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:4506: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:4525: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:4585: error: invalid operands to binary == (have ‘union ast_frame_subclass’ and ‘int’)</div>
<div>app_verbio_speech.c:4599: error: incompatible type for argument 2 of ‘vox_vsd_write’</div>
<div>/usr/include/voxlib.h:339: note: expected ‘const void *’ but argument is of type ‘union &lt;anonymous&gt;’</div>
<div>app_verbio_speech.c:4615: error: incompatible type for argument 2 of ‘vox_recstr_write’</div>
<div>/usr/include/voxlib.h:318: note: expected ‘const void *’ but argument is of type ‘union &lt;anonymous&gt;’</div>
<div>app_verbio_speech.c:4638: error: incompatible type for argument 2 of ‘vox_recstr_write’</div>
<div>/usr/include/voxlib.h:318: note: expected ‘const void *’ but argument is of type ‘union &lt;anonymous&gt;’</div>
<div>app_verbio_speech.c:4659: error: incompatible type for argument 2 of ‘verbio_set_dtmf_result’</div>
<div>app_verbio_speech.c:1152: note: expected ‘int’ but argument is of type ‘union ast_frame_subclass’</div>
<div>app_verbio_speech.c:4665: error: invalid operands to binary == (have ‘union ast_frame_subclass’ and ‘int’)</div>
<div>app_verbio_speech.c:4684: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c: In function ‘verbio_info’:</div>
<div>app_verbio_speech.c:5450: error: ‘ASTERISK_VERSION_NUM’ undeclared (first use in this function)</div>
<div>app_verbio_speech.c:5457: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c:5462: error: dereferencing pointer to incomplete type</div>
<div>app_verbio_speech.c: At top level:</div>
<div>app_verbio_speech.c:5678: warning: no previous prototype for ‘unload_module’</div>
<div>app_verbio_speech.c: In function ‘unload_module’:</div>
<div>app_verbio_speech.c:5713: error: ‘STANDARD_HANGUP_LOCALUSERS’ undeclared (first use in this function)</div>
<div>app_verbio_speech.c: At top level:</div>
<div>app_verbio_speech.c:5728: warning: no previous prototype for ‘load_module’</div>
<div>app_verbio_speech.c: In function ‘load_module’:</div>
<div>app_verbio_speech.c:5765: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’</div>
<div>app_verbio_speech.c:5766: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’</div>
<div>app_verbio_speech.c:5767: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’</div>
<div>app_verbio_speech.c:5772: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’</div>
<div>app_verbio_speech.c:5773: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’</div>
<div>app_verbio_speech.c:5774: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’</div>
<div>app_verbio_speech.c:5775: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’</div>
<div>app_verbio_speech.c:5776: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’</div>
<div>app_verbio_speech.c:5777: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’</div>
<div>app_verbio_speech.c:5782: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’</div>
<div>app_verbio_speech.c:5783: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’</div>
<div>app_verbio_speech.c:5784: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’</div>
<div>app_verbio_speech.c:5785: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’</div>
<div>app_verbio_speech.c:5790: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type</div>
<div>/asterisk/asterisk-11.2.1/include/asterisk/module.h:458: note: expected ‘int (*)(struct ast_channel *, const char *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’</div>
<div>app_verbio_speech.c: At top level:</div>
<div>app_verbio_speech.c:5802: warning: no previous prototype for ‘usecount’</div>
<div>app_verbio_speech.c: In function ‘usecount’:</div>
<div>app_verbio_speech.c:5805: warning: implicit declaration of function ‘STANDARD_USECOUNT’</div>
<div>app_verbio_speech.c: At top level:</div>
<div>app_verbio_speech.c:5810: warning: function declaration isn’t a prototype</div>
<div>app_verbio_speech.c:5814: warning: no previous prototype for ‘description’</div>
<div>make[2]: ** [app_verbio_speech.o] Erro 1</div>
<div>make[1]: ** [apps] Erro 2</div>
<div>make[1]: Saindo do diretório `/asterisk/asterisk-11.2.1'</div>
<div>make: ** [_cleantest_all] Erro 2</div>
</div>
<div>     </div>
<div><object id="c87b0b4a-e898-b4be-9a8b-69911897b487" type="application/gas-events-cef" width="0" height="0"></object></div>