Hello Gary,

See this : https://github.com/ElvishArtisan/rivendell/issues/210

You can replace the pow10() occurrences with pow() like this :

from :
(jack_default_audio_sample_t)pow10((double)level/2000.0);

to :
(jack_default_audio_sample_t)pow(10.0,(double)level/2000.0);

    Hoggins!


Le 22/07/2018 à 11:47, Gary Hodder a écrit :
> Hi all,
>
> fedora 28 fully up to date
> rd-2.19.2
>
> ./configure --libexecdir=/var/www/html/rd-bin --
> sysconfdir=/etc/httpd/conf.d --disable-docbook
>
> Entering directory '/usr/src/rivendell-2.19.0/cae'
>   CXX      cae.o
>   CXX      cae_alsa.o
> cae_alsa.cpp: In member function ‘bool
> MainObject::alsaSetInputVolume(int, int, int)’:
> cae_alsa.cpp:1143:37: error: ‘pow10’ was not declared in this scope
>      alsa_input_volume[card][stream]=pow10((double)level/2000.0);
>                                      ^~~~~
> cae_alsa.cpp:1143:37: note: suggested alternative: ‘powl’
>      alsa_input_volume[card][stream]=pow10((double)level/2000.0);
>                                      ^~~~~
>                                      powl
> cae_alsa.cpp: In member function ‘bool
> MainObject::alsaSetOutputVolume(int, int, int, int)’:
> cae_alsa.cpp:1161:44: error: ‘pow10’ was not declared in this scope
>      alsa_output_volume[card][port][stream]=pow10((double)level/2000.0)
> ;
>                                             ^~~~~
> cae_alsa.cpp:1161:44: note: suggested alternative: ‘powl’
>      alsa_output_volume[card][port][stream]=pow10((double)level/2000.0)
> ;
>                                             ^~~~~
>                                             powl
> cae_alsa.cpp: In member function ‘bool
> MainObject::alsaSetPassthroughLevel(int, int, int, int)’:
> cae_alsa.cpp:1369:7: error: ‘pow10’ was not declared in this scope
>        pow10((double)level/2000.0);
>        ^~~~~
> cae_alsa.cpp:1369:7: note: suggested alternative: ‘powl’
>        pow10((double)level/2000.0);
>        ^~~~~
>        powl
> make[1]: *** [Makefile:484: cae_alsa.o] Error 1
> make[1]: Leaving directory '/usr/src/rivendell-2.19.0/cae'
> make: *** [Makefile:526: all-recursive] Error 1
>
>
> So I went back to rd-2.19.0 that worked before now has the same result.
> The only difference is updates and now i'm using jack.
>
> With a bit of digging found pow10 man page
>
> These functions first appeared in glibc in version 2.1.  Since glibc
> 2.27, the use of these functions in new programs is no longer
> supported.
>
> rpm -q glibc
> glibc-2.27-30.fc28.x86_64
> glibc-2.27-30.fc28.i686
>
> Thanks
> Gary.
>
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to