FÓRUM DigiVoice

Fórum de Suporte Digivoice

Você não está logado.

#1 26/11/2014 19:29:39

evandroalves
Membro

Erro na compilação do dgvchannel no elastix

Saudações.
Não estou conseguindo compilar o dgvchannel 1.1.6 em uma instalação nova do Elastix 2.4.
Segue os dados da minha instalação:
Kernel
   Linux(i386)-2.6.18-398.el5

Elastix
   elastix-2.4.0-8
   elastix-a2billing-1.9.4-5
   elastix-addons-2.4.0-10
   elastix-agenda-2.4.0-11
   elastix-asterisk-sounds-1.2.3-1
   elastix-email_admin-2.4.0-5
   elastix-extras-2.4.0-2
   elastix-fax-2.4.0-3
   elastix-firstboot-2.4.0-4
   elastix-framework-2.4.0-19
   elastix-im-2.4.0-2
   elastix-my_extension-2.4.0-3
   elastix-pbx-2.4.0-7
   elastix-portknock-0.0.1-0
   elastix-reports-2.4.0-10
   elastix-security-2.4.0-6
   elastix-system-2.4.0-11
   elastix-vtigercrm-5.2.1-10

RoundCubeMail
   RoundCubeMail-0.3.1-12

Mail
   postfix-2.3.3-7.el5
   cyrus-imapd-2.3.7-12.el5_7.2

IM
   openfire-3.7.1-1

FreePBX
   freePBX-2.8.1-18

Asterisk
   asterisk-11.13.0-0
   asterisk-perl-1.03-0
   asterisk-addons-11.13.0-0

FAX
   hylafax-4.3.11-0rhel5
   iaxmodem-1.2.0-2

DRIVERS
   dahdi-2.10.0.1-0
   rhino-0.99.6-3.b4
   wanpipe-util-7.0.10-2

E o erro que apresenta:

