[Asterisk-Dev] t38-bits compiling errors
Rpingar
rpingar at italycom.it
Tue Oct 4 01:54:15 MST 2005
I modified as suggested the frame.h file but now i get the follwing errors:
(any helps?)
udptl.c:646: warning: 'seqno' might be used uninitialized in this function
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE
-O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c
-o tpkt.o tpkt.c
tpkt.c: In function `accept_thread':
tpkt.c:148: error: structure has no member named `sin'
tpkt.c:150: error: `block_sockets' undeclared (first use in this function)
tpkt.c:150: error: (Each undeclared identifier is reported only once
tpkt.c:150: error: for each function it appears in.)
tpkt.c:155: error: structure has no member named `lock'
tpkt.c:157: error: structure has no member named `send_events'
tpkt.c:158: error: `sessionlock' undeclared (first use in this function)
tpkt.c:159: error: structure has no member named `next'
tpkt.c:159: error: `sessions' undeclared (first use in this function)
tpkt.c:162: error: `t' undeclared (first use in this function)
tpkt.c:162: error: `session_do' undeclared (first use in this function)
tpkt.c:163: warning: implicit declaration of function `destroy_session'
tpkt.c: At top level:
tpkt.c:170: warning: no previous prototype for 'init_tpkt'
tpkt.c: In function `init_tpkt':
tpkt.c:172: warning: passing arg 1 of `pthread_kill' makes integer from
pointer without a cast
tpkt.c:176: error: `addr' undeclared (first use in this function)
tpkt.c:177: error: `portno' undeclared (first use in this function)
tpkt.c:178: error: `ba' undeclared (first use in this function)
tpkt.c:179: error: `val' undeclared (first use in this function)
tpkt.c:179: error: `cfg' undeclared (first use in this function)
tpkt.c:187: warning: `return' with a value, in function returning void
tpkt.c:189: error: `x' undeclared (first use in this function)
tpkt.c:194: warning: `return' with a value, in function returning void
tpkt.c:200: warning: `return' with a value, in function returning void
tpkt.c:204: error: `t' undeclared (first use in this function)
tpkt.c: In function `tpkt_rx_packet':
tpkt.c:228: warning: implicit declaration of function `decode_open_type'
tpkt.c:231: warning: implicit declaration of function `tpkt_process_packet'
tpkt.c:233: error: subscripted value is neither array nor pointer
tpkt.c:234: error: subscripted value is neither array nor pointer
tpkt.c:236: error: subscripted value is neither array nor pointer
tpkt.c:237: error: subscripted value is neither array nor pointer
tpkt.c:237: error: syntax error before '?' token
tpkt.c:238: error: subscripted value is neither array nor pointer
tpkt.c:239: error: subscripted value is neither array nor pointer
tpkt.c:240: error: subscripted value is neither array nor pointer
tpkt.c:241: error: subscripted value is neither array nor pointer
tpkt.c:243: error: subscripted value is neither array nor pointer
tpkt.c:243: error: subscripted value is neither array nor pointer
tpkt.c:244: error: subscripted value is neither array nor pointer
tpkt.c:244: error: subscripted value is neither array nor pointer
tpkt.c:246: error: subscripted value is neither array nor pointer
tpkt.c:210: warning: unused variable `stat2'
tpkt.c:214: warning: unused variable `data'
tpkt.c: In function `ast_tpkt_read':
tpkt.c:359: error: `sin' undeclared (first use in this function)
tpkt.c:362: error: `payloadtype' undeclared (first use in this function)
tpkt.c:362: error: `seqno' undeclared (first use in this function)
tpkt.c:362: error: `timestamp' undeclared (first use in this function)
tpkt.c:362: error: `hdrlen' undeclared (first use in this function)
tpkt.c: In function `ast_tpkt_new_with_bindaddr':
tpkt.c:413: error: `tpktend' undeclared (first use in this function)
tpkt.c:413: error: `tpktstart' undeclared (first use in this function)
tpkt.c:391: warning: unused variable `i'
tpkt.c: In function `ast_tpkt_write':
tpkt.c:524: error: `payloadtype' undeclared (first use in this function)
tpkt.c:524: error: structure has no member named `lastts'
tpkt.c: At top level:
tpkt.c:70: warning: 'listening_on' defined but not used
make: *** [tpkt.o] Error 1
________________________________________________
Message sent using Italycom WebMail 2.7.8
More information about the asterisk-dev
mailing list