gabrielzmt / asterisk-chan-dongle

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

make dongle error #197

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

    1) Unpack sources
        tar xzvf chan_dongle-1.1.r42.tgz
    2) Goto package source directory
    3) Configure package
DESTDIR="/usr/lib/asterisk/modules" ./configure 
--with-asterisk=/usr/src/asterisk-11.8.0/include

    4) Build package
        make

What is the expected output? What do you see instead?

root@raspbx:/usr/src/chan_dongle-1.1.r42# make
gcc -g -O2 -O6 -I.  -D_GNU_SOURCE -I/usr/src/asterisk-11.8.0/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:0:
/usr/src/asterisk-11.8.0/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:2: warning: missing initializer [-Wmissing-field-initializers]
app.c:37:2: warning: (near initialization for ‘args.resource’) 
[-Wmissing-field-initializers]
app.c: In function ‘app_send_sms_exec’:
app.c:82:2: warning: missing initializer [-Wmissing-field-initializers]
app.c:82:2: warning: (near initialization for ‘args.device’) 
[-Wmissing-field-initializers]
app.c: In function ‘app_register’:
app.c:162:3: warning: passing argument 2 of ‘ast_register_application2’ 
from incompatible pointer type [enabled by default]
/usr/src/asterisk-11.8.0/include/asterisk/module.h:458:5: 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?

asterisk-11.8.0.tar.gz
chan_dongle-1.1.r42.tgz
raspbx-31-07-2014.zip

Please provide any additional information below.

I am trying to compile asterisk by myself because "install-dongle" script in 
RasPBX installs asterisk without calendar modules.

File res/pjproject/config.status does not have any occurences of ccar and 
ccranlib  like instructed in http://www.raspberry-asterisk.org/faq/#selfcompile.

Original issue reported on code.google.com by phone.sy...@gmail.com on 10 Jan 2015 at 10:34

GoogleCodeExporter commented 8 years ago
no official chan_dongle for asterisk 10 11 ...

use independent patches

Original comment by bg_...@mail.ru on 14 Mar 2015 at 4:23

GoogleCodeExporter commented 8 years ago

Original comment by bg_...@mail.ru on 14 Mar 2015 at 4:23