machtudong / asterisk-chan-dongle

Automatically exported from code.google.com/p/asterisk-chan-dongle
Other
0 stars 0 forks source link

Don't compile with Asterisk10 #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
channel.c:100:82: error: unknown type name ‘format_t’
channel.c: In function ‘channel_read’:
channel.c:621:22: error: ‘union ast_frame_subclass’ has no member named 
‘codec’
channel.c: In function ‘channel_write’:
channel.c:735:44: error: ‘union ast_frame_subclass’ has no member named 
‘codec’
channel.c: In function ‘new_channel’:
channel.c:1153:27: warning: assignment makes pointer from integer without a 
cast [enabled by default]
channel.c:1154:25: error: incompatible types when assigning to type ‘struct 
ast_format’ from type ‘int’
channel.c:1155:24: error: incompatible types when assigning to type ‘struct 
ast_format’ from type ‘int’
channel.c: In function ‘start_local_channel’:
channel.c:1244:34: error: ‘AST_FORMAT_AUDIO_MASK’ undeclared (first use in 
this function)
channel.c:1244:34: note: each undeclared identifier is reported only once for 
each function it appears in
channel.c: In function ‘channel_func_write’:
channel.c:1319:14: warning: variable ‘pvt’ set but not used 
[-Wunused-but-set-variable]
channel.c: At top level:
channel.c:1375:2: warning: initialization makes pointer from integer without a 
cast [enabled by default]
channel.c:1375:2: warning: (near initialization for 
‘channel_tech.capabilities’) [enabled by default]
channel.c:1376:16: error: ‘channel_request’ undeclared here (not in a 
function)
make: *** [channel.o] Error 1

Asterisk: asterisk-10.0.0-0.4.beta2
Linux: Fedora 15 (asterisk from rawhide)

Would be glad if someone could add Asterisk10 support (I know it's still beta)

Original issue reported on code.google.com by stan...@klingon.pl on 23 Oct 2011 at 6:43

GoogleCodeExporter commented 9 years ago
clone of #46, partial fix there.

Original comment by dex...@d3xt3r01.tk on 21 Nov 2011 at 9:22