All pastes #1801 Raw Edit

more pbxdundi.c errors

public text v1 · immutable
#1801 ·published 2004-10-30 20:21 UTC
rendered paste body
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN      -fPIC   -c -o pbx_dundi.o pbx_dundi.c
In file included from /usr/include/bits/types.h:31,
                 from /usr/include/sys/types.h:31,
                 from ../include/asterisk/frame.h:23,
                 from ../include/asterisk/channel.h:17,
                 from ../include/asterisk/file.h:17,
                 from pbx_dundi.c:13:
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/stddef.h:213: error: syntax error before "typedef"
pbx_dundi.c: In function `dundi_lookup_local':
pbx_dundi.c:546: warning: implicit declaration of function `pbx_substitute_variables_varshead'
pbx_dundi.c: At top level:
pbx_dundi.c:2780: error: syntax error before "w"
pbx_dundi.c:2780: error: syntax error before '{' token
pbx_dundi.c:2782: error: `buf' undeclared here (not in a function)
pbx_dundi.c:2786: error: initializer element is not constant
pbx_dundi.c:2789: error: syntax error before "if"
pbx_dundi.c:2792: warning: type defaults to `int' in declaration of `map_peering_sid'
pbx_dundi.c:2792: error: redefinition of `map_peering_sid'
pbx_dundi.c:118: error: `map_peering_sid' previously defined here
pbx_dundi.c:2792: error: `dundi_xmit_peering' undeclared here (not in a function)
pbx_dundi.c:2792: error: initializer element is not constant
pbx_dundi.c:2792: warning: data definition has no type or storage class
pbx_dundi.c:2793: error: syntax error before "return"
pbx_dundi.c:2797: error: syntax error before '&' token
pbx_dundi.c:2797: warning: type defaults to `int' in declaration of `pthread_mutex_lock'
pbx_dundi.c:2797: warning: function declaration isn't a prototype
pbx_dundi.c:2797: warning: data definition has no type or storage class
pbx_dundi.c:2798: warning: type defaults to `int' in declaration of `peer'
pbx_dundi.c:2798: error: conflicting types for `peer'
pbx_dundi.c:2785: error: previous declaration of `peer'
pbx_dundi.c:2798: warning: data definition has no type or storage class
pbx_dundi.c:2798: warning: type defaults to `int' in declaration of `peer'
pbx_dundi.c:2798: error: invalid type argument of `->'
pbx_dundi.c:2798: error: syntax error before ')' token
pbx_dundi.c:2801: warning: type defaults to `int' in declaration of `need_send'
pbx_dundi.c:2801: error: redefinition of `need_send'
pbx_dundi.c:2784: error: `need_send' previously defined here
pbx_dundi.c:2801: warning: data definition has no type or storage class
pbx_dundi.c:2802: error: syntax error before "if"
pbx_dundi.c:2804: warning: type defaults to `int' in declaration of `need_send'
pbx_dundi.c:2804: error: redefinition of `need_send'
pbx_dundi.c:2801: error: `need_send' previously defined here
pbx_dundi.c:2804: warning: data definition has no type or storage class
pbx_dundi.c:2805: error: syntax error before '++' token
pbx_dundi.c:2812: warning: type defaults to `int' in declaration of `ptr'
pbx_dundi.c:2812: error: conflicting types for `ptr'
pbx_dundi.c:2782: error: previous declaration of `ptr'
pbx_dundi.c:2812: error: `buf' undeclared here (not in a function)
pbx_dundi.c:2812: warning: data definition has no type or storage class
pbx_dundi.c:2815: warning: type defaults to `int' in declaration of `ptr'
pbx_dundi.c:2815: warning: passing arg 1 of `dstatus_append_short' makes pointer from integer without a cast
pbx_dundi.c:2815: warning: initialization makes integer from pointer without a cast
pbx_dundi.c:2815: error: initializer element is not constant
pbx_dundi.c:2815: warning: data definition has no type or storage class
pbx_dundi.c:2818: error: syntax error before '++' token
pbx_dundi.c:2820: warning: type defaults to `int' in declaration of `peer_count'
pbx_dundi.c:2820: error: redefinition of `peer_count'
pbx_dundi.c:2784: error: `peer_count' previously defined here
pbx_dundi.c:2820: warning: data definition has no type or storage class
pbx_dundi.c:2821: warning: type defaults to `int' in declaration of `need_send'
pbx_dundi.c:2821: error: redefinition of `need_send'
pbx_dundi.c:2804: error: `need_send' previously defined here
pbx_dundi.c:2821: warning: data definition has no type or storage class
pbx_dundi.c:2822: error: syntax error before "for"
pbx_dundi.c:2822: warning: type defaults to `int' in declaration of `peer'
pbx_dundi.c:2822: warning: data definition has no type or storage class
pbx_dundi.c:2822: warning: type defaults to `int' in declaration of `peer'
pbx_dundi.c:2822: error: redefinition of `peer'
pbx_dundi.c:2798: error: `peer' previously defined here
pbx_dundi.c:2822: error: invalid type argument of `->'
pbx_dundi.c:2822: error: syntax error before ')' token
pbx_dundi.c:2827: warning: type defaults to `int' in declaration of `need_send'
pbx_dundi.c:2827: error: redefinition of `need_send'
pbx_dundi.c:2821: error: `need_send' previously defined here
pbx_dundi.c:2827: warning: data definition has no type or storage class
pbx_dundi.c:2830: error: syntax error before '&' token
pbx_dundi.c:2834: error: syntax error before '++' token
pbx_dundi.c:2835: error: syntax error before '&' token
pbx_dundi.c:2839: error: syntax error before '++' token
pbx_dundi.c:2840: error: syntax error before '++' token
pbx_dundi.c:2843: warning: type defaults to `int' in declaration of `ptr'
pbx_dundi.c:2843: error: redefinition of `ptr'
pbx_dundi.c:2815: error: `ptr' previously defined here
pbx_dundi.c:2843: error: invalid type argument of `->'
pbx_dundi.c:2843: warning: passing arg 1 of `dstatus_append_long' makes pointer from integer without a cast
pbx_dundi.c:2843: warning: initialization makes integer from pointer without a cast
pbx_dundi.c:2843: error: initializer element is not constant
pbx_dundi.c:2843: warning: data definition has no type or storage class
pbx_dundi.c:2844: warning: type defaults to `int' in declaration of `ptr'
pbx_dundi.c:2844: error: redefinition of `ptr'
pbx_dundi.c:2843: error: `ptr' previously defined here
pbx_dundi.c:2844: error: invalid type argument of `->'
pbx_dundi.c:2844: warning: passing arg 1 of `dstatus_append_long' makes pointer from integer without a cast
pbx_dundi.c:2844: warning: initialization makes integer from pointer without a cast
pbx_dundi.c:2844: error: initializer element is not constant
pbx_dundi.c:2844: warning: data definition has no type or storage class
pbx_dundi.c:2845: warning: type defaults to `int' in declaration of `ptr'
pbx_dundi.c:2845: error: redefinition of `ptr'
pbx_dundi.c:2844: error: `ptr' previously defined here
pbx_dundi.c:2845: error: invalid type argument of `->'
pbx_dundi.c:2845: warning: passing arg 1 of `dstatus_append_long' makes pointer from integer without a cast
pbx_dundi.c:2845: warning: initialization makes integer from pointer without a cast
pbx_dundi.c:2845: error: initializer element is not constant
pbx_dundi.c:2845: warning: data definition has no type or storage class
pbx_dundi.c:2847: error: syntax error before "if"
pbx_dundi.c:2849: warning: type defaults to `int' in declaration of `need_send'
pbx_dundi.c:2849: error: redefinition of `need_send'
pbx_dundi.c:2827: error: `need_send' previously defined here
pbx_dundi.c:2849: warning: data definition has no type or storage class
pbx_dundi.c:2850: error: syntax error before '-' token
pbx_dundi.c:2853: warning: type defaults to `int' in declaration of `ptr'
pbx_dundi.c:2853: error: redefinition of `ptr'
pbx_dundi.c:2845: error: `ptr' previously defined here
pbx_dundi.c:2853: error: `buf' undeclared here (not in a function)
pbx_dundi.c:2853: warning: initialization makes integer from pointer without a cast
pbx_dundi.c:2853: error: initializer element is not constant
pbx_dundi.c:2853: warning: data definition has no type or storage class
pbx_dundi.c:2855: warning: type defaults to `int' in declaration of `ptr'
pbx_dundi.c:2855: error: redefinition of `ptr'
pbx_dundi.c:2853: error: `ptr' previously defined here
pbx_dundi.c:2855: warning: passing arg 1 of `dstatus_append_short' makes pointer from integer without a cast
pbx_dundi.c:2855: warning: initialization makes integer from pointer without a cast
pbx_dundi.c:2855: error: initializer element is not constant
pbx_dundi.c:2855: warning: data definition has no type or storage class
pbx_dundi.c:2858: error: syntax error before '++' token
pbx_dundi.c:2867: error: syntax error before '&' token
pbx_dundi.c:2867: warning: type defaults to `int' in declaration of `pthread_mutex_unlock'
pbx_dundi.c:2867: warning: function declaration isn't a prototype
pbx_dundi.c:2867: warning: data definition has no type or storage class
pbx_dundi.c:2870: warning: type defaults to `int' in declaration of `map_peering_sid'
pbx_dundi.c:2870: error: redefinition of `map_peering_sid'
pbx_dundi.c:2792: error: `map_peering_sid' previously defined here
pbx_dundi.c:2870: error: `dundi_xmit_peering' undeclared here (not in a function)
pbx_dundi.c:2870: error: initializer element is not constant
pbx_dundi.c:2870: warning: data definition has no type or storage class
pbx_dundi.c:2871: error: syntax error before "return"
pbx_dundi.c:4390: warning: initialization from incompatible pointer type
pbx_dundi.c:4391: warning: initialization from incompatible pointer type
pbx_dundi.c:4392: warning: initialization from incompatible pointer type
pbx_dundi.c:4393: warning: initialization from incompatible pointer type
pbx_dundi.c: In function `set_config':
pbx_dundi.c:4571: error: `dundi_xmit_peering' undeclared (first use in this function)
pbx_dundi.c:4571: error: (Each undeclared identifier is reported only once
pbx_dundi.c:4571: error: for each function it appears in.)
pbx_dundi.c: At top level:
pbx_dundi.c:118: warning: `map_peering_sid' defined but not used
pbx_dundi.c:866: warning: `dundi_precache_full' defined but not used
{standard input}: Assembler messages:
{standard input}:548: Error: symbol `need_send' is already defined
{standard input}:555: Error: symbol `need_send' is already defined
{standard input}:561: Error: symbol `peer_count' is already defined
{standard input}:567: Error: symbol `need_send' is already defined
{standard input}:574: Error: symbol `need_send' is already defined
{standard input}:581: Error: symbol `need_send' is already defined
{standard input}:663: Error: symbol `map_peering_sid' is already defined
{standard input}:669: Error: symbol `peer' is already defined as "*COM*"/4
{standard input}:675: Error: symbol `ptr' is already defined
{standard input}:681: Error: symbol `ptr' is already defined
{standard input}:687: Error: symbol `ptr' is already defined
{standard input}:693: Error: symbol `ptr' is already defined
{standard input}:699: Error: symbol `ptr' is already defined
{standard input}:705: Error: symbol `map_peering_sid' is already defined