[PlanetCCRMA] libhydrogen compilation fails
Fernando Pablo Lopez-Lezcano
nando at ccrma.Stanford.EDU
Wed Nov 12 11:02:01 PST 2003
> > Rebuilding libhydrogen-0.8.0-1.src.rpm on Red Hat 9 (fully updated):
> >
> > g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -c Hydrogen.cpp -MT Hydrogen.lo -MD
> > -MP -MF .deps/Hydrogen.TPlo -fPIC -DPIC -o .libs/Hydrogen.lo
> > Hydrogen.cpp: In function `void audioEngine_startAudioDrivers()':
> > Hydrogen.cpp:1393: invalid conversion from `int (*)(long unsigned int,
> > void*)'
> > to `int (*)(unsigned int, void*)'
> > Hydrogen.cpp:1393: initializing argument 1 of
> > `JackDriver::JackDriver(int
> > (*)(unsigned int, void*))'
> >
> > I'm using jack-audio-connection-kit-0.80.0-1, alsa-driver-0.9.8-2.fr and
> > kernel-2.4.20-20.9.XFS1.3.1
Include the patch attached to this email in the build process... I'll be
updating the source rpm soon.
-- Fernando
-------------- next part --------------
--- libhydrogen-0.8.0/src/Hydrogen.cpp~ 2003-05-24 10:30:09.000000000 -0700
+++ libhydrogen-0.8.0/src/Hydrogen.cpp 2003-11-12 10:57:12.000000000 -0800
@@ -141,7 +141,7 @@
void audioEngine_setSong(Song *newSong);
void audioEngine_removeSong();
void audioEngine_playNote(Note *note);
-int audioEngine_process(unsigned long nframes, void *arg);
+int audioEngine_process(unsigned int nframes, void *arg);
inline void audioEngine_process_checkBPMChanged();
inline void audioEngine_process_playPattern(unsigned long nframes);
inline void audioEngine_process_playMidi(unsigned long nframes);
More information about the PlanetCCRMA
mailing list