Skip to content

Instantly share code, notes, and snippets.

@lpradovera
Created August 1, 2017 15:45
Show Gist options
  • Save lpradovera/9bf1be1889e94d02fb67aef8f97edcc4 to your computer and use it in GitHub Desktop.
Save lpradovera/9bf1be1889e94d02fb67aef8f97edcc4 to your computer and use it in GitHub Desktop.
Making all in res-speech-unimrcp
make[1]: Entering directory `/root/unimrcp/asterisk-unimrcp/res-speech-unimrcp'
CC res_speech_unimrcp.lo
In file included from res_speech_unimrcp.c:28:
../include/ast_compat_defs.h:56:31: error: operator '<=' has no right operand
../include/ast_compat_defs.h:65:33: error: operator '<=' has no right operand
../include/ast_compat_defs.h:84:32: error: operator '<=' has no right operand
../include/ast_compat_defs.h:92:31: error: operator '<=' has no right operand
../include/ast_compat_defs.h:106:32: error: operator '<=' has no right operand
In file included from res_speech_unimrcp.c:28:
../include/ast_compat_defs.h: In function ‘ast_get_speechformat’:
../include/ast_compat_defs.h:135: error: ‘AST_FORMAT_ULAW’ undeclared (first use in this function)
../include/ast_compat_defs.h:135: error: (Each undeclared identifier is reported only once
../include/ast_compat_defs.h:135: error: for each function it appears in.)
../include/ast_compat_defs.h:136: error: ‘AST_FORMAT_ALAW’ undeclared (first use in this function)
../include/ast_compat_defs.h:140: error: ‘AST_FORMAT_SLINEAR’ undeclared (first use in this function)
../include/ast_compat_defs.h: In function ‘format_to_str’:
../include/ast_compat_defs.h:149: error: ‘AST_FORMAT_ULAW’ undeclared (first use in this function)
../include/ast_compat_defs.h:151: error: ‘AST_FORMAT_ALAW’ undeclared (first use in this function)
../include/ast_compat_defs.h:153: error: ‘AST_FORMAT_SLINEAR’ undeclared (first use in this function)
../include/ast_compat_defs.h: In function ‘format_to_bytes_per_sample’:
../include/ast_compat_defs.h:164: error: ‘AST_FORMAT_ULAW’ undeclared (first use in this function)
../include/ast_compat_defs.h:166: error: ‘AST_FORMAT_ALAW’ undeclared (first use in this function)
../include/ast_compat_defs.h:168: error: ‘AST_FORMAT_SLINEAR’ undeclared (first use in this function)
../include/ast_compat_defs.h:176:32: error: operator '<=' has no right operand
../include/ast_compat_defs.h:177:34: error: operator '<=' has no right operand
../include/ast_compat_defs.h: At top level:
../include/ast_compat_defs.h:187: error: conflicting types for ‘ast_channel_set_readformat’
/usr/include/asterisk/channel.h:4145: note: previous declaration of ‘ast_channel_set_readformat’ was here
../include/ast_compat_defs.h: In function ‘ast_channel_set_readformat’:
../include/ast_compat_defs.h:189: warning: passing argument 2 of ‘ast_set_read_format’ makes pointer from integer without a cast
/usr/include/asterisk/channel.h:2020: note: expected ‘struct ast_format *’ but argument is of type ‘int’
../include/ast_compat_defs.h: At top level:
../include/ast_compat_defs.h:191: error: conflicting types for ‘ast_channel_set_writeformat’
/usr/include/asterisk/channel.h:4146: note: previous declaration of ‘ast_channel_set_writeformat’ was here
../include/ast_compat_defs.h: In function ‘ast_channel_set_writeformat’:
../include/ast_compat_defs.h:193: warning: passing argument 2 of ‘ast_set_write_format’ makes pointer from integer without a cast
/usr/include/asterisk/channel.h:2037: note: expected ‘struct ast_format *’ but argument is of type ‘int’
../include/ast_compat_defs.h:197:32: error: operator '<=' has no right operand
../include/ast_compat_defs.h:216:34: error: operator '<=' has no right operand
../include/ast_compat_defs.h: In function ‘ast_channel_get_speechreadformat’:
../include/ast_compat_defs.h:238: error: dereferencing pointer to incomplete type
../include/ast_compat_defs.h: In function ‘ast_channel_get_speechwriteformat’:
../include/ast_compat_defs.h:245: error: dereferencing pointer to incomplete type
../include/ast_compat_defs.h: In function ‘ast_channel_get_readformat’:
../include/ast_compat_defs.h:252: error: dereferencing pointer to incomplete type
../include/ast_compat_defs.h: In function ‘ast_channel_get_writeformat’:
../include/ast_compat_defs.h:259: error: dereferencing pointer to incomplete type
../include/ast_compat_defs.h:270:31: error: operator '<=' has no right operand
../include/ast_compat_defs.h: In function ‘ast_frame_get_dtmfkey’:
../include/ast_compat_defs.h:273: error: incompatible types when returning type ‘struct ast_frame_subclass’ but ‘int’ was expected
../include/ast_compat_defs.h:279:31: error: operator '<=' has no right operand
../include/ast_compat_defs.h: In function ‘ast_frame_get_data’:
../include/ast_compat_defs.h:282: error: cannot convert to a pointer type
../include/ast_compat_defs.h:288:31: error: operator '<=' has no right operand
../include/ast_compat_defs.h: In function ‘ast_frame_set_data’:
../include/ast_compat_defs.h:291: error: incompatible types when assigning to type ‘union <anonymous>’ from type ‘void *’
../include/ast_compat_defs.h:297:32: error: operator '<=' has no right operand
../include/ast_compat_defs.h:299:34: error: operator '<=' has no right operand
../include/ast_compat_defs.h:301:33: error: operator '<=' has no right operand
../include/ast_compat_defs.h: In function ‘ast_frame_set_format’:
../include/ast_compat_defs.h:304: error: incompatible types when assigning to type ‘struct ast_frame_subclass’ from type ‘int’
../include/ast_compat_defs.h:313:32: error: operator '<=' has no right operand
../include/ast_compat_defs.h: In function ‘ast_uri_encode_http’:
../include/ast_compat_defs.h:316: error: incompatible type for argument 4 of ‘ast_uri_encode’
/usr/include/asterisk/utils.h:280: note: expected ‘struct ast_flags’ but argument is of type ‘int’
res_speech_unimrcp.c:145:31: error: operator '<=' has no right operand
res_speech_unimrcp.c:172:32: error: operator '<=' has no right operand
res_speech_unimrcp.c:177:33: error: operator '<=' has no right operand
res_speech_unimrcp.c:686:32: error: operator '<=' has no right operand
res_speech_unimrcp.c:736:31: error: operator '<=' has no right operand
res_speech_unimrcp.c:783:31: error: operator '<=' has no right operand
res_speech_unimrcp.c: In function ‘uni_recog_speech_result_build’:
res_speech_unimrcp.c:786: error: ‘struct ast_speech_result’ has no member named ‘next’
res_speech_unimrcp.c: At top level:
res_speech_unimrcp.c:1226: warning: initialization from incompatible pointer type
res_speech_unimrcp.c:1228: warning: initialization from incompatible pointer type
res_speech_unimrcp.c:1229: warning: initialization from incompatible pointer type
res_speech_unimrcp.c:1230: warning: initialization from incompatible pointer type
res_speech_unimrcp.c:1231: warning: initialization from incompatible pointer type
res_speech_unimrcp.c:1235: warning: initialization from incompatible pointer type
res_speech_unimrcp.c:1236:32: error: operator '<=' has no right operand
res_speech_unimrcp.c:1239: warning: initialization from incompatible pointer type
res_speech_unimrcp.c:1241: warning: initialization from incompatible pointer type
res_speech_unimrcp.c:1302:31: error: operator '<=' has no right operand
res_speech_unimrcp.c:1306:60: error: macro "ast_config_load" requires 2 arguments, but only 1 given
res_speech_unimrcp.c: In function ‘uni_engine_config_load’:
res_speech_unimrcp.c:1306: error: ‘ast_config_load’ undeclared (first use in this function)
res_speech_unimrcp.c:1312:31: error: operator '<=' has no right operand
res_speech_unimrcp.c:1466:32: error: operator '<=' has no right operand
res_speech_unimrcp.c: In function ‘load_module’:
res_speech_unimrcp.c:1489: error: ‘AST_FORMAT_SLINEAR’ undeclared (first use in this function)
make[1]: *** [res_speech_unimrcp.lo] Error 1
make[1]: Leaving directory `/root/unimrcp/asterisk-unimrcp/res-speech-unimrcp'
make: *** [all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment