fabioprado / asterisk-chan-dongle

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

make error with asterisk 11 chan_dongle-1.1r42 #189

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download   chan_dongle-1.1r42.tgz  and untar
2. ./configure 
3. make

What is the expected output? What do you see instead?
need chan_dongle to be compiled

gcc -g -O2 -O6 -I.  -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H 
 -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT app.o -MF .app.o.d -MP  -o 
app.o -c app.c
In file included from app.c:21:
/usr/include/asterisk/version.h:1:2: error: #error "Do not include 
'asterisk/version.h'; use 'asterisk/ast_version.h' instead."
app.c: In function ‘app_status_exec’:
app.c:37: warning: missing initializer
app.c:37: warning: (near initialization for ‘args.resource’)
app.c: In function ‘app_send_sms_exec’:
app.c:82: warning: missing initializer
app.c:82: warning: (near initialization for ‘args.device’)
app.c: In function ‘app_register’:
app.c:162: warning: passing argument 2 of ‘ast_register_application2’ from 
incompatible pointer type
/usr/include/asterisk/module.h:458: note: expected ‘int (*)(struct 
ast_channel *, const char *)’ but argument is of type ‘int (*)(struct 
ast_channel *, void *)’
make: *** [app.o] Error 1

What version of the product are you using? On what operating system?
chan_dongle-1.1r42     Asterisk 11.7.0   CentOS release 6.5 (Final) 

Please provide any additional information below.
uname -a
Linux CENTOS 3.10.40-1.el6.elrepo.i686 #1 SMP Tue May 13 13:58:39 EDT 2014 i686 
i686 i386 GNU/Linux

Original issue reported on code.google.com by shabbira...@gmail.com on 15 Oct 2014 at 7:17

GoogleCodeExporter commented 9 years ago
I'm not release chan_dongle for asterisk > 1.8

On this resource external patch exists

Original comment by bg_...@mail.ru on 8 Nov 2014 at 11:57