é... foi o que eu fiz e deu certo.. Obrigado.
Entretanto desisti de usar este rivendell no FreeBSD O problema é que o rivendell tem outras dependências sobre o cdrom.h, input.h (até aqui resolvi) e parece que tem algum problema no Makefile gerado pelo ./configure, além de algo com o net/if.h ... Enfim... falhei na tentativa de portar isso para o FreeBSD, quem sabe algum outro dia que eu tenha mais tempo/conhecimento. Abraços. 2008/3/24 Nilton Jose Rizzo <[EMAIL PROTECTED]>: > On Mon, 24 Mar 2008 15:41:54 -0300, Giancarlo Rubio wrote > > Ou então criar dentro de um dos includes dele (*.h) uma linha assim > > #ifdef __FREEBSD__ > #define pow10(x) pow(10.0,x) > #endif > > que fica mais interessante e nõ meche na estrutura dos arquivos *.c > > > > > > Tente substituir as ocorrencias de pow10(var) por pow(10.0, var) > > Para listar todos os arquivos com pow10 use > > #grep -r "pow10" /dir > > Poderia tentar fazer com sed algo assim > > #sed -is 's/pow10\(/pow\(10.0/g' arquivo.c > > > > Em 24/03/08, Marcelo/Porks<[EMAIL PROTECTED]> escreveu: > > > Senhores, estou tentando compilar este software no FreeBSD 7.0: > > > > > > rivendell (tentei a versão rivendell-0.9.84 e rivendell-0.9.82) > > > http://www.rivendellaudio.org/ > > > > > > e está dando um problema (logo abaixo), pelo pouco que entendo é que > > > falta uma função chamada pow10. > > > Alguém sabe como eu posso resolver isto? > > > nem que seja para eu trocar essa função pow10 por uma outra... > > > ou se alguém sabe onde eu acho essa função para eu meter no meio deste > > > arquivo :P > > > Enfim, qualquer idéia é bem vinda... > > > > > > Obrigado > > > > > > ===================== > > > rdwavepainter.cpp: In member function 'void > > > RDWavePainter::drawWaveBySamples(int, int, int, int, int, > > > RDWavePainter::Channel, const QColor&, int, int)': > > > rdwavepainter.cpp:129: error: 'pow10' was not declared in this scope > > > *** Error code 1 > > > > > > Stop in /usr/src/rivendell-0.9.84/lib. > > > *** Error code 1 > > > > > > Stop in /usr/src/rivendell-0.9.84. > > > ===================== > > > # cat lib/rdwavepainter.cpp | grep pow10 > > > gain_scale=(double)(pix->height()/65536.0)* pow10((double)gain/2000.0); > > > gain_scale=(double)(pix->height()/65536.0)* pow10((double)gain/2000.0); > > > gain_scale=(double)(pix->height()/65536.0)* pow10((double)gain/2000.0); > > > gain_scale=(double)(pix->height()/65536.0)* pow10((double)gain/2000.0); > > > > > > > > > > > > -- > > > Marcelo Rossi > > > "This e-mail is provided "AS IS" with no warranties, and confers no > rights." > > > ------------------------- > > > Histórico: http://www.fug.com.br/historico/html/freebsd/ > > > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > > > > > > > -- > > Giancarlo Rubio > > ------------------------- > > Histórico: http://www.fug.com.br/historico/html/freebsd/ > > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > > > -- > Nilton José Rizzo > 805 Informatica > Disseminado tecnologias > 021 2413 9786 > > > > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > -- Marcelo Rossi "This e-mail is provided "AS IS" with no warranties, and confers no rights." ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