dgvchannel-1.1.6]# make
./create_config.sh "/usr/src/asterisk/include" "/usr/src/libpri"
4254
Checking Asterisk version at /usr/src/asterisk/include/asterisk...
Checking Asterisk version at /usr/src/asterisk/main...
* no stringfield in ast_channel
* no snmp in ast_channel
* found ast_fdset in ast_select
* no get fax state in ast_channel
* found 'indicate' with data
* found second extended ast_channel_alloc
* found clear flag HAS_TIMING_INFO in ast_channel
* no reverse charging detection in libpri
* found extended ast_channel_alloc
* found send_digit_end with duration
* without generic jitter-buffer patch
config.h complete.
gcc -std=gnu99 -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations  -I/usr/src/asterisk/include -D_REENTRANT -D_GNU_SOURCE -D__LINUX__  -march=i686   -c -o chan_dgv.o chan_dgv.c
In file included from chan_dgv.c:122:
dgvchannel.h: In function ‘dgv_channel_tech_pvt’:
dgvchannel.h:47: error: dereferencing pointer to incomplete type
dgvchannel.h:49: warning: control reaches end of non-void function
dgvchannel.h: In function ‘dgv_channel_tech_pvt_set’:
dgvchannel.h:55: error: dereferencing pointer to incomplete type
dgvchannel.h: In function ‘dgv_channel_hangupcause’:
dgvchannel.h:63: error: dereferencing pointer to incomplete type
dgvchannel.h:65: warning: control reaches end of non-void function
dgvchannel.h: In function ‘dgv_channel_hangupcause_set’:
dgvchannel.h:71: error: dereferencing pointer to incomplete type
dgvchannel.h: In function ‘dgv_channel_state’:
dgvchannel.h:79: error: dereferencing pointer to incomplete type
dgvchannel.h:81: warning: control reaches end of non-void function
dgvchannel.h: In function ‘dgv_channel_state_set’:
dgvchannel.h:87: error: dereferencing pointer to incomplete type
dgvchannel.h: In function ‘dgv_channel_name’:
dgvchannel.h:95: error: dereferencing pointer to incomplete type
dgvchannel.h:97: warning: control reaches end of non-void function
dgvchannel.h: In function ‘dgv_channel_tech’:
dgvchannel.h:109: error: dereferencing pointer to incomplete type
dgvchannel.h:111: warning: control reaches end of non-void function
dgvchannel.h: In function ‘dgv_channel_tech_set’:
dgvchannel.h:117: error: dereferencing pointer to incomplete type
dgvchannel.h: In function ‘dgv_channel_context’:
dgvchannel.h:125: error: dereferencing pointer to incomplete type
dgvchannel.h:127: warning: control reaches end of non-void function
dgvchannel.h: In function ‘dgv_channel_exten’:
dgvchannel.h:133: error: dereferencing pointer to incomplete type
dgvchannel.h:135: warning: control reaches end of non-void function
dgvchannel.h: In function ‘dgv_channel_exten_set’:
dgvchannel.h:141: error: dereferencing pointer to incomplete type
dgvchannel.h:141: error: dereferencing pointer to incomplete type
dgvchannel.h: In function ‘dgv_channel_transfercapability’:
dgvchannel.h:149: error: dereferencing pointer to incomplete type
dgvchannel.h:151: warning: control reaches end of non-void function
dgvchannel.h: In function ‘dgv_bridged_channel’:
dgvchannel.h:157: warning: implicit declaration of function ‘ast_bridged_channel’
dgvchannel.h:157: warning: return makes pointer from integer without a cast
dgvchannel.h: In function ‘dgv_channel_is_bridged’:
dgvchannel.h:165: warning: comparison between pointer and integer
chan_dgv.c: At top level:
chan_dgv.c:209: error: ‘AST_FORMAT_SLINEAR’ undeclared here (not in a function)
chan_dgv.c:209: error: ‘AST_FORMAT_ULAW’ undeclared here (not in a function)
chan_dgv.c:209: error: ‘AST_FORMAT_ALAW’ undeclared here (not in a function)
chan_dgv.c:209: error: ‘AST_FORMAT_GSM’ undeclared here (not in a function)
chan_dgv.c:579: warning: initialization from incompatible pointer type
chan_dgv.c:580: warning: initialization from incompatible pointer type
chan_dgv.c:586: error: unknown field ‘bridged_channel’ specified in initializer
chan_dgv.c:587: error: unknown field ‘bridge’ specified in initializer
chan_dgv.c:601: error: unknown field ‘send_digit’ specified in initializer
chan_dgv.c:601: warning: initialization from incompatible pointer type
chan_dgv.c: In function ‘second_call_callback’:
chan_dgv.c:1269: error: incompatible types in assignment
chan_dgv.c: In function ‘need_sc_ring_callback’:
chan_dgv.c:1338: error: incompatible types in assignment
chan_dgv.c:1359: error: incompatible types in assignment
chan_dgv.c:1365: error: incompatible types in assignment
chan_dgv.c: In function ‘gsmstartsignal_timeout_callback’:
chan_dgv.c:1579: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c: In function ‘dgv_reset’:
chan_dgv.c:3158: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:3167: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:3176: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c: In function ‘dgv_gsm_reset’:
chan_dgv.c:3342: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:3351: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:3360: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:3369: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:3463: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:3472: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:3481: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:3490: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c: In function ‘dgv_show_alarms’:
chan_dgv.c:4967: warning: passing argument 1 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:4967: warning: passing argument 2 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:5100: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:5110: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:5170: warning: passing argument 1 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:5170: warning: passing argument 2 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:5185: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c: In function ‘dgv_alarms_reset’:
chan_dgv.c:6030: warning: passing argument 1 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:6030: warning: passing argument 2 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:6066: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:6143: warning: passing argument 1 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:6143: warning: passing argument 2 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:6166: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:6274: warning: passing argument 1 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:6274: warning: passing argument 2 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:6309: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:6380: warning: passing argument 1 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:6380: warning: passing argument 2 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:6403: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c: At top level:
chan_dgv.c:7720: warning: initialization from incompatible pointer type
chan_dgv.c:7721: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7723: warning: initialization from incompatible pointer type
chan_dgv.c:7724: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7726: warning: initialization from incompatible pointer type
chan_dgv.c:7727: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7729: warning: initialization from incompatible pointer type
chan_dgv.c:7730: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7732: warning: initialization from incompatible pointer type
chan_dgv.c:7733: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7735: warning: initialization from incompatible pointer type
chan_dgv.c:7736: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7738: warning: initialization from incompatible pointer type
chan_dgv.c:7739: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7741: warning: initialization from incompatible pointer type
chan_dgv.c:7742: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7744: warning: initialization from incompatible pointer type
chan_dgv.c:7745: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7747: warning: initialization from incompatible pointer type
chan_dgv.c:7748: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7750: warning: initialization from incompatible pointer type
chan_dgv.c:7751: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7753: warning: initialization from incompatible pointer type
chan_dgv.c:7754: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7756: warning: initialization from incompatible pointer type
chan_dgv.c:7757: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7759: warning: initialization from incompatible pointer type
chan_dgv.c:7760: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7762: warning: initialization from incompatible pointer type
chan_dgv.c:7763: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7765: warning: initialization from incompatible pointer type
chan_dgv.c:7766: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7768: warning: initialization from incompatible pointer type
chan_dgv.c:7769: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7772: warning: initialization from incompatible pointer type
chan_dgv.c:7773: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7775: warning: initialization from incompatible pointer type
chan_dgv.c:7776: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7778: warning: initialization from incompatible pointer type
chan_dgv.c:7779: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7781: warning: initialization from incompatible pointer type
chan_dgv.c:7782: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7784: warning: initialization from incompatible pointer type
chan_dgv.c:7785: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7787: warning: initialization from incompatible pointer type
chan_dgv.c:7788: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7790: warning: initialization from incompatible pointer type
chan_dgv.c:7791: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7793: warning: initialization from incompatible pointer type
chan_dgv.c:7794: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7796: warning: initialization from incompatible pointer type
chan_dgv.c:7797: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7799: warning: initialization from incompatible pointer type
chan_dgv.c:7800: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7807: warning: initialization from incompatible pointer type
chan_dgv.c:7808: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7810: warning: initialization from incompatible pointer type
chan_dgv.c:7811: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7813: warning: initialization from incompatible pointer type
chan_dgv.c:7814: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7816: warning: initialization from incompatible pointer type
chan_dgv.c:7817: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7819: warning: initialization from incompatible pointer type
chan_dgv.c:7820: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7822: warning: initialization from incompatible pointer type
chan_dgv.c:7823: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7825: warning: initialization from incompatible pointer type
chan_dgv.c:7826: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7828: warning: initialization from incompatible pointer type
chan_dgv.c:7829: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7831: warning: initialization from incompatible pointer type
chan_dgv.c:7832: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7834: warning: initialization from incompatible pointer type
chan_dgv.c:7835: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7837: warning: initialization from incompatible pointer type
chan_dgv.c:7838: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7840: warning: initialization from incompatible pointer type
chan_dgv.c:7841: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7843: warning: initialization from incompatible pointer type
chan_dgv.c:7844: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7846: warning: initialization from incompatible pointer type
chan_dgv.c:7847: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7849: warning: initialization from incompatible pointer type
chan_dgv.c:7850: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7852: warning: initialization from incompatible pointer type
chan_dgv.c:7853: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7855: warning: initialization from incompatible pointer type
chan_dgv.c:7856: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7859: warning: initialization from incompatible pointer type
chan_dgv.c:7860: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7862: warning: initialization from incompatible pointer type
chan_dgv.c:7863: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7865: warning: initialization from incompatible pointer type
chan_dgv.c:7866: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7868: warning: initialization from incompatible pointer type
chan_dgv.c:7869: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7871: warning: initialization from incompatible pointer type
chan_dgv.c:7872: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7874: warning: initialization from incompatible pointer type
chan_dgv.c:7875: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7877: warning: initialization from incompatible pointer type
chan_dgv.c:7878: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7880: warning: initialization from incompatible pointer type
chan_dgv.c:7881: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7883: warning: initialization from incompatible pointer type
chan_dgv.c:7884: warning: initialization makes integer from pointer without a cast
chan_dgv.c:7886: warning: initialization from incompatible pointer type
chan_dgv.c:7887: warning: initialization makes integer from pointer without a cast
chan_dgv.c: In function ‘do_timer’:
chan_dgv.c:8756: warning: passing argument 1 of ‘ast_sched_wait’ from incompatible pointer type
chan_dgv.c:8772: warning: passing argument 1 of ‘ast_sched_runq’ from incompatible pointer type
chan_dgv.c: In function ‘fixup_pri_channel’:
chan_dgv.c:8963: error: dereferencing pointer to incomplete type
chan_dgv.c:8963: error: dereferencing pointer to incomplete type
chan_dgv.c: In function ‘pri_event_handle’:
chan_dgv.c:9544: error: dereferencing pointer to incomplete type
chan_dgv.c:9611: error: dereferencing pointer to incomplete type
chan_dgv.c:9675: error: dereferencing pointer to incomplete type
chan_dgv.c:9729: error: incompatible types in assignment
chan_dgv.c:10210: error: incompatible types in assignment
chan_dgv.c:10230: error: incompatible types in assignment
chan_dgv.c:10250: error: incompatible types in assignment
chan_dgv.c:10451: error: incompatible types in assignment
chan_dgv.c:10463: error: incompatible types in assignment
chan_dgv.c:10474: error: dereferencing pointer to incomplete type
chan_dgv.c:10487: error: dereferencing pointer to incomplete type
chan_dgv.c:10498: error: dereferencing pointer to incomplete type
chan_dgv.c:10519: error: incompatible types in assignment
chan_dgv.c:10684: error: incompatible types in assignment
chan_dgv.c:10696: error: incompatible types in assignment
chan_dgv.c:10707: error: dereferencing pointer to incomplete type
chan_dgv.c:10721: error: dereferencing pointer to incomplete type
chan_dgv.c:10732: error: dereferencing pointer to incomplete type
chan_dgv.c:10754: error: incompatible types in assignment
chan_dgv.c:10895: error: dereferencing pointer to incomplete type
chan_dgv.c:10923: error: dereferencing pointer to incomplete type
chan_dgv.c:10980: error: incompatible types in assignment
chan_dgv.c:10988: error: incompatible types in assignment
chan_dgv.c: In function ‘fxss_thread’:
chan_dgv.c:11299: warning: implicit declaration of function ‘ast_pickup_ext’
chan_dgv.c:11299: warning: initialization makes pointer from integer without a cast
chan_dgv.c:11632: warning: implicit declaration of function ‘ast_pickup_call’
chan_dgv.c: In function ‘fv_thread’:
chan_dgv.c:11837: error: dereferencing pointer to incomplete type
chan_dgv.c:11861: error: incompatible types in assignment
chan_dgv.c:11890: error: incompatible types in assignment
chan_dgv.c: In function ‘dialplan_echo_thread’:
chan_dgv.c:12123: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:12129: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c: In function ‘set_port_config’:
chan_dgv.c:12916: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:12925: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:12934: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c: In function ‘start_dial’:
chan_dgv.c:13433: error: dereferencing pointer to incomplete type
chan_dgv.c:13459: error: dereferencing pointer to incomplete type
chan_dgv.c: In function ‘read_samples’:
chan_dgv.c:14717: warning: implicit declaration of function ‘ast_getformatname’
chan_dgv.c:14717: error: dereferencing pointer to incomplete type
chan_dgv.c:14717: error: dereferencing pointer to incomplete type
chan_dgv.c:14717: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
chan_dgv.c:14717: warning: format ‘%s’ expects type ‘char *’, but argument 10 has type ‘int’
chan_dgv.c:14725: error: dereferencing pointer to incomplete type
chan_dgv.c:14744: error: dereferencing pointer to incomplete type
chan_dgv.c:14791: error: incompatible types in assignment
chan_dgv.c:14820: error: incompatible types in assignment
chan_dgv.c:14833: error: incompatible types in assignment
chan_dgv.c:14843: error: incompatible types in assignment
chan_dgv.c:14875: error: incompatible types in assignment
chan_dgv.c:14892: error: incompatible types in assignment
chan_dgv.c:14902: error: incompatible types in assignment
chan_dgv.c:14945: error: incompatible types in assignment
chan_dgv.c:14971: error: incompatible types in assignment
chan_dgv.c:14981: error: incompatible types in assignment
chan_dgv.c: In function ‘QueueFrame’:
chan_dgv.c:15046: warning: format ‘%d’ expects type ‘int’, but argument 8 has type ‘struct ast_frame_subclass’
chan_dgv.c:15061: error: dereferencing pointer to incomplete type
chan_dgv.c:15079: warning: format ‘%d’ expects type ‘int’, but argument 9 has type ‘struct ast_frame_subclass’
chan_dgv.c:15096: warning: format ‘%d’ expects type ‘int’, but argument 8 has type ‘struct ast_frame_subclass’
chan_dgv.c:15113: error: dereferencing pointer to incomplete type
chan_dgv.c: In function ‘event_handler’:
chan_dgv.c:15420: error: incompatible types in assignment
chan_dgv.c:15703: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:15844: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:15858: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:15907: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:15913: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:15971: error: incompatible types in assignment
chan_dgv.c:16074: error: incompatible types in assignment
chan_dgv.c:16091: error: incompatible types in assignment
chan_dgv.c:16205: error: incompatible types in assignment
chan_dgv.c:16229: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:16585: error: incompatible types in assignment
chan_dgv.c:16613: error: incompatible types in assignment
chan_dgv.c:16650: error: incompatible types in assignment
chan_dgv.c:16722: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:16734: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:16745: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:16757: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:16782: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:16819: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:17005: error: incompatible types in assignment
chan_dgv.c:17041: error: incompatible types in assignment
chan_dgv.c:17090: error: incompatible types in assignment
chan_dgv.c:17112: error: incompatible types in assignment
chan_dgv.c:17271: error: dereferencing pointer to incomplete type
chan_dgv.c:17303: error: dereferencing pointer to incomplete type
chan_dgv.c:17337: error: dereferencing pointer to incomplete type
chan_dgv.c:17365: error: dereferencing pointer to incomplete type
chan_dgv.c:17658: error: incompatible types in assignment
chan_dgv.c:17702: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:17725: error: incompatible types in assignment
chan_dgv.c:17769: error: incompatible types in assignment
chan_dgv.c:17811: error: incompatible types in assignment
chan_dgv.c:17876: error: incompatible types in assignment
chan_dgv.c:17903: error: incompatible types in assignment
chan_dgv.c:17930: error: incompatible types in assignment
chan_dgv.c:17957: error: incompatible types in assignment
chan_dgv.c:17970: error: incompatible types in assignment
chan_dgv.c:18040: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:18073: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:18086: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:18118: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:18183: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:18198: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:18211: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:18355: error: incompatible types in assignment
chan_dgv.c:18385: error: dereferencing pointer to incomplete type
chan_dgv.c:18443: error: incompatible types in assignment
chan_dgv.c:18495: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:18779: error: incompatible types in assignment
chan_dgv.c:18897: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:18903: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:18978: error: incompatible types in assignment
chan_dgv.c:18996: error: incompatible types in assignment
chan_dgv.c:19014: error: incompatible types in assignment
chan_dgv.c:19040: error: incompatible types in assignment
chan_dgv.c:19079: error: incompatible types in assignment
chan_dgv.c:19194: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:19201: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:19217: error: incompatible types in assignment
chan_dgv.c:19247: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:19307: error: incompatible types in assignment
chan_dgv.c:19324: error: incompatible types in assignment
chan_dgv.c:19331: error: incompatible types in assignment
chan_dgv.c:19354: error: incompatible types in assignment
chan_dgv.c:19395: error: incompatible types in assignment
chan_dgv.c:19423: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:19450: error: incompatible types in assignment
chan_dgv.c:19476: error: incompatible types in assignment
chan_dgv.c:19612: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:19625: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:19647: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:19853: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:20097: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:20446: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:20456: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:20482: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:20495: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:20515: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:20544: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:20557: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:20609: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:20622: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c: In function ‘dgv_new’:
chan_dgv.c:21238: warning: passing argument 8 of ‘__ast_channel_alloc’ makes pointer from integer without a cast
chan_dgv.c:21238: warning: passing argument 9 of ‘__ast_channel_alloc’ from incompatible pointer type
chan_dgv.c:21238: error: incompatible type for argument 10 of ‘__ast_channel_alloc’
chan_dgv.c:21238: warning: passing argument 15 of ‘__ast_channel_alloc’ makes pointer from integer without a cast
chan_dgv.c:21255: error: dereferencing pointer to incomplete type
chan_dgv.c:21255: warning: passing argument 1 of ‘snprintf’ discards qualifiers from pointer target type
chan_dgv.c:21349: error: dereferencing pointer to incomplete type
chan_dgv.c:21349: error: dereferencing pointer to incomplete type
chan_dgv.c:21363: error: dereferencing pointer to incomplete type
chan_dgv.c:21363: error: dereferencing pointer to incomplete type
chan_dgv.c:21372: error: dereferencing pointer to incomplete type
chan_dgv.c:21419: error: dereferencing pointer to incomplete type
chan_dgv.c:21434: error: dereferencing pointer to incomplete type
chan_dgv.c:21435: error: dereferencing pointer to incomplete type
chan_dgv.c:21436: error: dereferencing pointer to incomplete type
chan_dgv.c:21437: error: dereferencing pointer to incomplete type
chan_dgv.c:21444: error: dereferencing pointer to incomplete type
chan_dgv.c:21459: error: dereferencing pointer to incomplete type
chan_dgv.c:21459: error: dereferencing pointer to incomplete type
chan_dgv.c:21470: error: dereferencing pointer to incomplete type
chan_dgv.c:21480: error: dereferencing pointer to incomplete type
chan_dgv.c:21490: error: dereferencing pointer to incomplete type
chan_dgv.c:21490: error: dereferencing pointer to incomplete type
chan_dgv.c: In function ‘dgv_call’:
chan_dgv.c:22237: error: dereferencing pointer to incomplete type
chan_dgv.c:22261: error: dereferencing pointer to incomplete type
chan_dgv.c:22261: error: dereferencing pointer to incomplete type
chan_dgv.c:22262: error: dereferencing pointer to incomplete type
chan_dgv.c:22281: error: dereferencing pointer to incomplete type
chan_dgv.c:22343: error: dereferencing pointer to incomplete type
chan_dgv.c:22368: error: dereferencing pointer to incomplete type
chan_dgv.c:22368: error: dereferencing pointer to incomplete type
chan_dgv.c:22369: error: dereferencing pointer to incomplete type
chan_dgv.c:22392: error: dereferencing pointer to incomplete type
chan_dgv.c:22408: error: dereferencing pointer to incomplete type
chan_dgv.c:22424: error: dereferencing pointer to incomplete type
chan_dgv.c:22425: error: dereferencing pointer to incomplete type
chan_dgv.c:22439: error: dereferencing pointer to incomplete type
chan_dgv.c:22476: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:22480: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:22537: error: dereferencing pointer to incomplete type
chan_dgv.c:22537: error: dereferencing pointer to incomplete type
chan_dgv.c:22553: error: dereferencing pointer to incomplete type
chan_dgv.c:22553: error: dereferencing pointer to incomplete type
chan_dgv.c:22555: error: dereferencing pointer to incomplete type
chan_dgv.c:22606: error: incompatible types in assignment
chan_dgv.c:22645: error: incompatible types in assignment
chan_dgv.c:22705: error: dereferencing pointer to incomplete type
chan_dgv.c:22705: error: dereferencing pointer to incomplete type
chan_dgv.c:22707: error: dereferencing pointer to incomplete type
chan_dgv.c:22708: error: dereferencing pointer to incomplete type
chan_dgv.c:22767: error: incompatible types in assignment
chan_dgv.c: In function ‘dgv_write’:
chan_dgv.c:22837: warning: format ‘%d’ expects type ‘int’, but argument 8 has type ‘struct ast_frame_subclass’
chan_dgv.c:22855: error: wrong type argument to unary exclamation mark
chan_dgv.c:22877: error: invalid operands to binary !=
chan_dgv.c:22891: error: incompatible types in assignment
chan_dgv.c:22938: error: cannot convert to a pointer type
chan_dgv.c:22951: warning: format ‘%x’ expects type ‘unsigned int’, but argument 10 has type ‘struct ast_frame_subclass’
chan_dgv.c:22977: error: cannot convert to a pointer type
chan_dgv.c:23011: error: cannot convert to a pointer type
chan_dgv.c:23040: error: cannot convert to a pointer type
chan_dgv.c:23067: error: cannot convert to a pointer type
chan_dgv.c: In function ‘dgv_hangup’:
chan_dgv.c:23153: error: dereferencing pointer to incomplete type
chan_dgv.c:23155: error: dereferencing pointer to incomplete type
chan_dgv.c:23375: error: incompatible types in assignment
chan_dgv.c:23418: error: incompatible types in assignment
chan_dgv.c:23641: error: incompatible types in assignment
chan_dgv.c:23965: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:24000: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:24019: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:24025: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:24105: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c: In function ‘dgv_indicate’:
chan_dgv.c:25439: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:25449: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:25613: error: incompatible types in assignment
chan_dgv.c:25689: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:25699: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c:25745: error: dereferencing pointer to incomplete type
chan_dgv.c:25755: error: incompatible types in assignment
chan_dgv.c:25786: error: incompatible types in assignment
chan_dgv.c:25827: warning: passing argument 1 of ‘ast_sched_del’ from incompatible pointer type
chan_dgv.c:25837: warning: passing argument 1 of ‘ast_sched_add’ from incompatible pointer type
chan_dgv.c: In function ‘reset_statistics’:
chan_dgv.c:26533: warning: passing argument 1 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:26533: warning: passing argument 2 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:26846:31: error: macro "ast_config_load" requires 2 arguments, but only 1 given
chan_dgv.c: In function ‘setup_dgv’:
chan_dgv.c:26846: error: ‘ast_config_load’ undeclared (first use in this function)
chan_dgv.c:26846: error: (Each undeclared identifier is reported only once
chan_dgv.c:26846: error: for each function it appears in.)
chan_dgv.c:27086: warning: assignment makes integer from pointer without a cast
chan_dgv.c:27119: warning: implicit declaration of function ‘sched_context_create’
chan_dgv.c:27119: warning: assignment makes pointer from integer without a cast
chan_dgv.c:27457: warning: passing argument 1 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:27457: warning: passing argument 2 of ‘ast_localtime’ from incompatible pointer type
chan_dgv.c:28037:36: error: macro "ast_config_load" requires 2 arguments, but only 1 given
chan_dgv.c: At top level:
chan_dgv.c:28156: warning: no previous prototype for ‘usecount’
chan_dgv.c:28164: warning: no previous prototype for ‘description’
chan_dgv.c:28172: warning: no previous prototype for ‘key’
make: *** [chan_dgv.o] Error 1

