[Asterisk-Dev] t38-bits compiling errors
Rosario Pingaro
rpingar at Italycom.it
Wed Oct 5 03:42:05 MST 2005
To compile the t.38-bits I had to remove the tpkt.o from Makefile, so
everythink is compiling fine.
But I tested t.38 passthough with sipura spa-2100 and an italian provider
supporting t.38.
And I still get: chan_sip.c:3464 process_sdp: about unkwon SDP media type
in offer: image 17196 UDP T38
so something is chan_sip is not completed about UDPTL
Rosario
----- Original Message -----
From: "Rpingar" <rpingar at italycom.it>
To: <asterisk-dev at lists.digium.com>
Sent: Tuesday, October 04, 2005 4:54 AM
Subject: [Asterisk-Dev] t38-bits compiling errors
>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
>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list