[Asterisk-Users] lastest spandsp-0.03pre1 don't compile
Raymond Chen
rchen at broadz.com
Fri Sep 16 11:27:06 MST 2005
Dear all,
Anyone get the lastest spandsp with udptl.c and tpkt.c compile in Fedora 3?
tpkt.c: In function `accept_thread':
tpkt.c:140: error: `TCP_NODELAY' undeclared (first use in this function)
tpkt.c:140: error: (Each undeclared identifier is reported only once
tpkt.c:140: error: for each function it appears in.)
tpkt.c:144: error: invalid application of `sizeof' to incomplete type
`mansession'
tpkt.c:148: error: invalid application of `sizeof' to incomplete type
`mansession'
tpkt.c:149: error: dereferencing pointer to incomplete type
tpkt.c:151: error: `block_sockets' undeclared (first use in this function)
tpkt.c:156: error: dereferencing pointer to incomplete type
tpkt.c:157: error: dereferencing pointer to incomplete type
tpkt.c:158: error: dereferencing pointer to incomplete type
tpkt.c:159: error: `sessionlock' undeclared (first use in this function)
tpkt.c:160: error: dereferencing pointer to incomplete type
tpkt.c:160: error: `sessions' undeclared (first use in this function)
tpkt.c:163: error: `t' undeclared (first use in this function)
tpkt.c:163: error: `session_do' undeclared (first use in this function)
tpkt.c:164: warning: implicit declaration of function `destroy_session'
tpkt.c: At top level:
tpkt.c:171: warning: no previous prototype for 'init_tpkt'
tpkt.c: In function `init_tpkt':
tpkt.c:173: warning: passing arg 1 of `pthread_kill' makes integer from
pointer without a cast
tpkt.c:177: error: `addr' undeclared (first use in this function)
tpkt.c:178: error: `portno' undeclared (first use in this function)
tpkt.c:179: error: `ba' undeclared (first use in this function)
tpkt.c:180: error: `val' undeclared (first use in this function)
tpkt.c:180: error: `cfg' undeclared (first use in this function)
tpkt.c:188: warning: `return' with a value, in function returning void
tpkt.c:190: error: `x' undeclared (first use in this function)
tpkt.c:195: warning: `return' with a value, in function returning void
tpkt.c:201: warning: `return' with a value, in function returning void
tpkt.c:205: error: `t' undeclared (first use in this function)
tpkt.c: In function `tpkt_rx_packet':
tpkt.c:241: warning: implicit declaration of function `decode_open_type'
tpkt.c:211: warning: unused variable `stat2'
tpkt.c:212: warning: unused variable `i'
tpkt.c:213: warning: unused variable `j'
udptl.c: In function `udptl_process_packet':
udptl.c:150: warning: no return statement in function returning non-void
udptl.c: In function `udptl_build_packet':
udptl.c:541: warning: implicit declaration of function
`udptl_debug_test_addr'
udptl.c:541: error: `udptl' undeclared (first use in this function)
udptl.c:541: error: (Each undeclared identifier is reported only once
udptl.c:541: error: for each function it appears in.)
udptl.c:543: error: `iabuf' undeclared (first use in this function)
udptl.c:544: error: `payload' undeclared (first use in this function)
udptl.c:544: error: `res' undeclared (first use in this function)
udptl.c:544: error: `hdrlen' undeclared (first use in this function)
udptl.c: At top level:
udptl.c:571: warning: static declaration of 'udptl_debug_test_addr' follows
non-static declaration
udptl.c:541: warning: 'udptl_debug_test_addr' declared inline after being
called
udptl.c:541: warning: previous implicit declaration of
'udptl_debug_test_addr' was here
udptl.c: In function `ast_udptl_read':
udptl.c:643: error: `payloadtype' undeclared (first use in this function)
udptl.c:643: error: `timestamp' undeclared (first use in this function)
udptl.c:643: error: `hdrlen' undeclared (first use in this function)
udptl.c:649: error: `AST_FORMAT_T38' undeclared (first use in this function)
udptl.c: In function `ast_udptl_new_with_bindaddr':
udptl.c:706: error: `s' undeclared (first use in this function)
udptl.c: In function `ast_udptl_write':
udptl.c:820: error: `codec' undeclared (first use in this function)
udptl.c:820: error: structure has no member named `lastts'
udptl.c:820: error: `hdrlen' undeclared (first use in this function)
udptl.c: In function `ast_udptl_reload':
udptl.c:1084: warning: implicit declaration of function `ast_load'
udptl.c:1084: warning: assignment makes pointer from integer without a cast
udptl.c:1138: warning: implicit declaration of function `ast_destroy'
ray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050916/cf73df85/attachment.htm
More information about the asterisk-users
mailing list