keywords: ip pbx voip gateway gsm gateway

×

Notice

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

Another Compilation Error with chan_extra-2.0.7

10 years 5 months ago #9154 by spindley
Hi,

We're using CentOS 6.4 with kernel 2.6.32-358.23.2.el6.x86_64

I'm trying to compile chan_extra-2.0.7 with an OpenVox G400E card, and getting this error:


chan_extra.c:10877: warning: no previous prototype for ‘deep_copy_extra_chan_conf’
chan_extra.c:10900: error: invalid storage class for function ‘setup_extra_int’
chan_extra.c:10899: warning: no previous prototype for ‘setup_extra_int’
chan_extra.c: In function ‘setup_extra_int’:
chan_extra.c:11047: warning: implicit declaration of function ‘start_gsm’
chan_extra.c: In function ‘sms_send_new’:
chan_extra.c:11070: error: invalid storage class for function ‘setup_extra’
chan_extra.c:11069: warning: no previous prototype for ‘setup_extra’
chan_extra.c:11100: error: invalid storage class for function ‘extra_status_data_provider_get’
chan_extra.c:11098: warning: no previous prototype for ‘extra_status_data_provider_get’
chan_extra.c:11171: error: invalid storage class for function ‘extra_channels_data_provider_get’
chan_extra.c:11169: warning: no previous prototype for ‘extra_channels_data_provider_get’
chan_extra.c:11203: error: invalid storage class for function ‘extra_version_data_provider_get’
chan_extra.c:11201: warning: no previous prototype for ‘extra_version_data_provider_get’
chan_extra.c:11230: error: initializer element is not constant
chan_extra.c:11230: error: (near initialization for ‘extra_status_data_provider.get’)
chan_extra.c:11235: error: initializer element is not constant
chan_extra.c:11235: error: (near initialization for ‘extra_channels_data_provider.get’)
chan_extra.c:11240: error: initializer element is not constant
chan_extra.c:11240: error: (near initialization for ‘extra_version_data_provider.get’)
chan_extra.c:11254: error: invalid storage class for function ‘sendsms_exec’
chan_extra.c:11250: warning: no previous prototype for ‘sendsms_exec’
chan_extra.c:11373: error: invalid storage class for function ‘sendpdu_exec’
chan_extra.c:11369: warning: no previous prototype for ‘sendpdu_exec’
chan_extra.c:11462: error: invalid storage class for function ‘forwardsms_exec’
chan_extra.c:11458: warning: no previous prototype for ‘forwardsms_exec’
chan_extra.c:11556: error: invalid storage class for function ‘load_module’
chan_extra.c:11555: warning: no previous prototype for ‘load_module’
chan_extra.c: In function ‘load_module’:
chan_extra.c:11599: error: ‘extra_gsm_cli’ undeclared (first use in this function)
chan_extra.c:11599: error: invalid operands to binary / (have ‘struct ast_cli_entry *’ and ‘long unsigned int’)
chan_extra.c: In function ‘sms_send_new’:
chan_extra.c:11621: error: invalid storage class for function ‘reload’
chan_extra.c:11620: warning: no previous prototype for ‘reload’
chan_extra.c:11643: error: initializer element is not constant
chan_extra.c:11643: error: (near initialization for ‘__mod_info.load’)
chan_extra.c:11643: error: initializer element is not constant
chan_extra.c:11643: error: (near initialization for ‘__mod_info.unload’)
chan_extra.c:11643: error: initializer element is not constant
chan_extra.c:11643: error: (near initialization for ‘__mod_info.reload’)
chan_extra.c:11643: error: invalid storage class for function ‘__reg_module’
chan_extra.c:11643: warning: no previous prototype for ‘__reg_module’
chan_extra.c:11643: error: invalid storage class for function ‘__unreg_module’
chan_extra.c:11643: warning: no previous prototype for ‘__unreg_module’
chan_extra.c:11643: error: expected declaration or statement at end of input
chan_extra.c:11643: warning: unused variable ‘ast_module_info’
chan_extra.c:6171: error: label ‘e_return’ used but not defined
chan_extra.c:6133: warning: unused variable ‘v’
make[1]: *** [chan_extra.o] Error 1
make: *** [channels] Error 2



I have already applied the code to the source as described here: http://bbs.openvox.cn/viewthread.php?tid=2024&extra=page%3D1


Thanks.
10 years 5 months ago #9157 by rick.zhu
Hi,

Sorry to reply delay.

I will make a test for you,and tell you the result.
please give me some time.

Best Regards.
10 years 5 months ago #9158 by rick.zhu
Dear spindley,

Please tell me version of dahdi and asterisk you used.

My contact info be shown as below:

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

Best Regards.
10 years 5 months ago #9170 by spindley
Hi Rick,
I'm trying to build it with:

dahdi 2.6.1
asterisk current (1.8.24.0)

Thanks.

i] Last edited by spindley at 2013-10-24 23:35 [/i
10 years 5 months ago #9171 by rick.zhu
Hi spindley,

I have test that install chan-extra2.0.7,dahdi 2.6.1 and asterisk 1.8.24 with kernel 2.6.32-358.23.2.el6.x86_64.

It without any issues,can you let me check it for you?Or tell me your result of you install.

Please contact me via Skype.

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