[chan-capi-users] [SPAM] - Re: chan_capi trunk not compiling with Asterisk trunk SVN-trunk-r240667M - Email found in subject
DLeese at LStelcom.com
DLeese at LStelcom.com
Tue Mar 2 17:44:33 CET 2010
> Please try new svn trunk of chan_capi. I just made some
> changes for current asterisk trunk.
>
> But I did not test the changes. Since I just fixed the API,
> some changes in asterisk for functionality may cause problems
> and need changes in chan_capi too.
Hi Armin,
I have tried the new revision (769) with Asterisk SVN-trunk-r240667M (~ 1.6.2) and it compiles without warnings or errors (see attached make output). It also seems to work flawlessly. I can make and receive calls from/to the PSTN with the Fritz card PCI via the BRI and route them to my voip Telephones.
I will also try faxing, but not today.
Many thanks for the great work!
Sincerly
Daniel Leese
---
srvpbx:/usr/src/chan-capi-trunk# make
./create_config.sh "/usr/include"
Checking Asterisk version... SVN-trunk-r240667M
* assuming Asterisk version 1.6
Using Asterisk 1.6 API
* found new 'ast_dsp_set_digitmode' function
* found new union data in ast_frame structure
* found new union subclass in ast_frame structure
* found ast_channel_release function
* found new ast_devstate2str function
* found requestor in ast_request
* found format_t in ast_request
* found const char in ast_register_application
* found linkedid in ast_channel_alloc
* found format_t in frame_defs
* found rtp_engine.h
config.h complete.
[CC] chan_capi.c -> chan_capi.o
[CC] chan_capi_utils.c -> chan_capi_utils.o
[CC] chan_capi_rtp.c -> chan_capi_rtp.o
[CC] chan_capi_command.c -> chan_capi_command.o
[CC] xlaw.c -> xlaw.o
[CC] dlist.c -> dlist.o
[CC] chan_capi_qsig_core.c -> chan_capi_qsig_core.o
[CC] chan_capi_qsig_ecma.c -> chan_capi_qsig_ecma.o
[CC] chan_capi_qsig_asn197ade.c -> chan_capi_qsig_asn197ade.o
[CC] chan_capi_qsig_asn197no.c -> chan_capi_qsig_asn197no.o
[CC] chan_capi_supplementary.c -> chan_capi_supplementary.o
[CC] chan_capi_chat.c -> chan_capi_chat.o
[CC] libcapi20/convert.c -> libcapi20/convert.o
[CC] libcapi20/capi20.c -> libcapi20/capi20.o
[CC] libcapi20/capifunc.c -> libcapi20/capifunc.o
[LD] chan_capi.so (chan_capi.o chan_capi_utils.o chan_capi_rtp.o chan_capi_command.o xlaw.o dlist.o chan_capi_qsig_core.o chan_capi_qsig_ecma.o chan_capi_qsig_asn197ade.o chan_capi_qsig_asn197no.o chan_capi_supplementary.o chan_capi_chat.o libcapi20/convert.o libcapi20/capi20.o libcapi20/capifunc.o)
srvpbx:/usr/src/chan-capi-trunk#
> -----Original Message-----
> From: chan-capi-users-bounces at lists.melware.net
> [mailto:chan-capi-users-bounces at lists.melware.net] On Behalf
> Of Armin Schindler
> Sent: Montag, 1. März 2010 19:02
> To: chan-capi users
> Subject: [SPAM] - Re: [chan-capi-users] chan_capi trunk not
> compiling with Asterisk trunk SVN-trunk-r240667M - Email
> found in subject
>
> Please try new svn trunk of chan_capi. I just made some
> changes for current asterisk trunk.
>
> But I did not test the changes. Since I just fixed the API,
> some changes in asterisk for functionality may cause problems
> and need changes in chan_capi too.
>
> Armin
>
> On Mon, 1 Mar 2010, DLeese at LStelcom.com wrote:
> > Hi,
> >
> > I am trying to use the chan-capi svn version (or any other
> version -> same result) with Asterisk trunk. Upon compiling
> chan-capi i receive the following errors:
> >
> > srvpbx:/usr/src/chan-capi-trunk# make V=1 gcc -pipe -fPIC -Wall
> > -Wmissing-prototypes -Wmissing-declarations -g -I./libcapi20
> > -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O2 -march=i686
> -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO
> -c chan_capi.c -o chan_capi.o In file included from chan_capi.c:32:
> > chan_capi.h:35:26: error: asterisk/rtp.h: Datei oder
> Verzeichnis nicht
> > gefunden
> > chan_capi.c: In function âlocal_queue_frameâ:
> > chan_capi.c:803: error: invalid operands to binary == (have âunion
> > <anonymous>â and âintâ)
> > chan_capi.c: In function âinterface_cleanupâ:
> > chan_capi.c:1071: warning: implicit declaration of function
> > âast_rtp_destroyâ
> > chan_capi.c: In function âsend_progressâ:
> > chan_capi.c:1165: error: incompatible types in assignment
> > chan_capi.c: In function âclear_channel_fax_loopâ:
> > chan_capi.c:2884: error: invalid operands to binary == (have âunion
> > <anonymous>â and âintâ)
> > chan_capi.c: In function âcapidev_handle_did_digitsâ:
> > chan_capi.c:3548: error: incompatible types in assignment
> > chan_capi.c: In function âcapi_queue_cause_controlâ:
> > chan_capi.c:3564: warning: missing braces around initializer
> > chan_capi.c:3564: warning: (near initialization for âfr.subclassâ)
> > chan_capi.c:3569: error: incompatible types in assignment
> > chan_capi.c:3573: error: incompatible types in assignment
> > chan_capi.c: In function âcapidev_handle_info_indicationâ:
> > chan_capi.c:3876: error: incompatible types in assignment
> > chan_capi.c:3886: error: incompatible types in assignment
> > chan_capi.c: In function âhandle_facility_indication_dtmfâ:
> > chan_capi.c:4138: error: incompatible types in assignment
> > chan_capi.c:4149: error: incompatible types in assignment
> > chan_capi.c: In function âcapidev_handle_data_b3_indicationâ:
> > chan_capi.c:4292: error: incompatible types in assignment
> > chan_capi.c:4294: error: incompatible types in assignment
> > chan_capi.c: In function âcapi_signal_answerâ:
> > chan_capi.c:4316: warning: missing braces around initializer
> > chan_capi.c:4316: warning: (near initialization for âfr.subclassâ)
> > chan_capi.c: In function âcapidev_handle_disconnect_indicationâ:
> > chan_capi.c:4605: warning: missing braces around initializer
> > chan_capi.c:4605: warning: (near initialization for âfr.subclassâ)
> > chan_capi.c:4654: error: incompatible types in assignment
> > chan_capi.c: In function âcapidev_handle_connection_confâ:
> > chan_capi.c:5025: warning: missing braces around initializer
> > chan_capi.c:5025: warning: (near initialization for âfr.subclassâ)
> > chan_capi.c: At top level:
> > chan_capi.c:7746: warning: initialization from incompatible pointer
> > type
> > chan_capi.c: In function âconf_interfaceâ:
> > chan_capi.c:8153: warning: passing argument 2 of
> > âast_parse_allow_disallowâ from incompatible pointer type
> > chan_capi.c:8156: warning: passing argument 2 of
> > âast_parse_allow_disallowâ from incompatible pointer type
> > make: *** [chan_capi.o] Fehler 1
> >
> > Other people with recent Asterisk versions seem to have the same
> > error, e.g.
> > http://www.ip-phone-forum.de/showpost.php?p=1441101&postcount=10
> >
> > Any ideas?
> >
> >
> > Regards
> >
> > Daniel Leese
> > _______________________________________________
> > Chan-capi-users mailing list
> > Chan-capi-users at lists.melware.net
> > http://lists.melware.net/mailman/listinfo/chan-capi-users
> >
>
More information about the Chan-capi-users
mailing list