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

