Re: [Asterisk-Users] Problems compiling CAPI module
Thanks, My links, are properly set, as you told me, I just instaled Asterisk from de cvs, first download it from the cvs and then compiling it. Where could I find the asterisk header files? I just download asterisk in /usr/src/asterisk. Regards from Madrid. Ismael Gil. <[EMAIL PROTECTED]> Enviado por: [EMAIL PROTECTED] 21/09/2004 15:27 Por favor, responda a Asterisk Users Mailing List - Non-Commercial Discussion <[EMAIL PROTECTED]> Para <[EMAIL PROTECTED]> cc Asunto Re: [Asterisk-Users] Problems compiling CAPI module > Hello all, > > My asterisk works well, the problem is how to configure the AVM c2 > card. To provide ISDN external calls. > > When you say, "Just make sure you have your kernel links set > correctly", what kind of links are you talking about? > The links in /usr/src/ Example: lrwxrwxrwx 1 root src 20 Sep 21 11:39 linux -> /usr/src/linux-2.6.8 lrwxrwxrwx 1 root src 20 Oct 16 2004 linux-2.6 -> /usr/src/linux-2.6.8 drwxrwxr-x 19 500 500 4.0K Sep 21 13:08 linux-2.6.8 But in your case, it was missing the asterisk header files i guess? Have you installed asterisk from cvs? If not, did you install asterisk-dev? ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Problems compiling CAPI module
> Hello all, > > My asterisk works well, the problem is how to configure the AVM c2 > card. To provide ISDN external calls. > > When you say, "Just make sure you have your kernel links set > correctly", what kind of links are you talking about? > The links in /usr/src/ Example: lrwxrwxrwx 1 root src20 Sep 21 11:39 linux -> /usr/src/linux-2.6.8 lrwxrwxrwx 1 root src20 Oct 16 2004 linux-2.6 -> /usr/src/linux-2.6.8 drwxrwxr-x 19 500 500 4.0K Sep 21 13:08 linux-2.6.8 But in your case, it was missing the asterisk header files i guess? Have you installed asterisk from cvs? If not, did you install asterisk-dev? ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Problems compiling CAPI module
Hello all, My asterisk works well, the problem is how to configure the AVM c2 card. To provide ISDN external calls. When you say, "Just make sure you have your kernel links set correctly", what kind of links are you talking about? Thanks. Ismael Gil. <[EMAIL PROTECTED]> Enviado por: [EMAIL PROTECTED] 21/09/2004 14:36 Por favor, responda a Asterisk Users Mailing List - Non-Commercial Discussion <[EMAIL PROTECTED]> Para <[EMAIL PROTECTED]> cc Asunto Re: [Asterisk-Users] Problems compiling CAPI module > Hello all, > > I a'm having a lot of troubles compiling the CAPI driver for mi AVM > card, model C2 with two ports. > > I´m using Debian stable with kernel 2.4.18 (bf24), but i can't compile > this driver. > > I just followed the steps from > http://www.voip-info.org/wiki-Asterisk+How+to+connect+with+CAPI > > and there we can read that is necesary to select [*]CAPI2.0 filesystem > support, but in my kernel, doing make menuconfig. > > I can`t select this option, this option it is not present on my kernel > 2.4.18 Enable experimental at the top of your configuration file. Its explained at onthe wiki page. > > > CAPI2.0 support > [*] Verbose reason code reporting (Kernel size +=7K) > [*] CAPI2.0 Middleware support (EXPERIMENTAL) > CAPI2.0 /dev/capi support > [*] CAPI2.0 filesystem support > CAPI2.0 capidrv interface support > > The next thing i tried to do, is to compile the package chan_capi, but > it fails too. > a lot of errors apears when i do make, > > debian-asterisk:/home/ismaelg/chan_capi-0.3.5# make > gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g > -I/usr/src/aster > isk -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES > -DCAPI_GAIN -DCAP > I_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations > -DCRYPTO > -c -o chan_capi.o chan_capi.c > chan_capi.c:23: asterisk/features.h: No such file or directory > chan_capi.c:24: asterisk/utils.h: No such file or directory Have you installed the asterisk sources? Or the devel package? I am running debian, too. I used my own 2.6 vanilla kernel, upgraded to unstable and used the cvs asterisk release.Just make sure you have your kernel links set correctly and you should get it up and running fairly easily. Mario ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Problems compiling CAPI module
> Hello all, > > I a'm having a lot of troubles compiling the CAPI driver for mi AVM > card, model C2 with two ports. > > I´m using Debian stable with kernel 2.4.18 (bf24), but i can't compile > this driver. > > I just followed the steps from > http://www.voip-info.org/wiki-Asterisk+How+to+connect+with+CAPI > > and there we can read that is necesary to select [*]CAPI2.0 filesystem > support, but in my kernel, doing make menuconfig. > > I can`t select this option, this option it is not present on my kernel > 2.4.18 Enable experimental at the top of your configuration file. Its explained at onthe wiki page. > > > CAPI2.0 support > [*] Verbose reason code reporting (Kernel size +=7K) > [*] CAPI2.0 Middleware support (EXPERIMENTAL) > CAPI2.0 /dev/capi support > [*] CAPI2.0 filesystem support > CAPI2.0 capidrv interface support > > The next thing i tried to do, is to compile the package chan_capi, but > it fails too. > a lot of errors apears when i do make, > > debian-asterisk:/home/ismaelg/chan_capi-0.3.5# make > gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g > -I/usr/src/aster > isk -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES > -DCAPI_GAIN -DCAP > I_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations > -DCRYPTO > -c -o chan_capi.o chan_capi.c > chan_capi.c:23: asterisk/features.h: No such file or directory > chan_capi.c:24: asterisk/utils.h: No such file or directory Have you installed the asterisk sources? Or the devel package? I am running debian, too. I used my own 2.6 vanilla kernel, upgraded to unstable and used the cvs asterisk release.Just make sure you have your kernel links set correctly and you should get it up and running fairly easily. Mario ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Problems compiling CAPI module
Hello all, I a'm having a lot of troubles compiling the CAPI driver for mi AVM card, model C2 with two ports. I´m using Debian stable with kernel 2.4.18 (bf24), but i can't compile this driver. I just followed the steps from http://www.voip-info.org/wiki-Asterisk+How+to+connect+with+CAPI and there we can read that is necesary to select [*]CAPI2.0 filesystem support, but in my kernel, doing make menuconfig. I can`t select this option, this option it is not present on my kernel 2.4.18 CAPI2.0 support [*] Verbose reason code reporting (Kernel size +=7K) [*] CAPI2.0 Middleware support (EXPERIMENTAL) CAPI2.0 /dev/capi support [*] CAPI2.0 filesystem support CAPI2.0 capidrv interface support The next thing i tried to do, is to compile the package chan_capi, but it fails too. a lot of errors apears when i do make, debian-asterisk:/home/ismaelg/chan_capi-0.3.5# make gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/src/aster isk -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES -DCAPI_GAIN -DCAP I_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c chan_capi.c:23: asterisk/features.h: No such file or directory chan_capi.c:24: asterisk/utils.h: No such file or directory chan_capi.c:62: warning: type defaults to `int' in declaration of `AST_MUTEX_DEF INE_STATIC' chan_capi.c:62: warning: parameter names (without types) in function declaration chan_capi.c:62: warning: data definition has no type or storage class chan_capi.c:63: warning: type defaults to `int' in declaration of `AST_MUTEX_DEF INE_STATIC' chan_capi.c:63: warning: parameter names (without types) in function declaration chan_capi.c:63: warning: data definition has no type or storage class chan_capi.c:64: warning: type defaults to `int' in declaration of `AST_MUTEX_DEF INE_STATIC' chan_capi.c:64: warning: parameter names (without types) in function declaration chan_capi.c:64: warning: data definition has no type or storage class chan_capi.c:65: warning: type defaults to `int' in declaration of `AST_MUTEX_DEF INE_STATIC' chan_capi.c:65: warning: parameter names (without types) in function declaration chan_capi.c:65: warning: data definition has no type or storage class chan_capi.c:66: warning: type defaults to `int' in declaration of `AST_MUTEX_DEF INE_STATIC' chan_capi.c:66: warning: parameter names (without types) in function declaration chan_capi.c:66: warning: data definition has no type or storage class chan_capi.c:67: warning: type defaults to `int' in declaration of `AST_MUTEX_DEF INE_STATIC' chan_capi.c:67: warning: parameter names (without types) in function declaration chan_capi.c:67: warning: data definition has no type or storage class chan_capi.c:68: warning: type defaults to `int' in declaration of `AST_MUTEX_DEF INE_STATIC' chan_capi.c:68: warning: parameter names (without types) in function declaration chan_capi.c:68: warning: data definition has no type or storage class chan_capi.c: In function `_capi_put_cmsg': chan_capi.c:106: `capi_put_lock' undeclared (first use in this function) chan_capi.c:106: (Each undeclared identifier is reported only once chan_capi.c:106: for each function it appears in.) chan_capi.c: In function `capi_echo_canceller': chan_capi.c:181: `contrlock' undeclared (first use in this function) chan_capi.c: In function `capi_detect_dtmf': chan_capi.c:231: `contrlock' undeclared (first use in this function) chan_capi.c: In function `capi_send_digit': chan_capi.c:309: `contrlock' undeclared (first use in this function) chan_capi.c: In function `remove_pipe': chan_capi.c:481: `pipelock' undeclared (first use in this function) chan_capi.c: In function `capi_hangup': chan_capi.c:613: `usecnt_lock' undeclared (first use in this function) chan_capi.c: In function `capi_call': chan_capi.c:685: `pipelock' undeclared (first use in this function) chan_capi.c: In function `capi_read': chan_capi.c:826: structure has no member named `delivery' chan_capi.c:827: structure has no member named `delivery' chan_capi.c: In function `capi_write': chan_capi.c:899: `capi_send_buffer_lock' undeclared (first use in this function) chan_capi.c: In function `capi_new': chan_capi.c:1022: structure has no member named `delivery' chan_capi.c:1023: structure has no member named `delivery' chan_capi.c:1078: `usecnt_lock' undeclared (first use in this function) chan_capi.c: In function `capi_request': chan_capi.c:1130: `iflock' undeclared (first use in this function) chan_capi.c:1146: `contrlock' undeclared (first use in this function) chan_capi.c: In function `find_pipe': chan_capi.c:1181: `pipelock' undeclared (first use in this function) chan_capi.c: In function `pipe_frame': chan_capi.c:1214: too few arguments to function `ast_dsp_process' chan_capi.c: In function `pipe_msg': chan_capi.c:1347: `contrlock' undeclared (first use in this function) chan_capi.c:1499: structure has no member named `delivery' chan_capi.c:1500: structure has no membe