FÓRUM DigiVoice

Fórum de Suporte Digivoice

Você não está logado.

#1 17/05/2010 19:13:41

livretelecom
Membro

Problema com instalação do DGV

Pessoal estou com a seguinte mensagem de erro durante a instalaçao do DGV (versão 1.0.5 ou a mais nova RC do 1.0.6):

make -C fifodev
-p: not found
chkconfig: not found
make[1]: Entering directory `/usr/src/dgvchannel-1.0.5/fifodev'
Building FIFO device for kernel 2.6...

make -C /lib/modules/2.6.32-22-server/build -I/usr/include/asm/mach-default/ SUBDIRS=/usr/src/dgvchannel-1.0.5/fifodev modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-22-server'
-p: not found
chkconfig: not found
  CC [M]  /usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.o
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c: In function ‘dgvfifo_read’:
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c:143: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c:143: error: (Each undeclared identifier is reported only once
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c:143: error: for each function it appears in.)
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c:143: error: implicit declaration of function ‘signal_pending’
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c:143: error: implicit declaration of function ‘schedule’
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c: In function ‘dgvfifo_write’:
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c:237: error: ‘TASK_NORMAL’ undeclared (first use in this function)
make[3]: *** [/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.o] Error 1
make[2]: *** [_module_/usr/src/dgvchannel-1.0.5/fifodev] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-22-server'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/dgvchannel-1.0.5/fifodev'
make: *** [fifo] Error 2


Lembrando que minha placa é uma VB6060 PCI EXPRESS e o voicerlib instala perfeitamente, apenas o dgv channel que dá este erro

Offline

 

#2 17/05/2010 19:25:24

livretelecom
Membro

Re: Problema com instalação do DGV

Para um log melhor:

./create_rcdl.sh "/usr/src/libpri"
Checking Libpri version at /usr/src/libpri...1.4.10.2

* Libpri already patched, nothing to do.

./create_config.sh "/usr/src/asterisk/include" "/usr/src/libpri"
4220
Checking Asterisk version at /usr/src/asterisk/include/asterisk... 1.6.0.26
* found Asterisk version 1.6
* no data pointer in ast_frame
* found stringfield in ast_channel
* no snmp in ast_channel
* found 'indicate' with data
* found second extended ast_channel_alloc
* found clear flag HAS_TIMING_INFO in ast_channel
* found reverse charging detection in libpri
* found extended ast_channel_alloc
* found send_digit_end with duration
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__    -c -o chan_dgv.o chan_dgv.c
chan_dgv.c: In function ‘prierr’:
chan_dgv.c:636: warning: format not a string literal and no format arguments
chan_dgv.c: In function ‘dgv_show_alarms’:
chan_dgv.c:2984: warning: format not a string literal and no format arguments
chan_dgv.c:3018: warning: format not a string literal and no format arguments
chan_dgv.c:3054: warning: format not a string literal and no format arguments
chan_dgv.c:3092: warning: format not a string literal and no format arguments
chan_dgv.c:3153: warning: format not a string literal and no format arguments
chan_dgv.c:3572: warning: format not a string literal and no format arguments
chan_dgv.c:3685: warning: format not a string literal and no format arguments
gcc -shared -Xlinker -x -o chan_dgv.so chan_dgv.o -ldigivoice -lpri
gcc -std=gnu99 -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations  -I/usr/src/asterisk/include -D_REENTRANT -D_GNU_SOURCE -D__LINUX__    -c -o app_dgccb.o app_dgccb.c
dgvchannel.h:343: warning: ‘iflast’ defined but not used
dgvchannel.h:343: warning: ‘iffirst’ defined but not used
gcc -shared -Xlinker -x -o app_dgccb.so app_dgccb.o -ldigivoice
gcc -std=gnu99 -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations  -I/usr/src/asterisk/include -D_REENTRANT -D_GNU_SOURCE -D__LINUX__    -c -o app_dgflash.o app_dgflash.c
dgvchannel.h:343: warning: ‘iflast’ defined but not used
dgvchannel.h:343: warning: ‘iffirst’ defined but not used
gcc -shared -Xlinker -x -o app_dgflash.so app_dgflash.o -ldigivoice
gcc -std=gnu99 -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations  -I/usr/src/asterisk/include -D_REENTRANT -D_GNU_SOURCE -D__LINUX__    -c -o app_dgsendsms.o app_dgsendsms.c
dgvchannel.h:343: warning: ‘iflast’ defined but not used
dgvchannel.h:343: warning: ‘iffirst’ defined but not used
gcc -shared -Xlinker -x -o app_dgsendsms.so app_dgsendsms.o -ldigivoice
gcc -std=gnu99 -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations  -I/usr/src/asterisk/include -D_REENTRANT -D_GNU_SOURCE -D__LINUX__    -c -o auto_conf_dgv.o auto_conf_dgv.c
gcc -o auto_conf_dgv -std=gnu99 -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations  -I/usr/src/asterisk/include -D_REENTRANT -D_GNU_SOURCE -D__LINUX__  auto_conf_dgv.o -I/usr/include/voicerlib -lpthread -ldigivoice -lm
make -C fifodev
-p: not found
chkconfig: not found
make[1]: Entering directory `/usr/src/dgvchannel-1.0.5/fifodev'
Building FIFO device for kernel 2.6...