Segui toda receitinha de bolo para instalação que está no link http://www.digivoice.com.br/placasdevoz/cenarios/index.html?linux.htm
mas não consegui por pra funcionar.
Qualquer ajuda é bem vinda. Obrigado.

Offline

 

#2 27/11/2014 00:22:06

teobaldo
Membro

Re: Erro na compilação do dgvchannel no elastix

Estou com o mesmo problema, alguém já passou por esse inconveniente ?

Offline

 

#3 08/02/2015 16:53:25

feimsacuel
Membro

Re: Erro na compilação do dgvchannel no elastix

acho que e falta de suporte do channel driver com a versão estou tendo o mesmo problema com o asterisk 13.2.0, compila na versão 11.11 mas não aconselho alguns bugs chatos nessa versão. a digivoice podia corrigir isso estou começando um novo projeto com essa versão.

Offline

 

#4 11/02/2015 23:33:12

feimsacuel
Membro

Re: Erro na compilação do dgvchannel no elastix

foi me passado pela equipe de suporte um novo Channel driver com suporte ao Asterisk 13, esta em teste no meu laboratório corrigiu o erro de copilação.

Channel Driver Version: 1.1.8_rc2
VoicerLib Version.....: 4.2.5.5 (4255)
Firmware Versions.....:
    |_ DigiVoice Card 1: 362h
    |_ DigiVoice Card 2: 134h

