When trying to emerge media-libs/libhydrogen-0.8.0, the compile fails with the
Hydrogen.cpp: In function `void audioEngine_startAudioDrivers()':
Hydrogen.cpp:1393: error: invalid conversion from `int (*)(long unsigned int,
void*)' to `int (*)(unsigned int, void*)'
Hydrogen.cpp:1393: error: initializing argument 1 of `
JackDriver::JackDriver(int (*)(unsigned int, void*))'
make: *** [Hydrogen.lo] Error 1
make: Leaving directory `/[...]/libhydrogen-0.8.0/src'
make: *** [all-recursive] Error 1
make: Leaving directory `/[...]/libhydrogen-0.8.0'
make: *** [all] Error 2
I suspect this occurs only if JACK ist not installed.
I think the ebuild should either lauch the configure with --disable-jack-support
(if JACK not installed) or have JACK as a dependency.
Steps to Reproduce:
1. emerge media-libs/libhydrogen-0.8.0
Build fails with error.
1. Install from source with ./configure --disable-jack-support
2. Inject media-libs/libhydrogen-0.8.0 with emerge -i media-libs/libhydrogen-0.8.0
The bug occured on:
Linux version 2.4.20-gentoo-r7 (gcc version 3.3.1 20030916 (Gentoo Linux
virtual/jack is in the dependencies. How are you managing to compile with
out j-a-c-k or jack-cvs emerged?
Actually, you are right. media-sound/jack-audio-connection-kit is indeed
emerged on my system. (How could I overlook that? :) Still, the error occurs,
whether using portage or manual compile.
This is probably a problem with the prototype of audioEngine_process and
not the ebuild. Sorry for bothering you.