[chan-capi-users] chan_capi trunk not compiling with Asterisk trunk SVN-trunk-r240667M

Armin Schindler armin at melware.de
Mon Mar 1 19:02:23 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.

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