Skip to Content

Compile error with Hydrogen

3 replies [Last post]
cayenne
Offline
Joined: 04/17/2010

Hello all,

I'm trying to compile Hydrogen stable...and when I run make I get the following:

reported only once for each function it appears in.)
src/lib/drivers/OssDriver.cpp:48: error: `sched_getparam' undeclared (first use
this function)
src/lib/drivers/OssDriver.cpp: In member function `virtual int
OssDriver::connect()':
src/lib/drivers/OssDriver.cpp:147: error: `SNDCTL_DSP_SYNC' undeclared (first
use this function)
src/lib/drivers/OssDriver.cpp:152: error: `SNDCTL_DSP_SAMPLESIZE' undeclared
(first use this function)
src/lib/drivers/OssDriver.cpp:157: error: `SNDCTL_DSP_SPEED' undeclared (first
use this function)
src/lib/drivers/OssDriver.cpp:162: error: `SNDCTL_DSP_STEREO' undeclared (first
use this function)
src/lib/drivers/OssDriver.cpp:171: error: `SNDCTL_DSP_SETFRAGMENT' undeclared
(first use this function)
src/lib/drivers/OssDriver.cpp:173: error: `SNDCTL_DSP_GETBLKSIZE' undeclared
(first use this function)
src/lib/drivers/OssDriver.cpp:187: error: `AFMT_S16_LE' undeclared (first use
this function)
src/lib/drivers/OssDriver.cpp:188: error: `SNDCTL_DSP_SETFMT' undeclared (first
use this function)
make[1]: *** [src/OssDriver.o] Error 1
make: *** [hydrogenPlayer] Error 2

I'm on an iBook ppc...I'd run into the libsndfile error..so, downloaded and compiled those.

Could this be a flac problem? I've got Macflac installed, which put libFLAC.4.dylib in /usr/local/lib, and also FLAC from Fink, and libFLAC.6.dylib in in the /sw/lib directory...just was wondering. I'd been installing FLAC left and right trying to get a version of this lib (7) which the binary installer of Hydrogen seemed to be looking for.

Anyway..getting closer to having Hydrogen going on here...any help greatly appreciated!!

cayenne

Eldmannen
Offline
Joined: 04/17/2010

Hydrogen on Mac is a little bit experimental. Try get a binary instead maybe if avaible.

You need the FLAC libraries, etc.

I think there is some more information about this in other threads...

cayenne
Offline
Joined: 04/17/2010

I tried the binaries first...never could get them to run...they never liked the flac I installed...see bottom of original post on this thread....the libFLAC it wants has a 7 in it...all I could get installed was a 4 or a 6....can't find the one it wants...

So...tried compiling...

Darn..I used Hydrogen on Linux before it was a blast to work with...but, my PodXT works best on the mac..so, wanted to try to use it all on the same box....got Ardour up and running...and installiing Rosegarden right now...so, just need Hydrogen, and I'm good to go.

Any further suggestions or links greatly appreciated!

C

Comix
Offline
Joined: 04/17/2010

Send me a mac and the port will be done ;-)
C'mon it's christmas, it will be a nice gift!!!!! ehehe

--
comix