keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about G400/G410 Cards.

Compilation error for chan_extra-2.0.7 with CentOS 6.3

10 years 2 weeks ago #9602 by Mossea
Hi.
Is there chan_extra support for Asterisk 11.8.1?
My install scripts failure...

Mon Mar 31 17:55:04 EEST 2014 : [ OK ]
chan_extra.c: In function ‘extra_new’:
chan_extra.c:4663: error: incompatible type for argument 2 of ‘ast_devstate_changed_literal’
/usr/src/asterisk-11.8.1/include/asterisk/devicestate.h:167: note: expected ‘enum ast_devstate_cache’ but argument is of type ‘const char *’
chan_extra.c:4663: error: too few arguments to function ‘ast_devstate_changed_literal’
chan_extra.c: In function ‘sms_send_new’:
chan_extra.c:6272: error: incompatible type for argument 2 of ‘ast_devstate_changed_literal’
/usr/src/asterisk-11.8.1/include/asterisk/devicestate.h:167: note: expected ‘enum ast_devstate_cache’ but argument is of type ‘const char *’
chan_extra.c:6272: error: too few arguments to function ‘ast_devstate_changed_literal’
make[1]: *** [chan_extra.o] Error 1
make: *** [channels] Error 2
10 years 2 weeks ago #9603 by rick.zhu
Hi,

Sorry to make trouble with you,please try to use the chan_extra-2.0.8.Please download it from below link:
On the other hand,it may be not stable,please let me know if it has any issues,my contact info be shown as below:
[font=宋体] http://downloads.openvox.cn/pub/misc/GSM/chan_extra-2.0.8_beta.tar.gz [/font]

emai:[email protected]
Skype: rick.zhu3

Best Regards.
10 years 2 weeks ago #9609 by Mossea
Hi.
It worked. Thank you very much.
9 years 10 months ago #9717 by arnaud
Hi,

in order to use a G400E card, I'm trying to install chan_extra-2.0.8 with asterisk 11.8 and DAHDI 2.9.1. I'm using ubuntu 14.04 and kernel 3.13. I'm getting the following error:
Wed May 28 13:51:44 CEST 2014 : Installing OpenVox G400P driver ...
Wed May 28 13:51:44 CEST 2014 : [ OK ]
Loaded 69900 bytes from file
Loaded 42096 bytes from file
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c: In function ‘pw_key_entry_init’:
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c:864:2: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
entry = pw_key_entry[g4->cardno] = create_proc_entry(name,0644,NULL);
^
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c:864:35: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = pw_key_entry[g4->cardno] = create_proc_entry(name,0644,NULL);
^
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c:870:7: error: dereferencing pointer to incomplete type
entry->read_proc = pw_key_read;
^
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c:871:7: error: dereferencing pointer to incomplete type
entry->write_proc = pw_key_write;
^
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c:873:7: error: dereferencing pointer to incomplete type
entry->mode = S_IFREG | S_IRUGO;
^
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c:874:7: error: dereferencing pointer to incomplete type
entry->uid = 0;
^
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c:875:7: error: dereferencing pointer to incomplete type
entry->gid = 0;
^
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c:876:7: error: dereferencing pointer to incomplete type
entry->size=2;
^
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c:877:7: error: dereferencing pointer to incomplete type
entry->data = (void*)g4;
^
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c: In function ‘g4_hdlc_tx’:
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c:2085:8: warning: unused variable ‘length’ [-Wunused-variable]
int length=0;
^
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c: In function ‘g4_interrupt’:
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c:2255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int s = 0;
^
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c: In function ‘g4_ioctl’:
/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.c:2363:16: warning: unused variable ‘flags’ [-Wunused-variable]
unsigned long flags = 0;
^
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx/base.o] Fehler 1
make[3]: *** [/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/opvxg4xx] Fehler 2
make[2]: *** [_module_/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi] Fehler 2
make[1]: *** [modules] Fehler 2
make: *** [all] Fehler 2



Any help would be very welcome.

i] Last edited by arnaud at 2014-5-28 19:57 [/i
9 years 10 months ago #9719 by rick.zhu
Hi,

Sorry to delay!

Please try to use other lower version of the kernel and then compile it again!
If you have other issues you can contact me directly,my contact info be shown as below:

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: rick.zhu3

Best Regards.
Time to create page: 0.040 seconds
Powered by Kunena Forum