Offline

 

#5 14/02/2015 01:22:47

carlos.limaf
Membro

Re: Erro na compilação do dgvchannel no elastix

Boa noite pessoal, estou com o mesmo problema ao compilar a dgvchannel, conforme segue:

Asterisk 11.15
Elastix 2.4
Linux(x86_64)      2.6.18      402.el5

Estou seguindo o tutorial da web da digivoice ( http://www.digivoice.com.br/forum2/viewtopic.php?id=2722 ) mas sem sucesso, por favor me ajudem



chan_dgv.c: At top level:
chan_dgv.c:28156: warning: no previous prototype for ‘usecount’
chan_dgv.c:28164: warning: no previous prototype for ‘description’
chan_dgv.c:28172: warning: no previous prototype for ‘key’
make: ** [chan_dgv.o] Erro 1


chan_dgv.c:22891: warning: statement with no effect
chan_dgv.c:22938: error: cannot convert to a pointer type
chan_dgv.c:22951: warning: format ‘%x’ expects type ‘unsigned int’, but argument 10 has type ‘union ast_frame_subclass’
chan_dgv.c:22977: error: cannot convert to a pointer type
chan_dgv.c:23011: error: cannot convert to a pointer type
chan_dgv.c:23040: error: cannot convert to a pointer type
chan_dgv.c:23067: error: cannot convert to a pointer type
chan_dgv.c: In function ‘dgv_hangup’:
chan_dgv.c:23153: error: dereferencing pointer to incomplete type
chan_dgv.c:23153: error: request for member ‘lock’ in something not a structure or union
chan_dgv.c:23153: warning: passing argument 1 of ‘ast_dgv_unlock’ from incompatible pointer type
chan_dgv.c:23155: error: dereferencing pointer to incomplete type
chan_dgv.c:23155: error: request for member ‘lock’ in something not a structure or union
chan_dgv.c:23155: warning: passing argument 1 of ‘ast_dgv_lock’ from incompatible pointer type
chan_dgv.c:23375: error: incompatible types in assignment
chan_dgv.c:23375: warning: statement with no effect


Lutar sempre desistir jamais....

Offline

 

#6 18/02/2015 16:44:10

feimsacuel
Membro

Re: Erro na compilação do dgvchannel no elastix

Verifica se a voicerlib e compatível com o channel driver

Offline

 

#7 12/03/2015 08:39:20

Re: Erro na compilação do dgvchannel no elastix

Estou usando o driver com o Asterisk 13.2 e encontrei falha de qualidade quando uma ligação usa dois Channels Local para completar ligação usando digivoice.

Para entender:

Executo via originate que tem como Channel de Destino Local/numero@contexto, exten numerodedestino context contextodesaida.

O channel nada mais é que o envio da ligação para o ramal usando o contexto para achar o caminho do ramal, quando atende dispara a ligação para exten.

Quando esse tipo de ligação acontece a qualidade é muito baixa, picote, jitter e tudo mais.

Quand liga direto pelo softphone não tem esse problema.

Em hipótese alguma é rede/asterisk/softphone/computador é o channel da Digivoice que não esta trabalhando corretamente o transcode, pois quando a ligação não usa digivoice (usa outros fabricantes) não acontece o problema.

Tive problemas semelhantes em outros fabricantes que resolver o problema pontualmente.

Última alteração por matheuscucoloto (12/03/2015 08:40:21)

Offline

 

#8 09/06/2015 16:13:25

e.messias
Membro

Re: Erro na compilação do dgvchannel no elastix

Boa tarde matheuscucoloto,

Encaminhei seu problema ao responsável pelo desenvolvimento do DGV-Channel. Ele deverá contactá-lo para que possamos solucionar este problema.

Assim que tivermos uma solução definitiva publicaremos aqui no fórum.


At.te,
--
Éric Messias
DigiVoice - Analista de P&D
suporte@digivoice.com.br
Novo Fórum DigiVoice - http://www.digivoice.com.br/forum/ - Em breve

Offline

 

#9 14/08/2015 18:41:55

severo_neto
Membro

Re: Erro na compilação do dgvchannel no elastix

Olá Éric,

Estou com o mesmo problema ao instalar o dgvchannel-1.1.6 rodando com o asterisk-13.5.0  e voicerlib-4.2.5.4

....

dgvchannel.h: In function ‘dgv_channel_exten’:
dgvchannel.h:135:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
dgvchannel.h: In function ‘dgv_channel_transfercapability’:
dgvchannel.h:151:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
<builtin>: recipe for target 'chan_dgv.o' failed
make: *** [chan_dgv.o] Error 1


Já temos alguma solução para esse problema?

Desde já agradeço pela atenção.

Sds,

Severo Costa

Última alteração por severo_neto (14/08/2015 18:42:21)

Offline

 

#10 09/11/2016 01:01:43

raphaelrr
Membro

Re: Erro na compilação do dgvchannel no elastix

Pessoal,

No meu caso é um asterisk 11.24.0 e temos o mesmo erro, alguem já teve algum retorno ?

At.

Offline

 

#11 30/10/2017 17:24:05

kleberlyra
Membro

Re: Erro na compilação do dgvchannel no elastix

Olá estou com o mesmo problema de compilação.
Estou usando o Issabel 4, Asterisk 11.25.0, dgvchannel-1.1.8.

Digivoice, dá uma ajuda aí

Offline

 

#12 30/10/2017 19:04:41

kleberlyra
Membro

Re: Erro na compilação do dgvchannel no elastix

Pessoal, aqui achei a solução http://www.digivoice.com.br/placasdevoz/cenarios/index.html?elastix2.htm

Criei o raio do arquivo version.c e pow....
o dgvchannel compilou

Offline

 

Rodapé do fórum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson