|
From: James T. <zak...@ma...> - 2012-11-20 09:02:26
|
On 20 Nov 2012, at 08:46, Michael wrote: > Hi > trying to compile with download&compile script on Ubuntu 12.10 64bit and get: > > ../../../../plib/src/sl/slDSP.cxx: In member function ‘void slDSP::open(const char*, int, int, int)’: > ../../../../plib/src/sl/slDSP.cxx:59:22: error: ‘SOUND_PCM_WRITE_CHANNELS_is_obsolete_use_SNDCTL_DSP_CHANNELS_instead’ was not declared in this scope > ../../../../plib/src/sl/slDSP.cxx:60:22: error: ‘SOUND_PCM_WRITE_BITS_is_obsolete_use_SNDCTL_DSP_SETFMT_instead’ was not declared in this scope > ../../../../plib/src/sl/slDSP.cxx:61:22: error: ‘SOUND_PCM_WRITE_RATE_is_obsolet_use_SNDCTL_DSP_SPEED_instead’ was not declared in this scope > ../../../../plib/src/sl/slDSP.cxx: In member function ‘void slDSP::sync()’: > ../../../../plib/src/sl/slDSP.cxx:148:31: error: ‘SOUND_PCM_SYNC_is_obsolete_use_SNDCTL_DSP_SYNC_instead’ was not declared in this scope > ../../../../plib/src/sl/slDSP.cxx: In member function ‘void slDSP::stop()’: > ../../../../plib/src/sl/slDSP.cxx:153:31: error: ‘SOUND_PCM_RESET_is_obsolete_use_SNDCTL_DSP_HALT_instead’ was not declared in this scope > make[2]: *** [slDSP.o] Error 1 I'm not sure what the script does, but in general we only need a few parts of PLIB: for the Mac autobuild, I configure it as follows: ./configure --disable-pw --disable-sl --disable-psl --disable-ssg --disable-ssgaux Hopefully you can adjust the script to disable those modules, or at least 'sl', and get things building. Regards, James |