make -C /lib/modules/2.6.32-22-server/build -I/usr/include/asm/mach-default/ SUBDIRS=/usr/src/dgvchannel-1.0.5/fifodev modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-22-server'
-p: not found
chkconfig: not found
  CC [M]  /usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.o
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c: In function ‘dgvfifo_read’:
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c:143: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c:143: error: (Each undeclared identifier is reported only once
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c:143: error: for each function it appears in.)
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c:143: error: implicit declaration of function ‘signal_pending’
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c:143: error: implicit declaration of function ‘schedule’
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c: In function ‘dgvfifo_write’:
/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c:237: error: ‘TASK_NORMAL’ undeclared (first use in this function)
make[3]: *** [/usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.o] Error 1
make[2]: *** [_module_/usr/src/dgvchannel-1.0.5/fifodev] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-22-server'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/dgvchannel-1.0.5/fifodev'
make: *** [fifo] Error 2

Offline

 

#3 17/05/2010 20:59:32

livretelecom
Membro

Re: Problema com instalação do DGV

eu mesmo perguntei e eu mesmo vou responder

o dgv channel não funciona com o kernel 2.6.32, peço que verifiquem a compatibilidade do driver com este kernel pois eu necessitarei usá-lo devido a hardware novo e não conseguirei instalar a placa conforme visto acima.

Grato,
Patrick

Offline

 

#4 23/05/2010 11:13:33

livretelecom
Membro

Re: Problema com instalação do DGV

Segundo um post no forum do asteriks.com.br para resolver o problema basta dat um include no arquivo /usr/src/dgvchannel-1.0.5/fifodev/dgvfifo.c

include <linux/sched.h>

Offline

 

#5 24/05/2010 15:28:56

r.thiago
Membro

Re: Problema com instalação do DGV

livretelecom,


Obrigado pelo retorno.


Abraços!


Thiago Ramos
Suporte Técnico DigiVoice

Offline

 

#6 20/01/2011 22:01:55

oesteti
Membro

Re: Problema com instalação do DGV

Bom pessoal tenho um servidor aqui T410 da Dell o mesmo só funciona com o Kernel superior as versões do meucci, com isso estou com o mesmo probrema acima!
Acrescentei a linha e a instalação passou normal porém no CLI o comando 'dgv' não funciona....tenho que fazer mais alguma coisa, como seu que a minha placa foi realmente reconhecida e instalada corretamente.

Obrigado!

Offline

 

#7 21/02/2011 14:16:21

jntech
Membro

Re: Problema com instalação do DGV

Colegas estou com um problema parecido mas este include não funcionou, segue log:

root@Servidor-Toptrade:/usr/src/dgvchannel-1.0.5# make

./create_rcdl.sh "/usr/src/libpri"
Checking Libpri version at /usr/src/libpri...1.4.10.2

* Libpri already patched, nothing to do.

./create_config.sh "/usr/src/asterisk/include" "/usr/src/libpri"
4230
Checking Asterisk version at /usr/src/asterisk/include/asterisk... 1.4.29
* assuming Asterisk version 1.4
* found stringfield in ast_channel
* no snmp in ast_channel
* found 'indicate' with data
* found second extended ast_channel_alloc
* found clear flag HAS_TIMING_INFO in ast_channel
* found reverse charging detection in libpri
* found extended ast_channel_alloc
* found send_digit_end with duration
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
chan_dgv.c: In function âdgv_echo_canâ:
chan_dgv.c:1471: error: too few arguments to function âdg_EnableEchoCancelationâ
chan_dgv.c:1489: error: too few arguments to function âdg_EnableEchoCancelationâ
chan_dgv.c: In function âdialplan_echo_threadâ:
chan_dgv.c:8065: error: too few arguments to function âdg_EnableEchoCancelationâ
chan_dgv.c: In function âevent_handlerâ:
chan_dgv.c:10708: error: âALARM_RESERVEDâ undeclared (first use in this function)
chan_dgv.c:10708: error: (Each undeclared identifier is reported only once
chan_dgv.c:10708: error: for each function it appears in.)
chan_dgv.c:11448: error: too few arguments to function âdg_EnableEchoCancelationâ
chan_dgv.c:11650: error: too few arguments to function âdg_EnableEchoCancelationâ
make: ** [chan_dgv.o] Erro 1

Offline

 

#8 10/03/2011 09:41:25

r.thiago
Membro

Re: Problema com instalação do DGV

Ola jntech,


O problema continua? Por favor informe sua distribuição linux e versão de asterisk que está utilizando.


Obrigado!


Thiago Ramos
Suporte Técnico DigiVoice

Offline

 

#9 11/03/2011 09:22:57

jntech
Membro

Re: Problema com instalação do DGV

Sim o problema continua.
versão linux = Debian 6.0
versão asterisk = 1.4.29

Offline

 

#10 11/03/2011 10:23:47

joaolima
Membro

Re: Problema com instalação do DGV

oesteti escreveu:

Bom pessoal tenho um servidor aqui T410 da Dell o mesmo só funciona com o Kernel superior as versões do meucci, com isso estou com o mesmo probrema acima!
Acrescentei a linha e a instalação passou normal porém no CLI o comando 'dgv' não funciona....tenho que fazer mais alguma coisa, como seu que a minha placa foi realmente reconhecida e instalada corretamente.

Obrigado!

Ola Oesteti

Qual a versão do Meucci você esta utilizando?


Obrigado

__________________________________
João Eduardo
Suporte Digivoice

Offline

 

#11 11/03/2011 10:27:52

joaolima
Membro

Re: Problema com instalação do DGV

jntech escreveu:

Sim o problema continua.
versão linux = Debian 6.0
versão asterisk = 1.4.29

Ola jntech

Por favor de mais informações "libpri versão, dgvchannel versão, voicerlib versão, se usar o dahdi versão, etc"


Obrigado

_________________________________
João Eduardo
Suporte Digivoice

Offline

 

Rodapé do fórum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson