On Wed, Dec 21, 2011 at 9:26 AM, Patrick Matthäi <[email protected]> wrote: > Hi Dan, > > I have got a critical FTBFS on kfreebsd with git master, because of RtAudio, > which were not present - as RtAudio - in 0.7.6 release: > > RtAudio.cpp:6987:29: error: 'SNDCTL_DSP_HALT' was not declared in this scope > RtAudio.cpp: In member function 'virtual void RtApiOss::stopStream()': > RtAudio.cpp:7083:36: error: 'SNDCTL_DSP_HALT' was not declared in this scope > RtAudio.cpp:7093:36: error: 'SNDCTL_DSP_HALT' was not declared in this scope > RtAudio.cpp: In member function 'virtual void RtApiOss::abortStream()': > RtAudio.cpp:7129:36: error: 'SNDCTL_DSP_HALT' was not declared in this scope > RtAudio.cpp:7139:36: error: 'SNDCTL_DSP_HALT' was not declared in this scope > make[3]: *** [RtAudio.o] Error 1 > make[3]: Leaving directory > `/build/buildd-mlt_0.7.6+git20111220-1-kfreebsd-amd64-g3zGJu/mlt-0.7.6+git20111220/src/modules/rtaudio' > make[2]: *** [all] Error 1 > make[2]: Leaving directory > `/build/buildd-mlt_0.7.6+git20111220-1-kfreebsd-amd64-g3zGJu/mlt-0.7.6+git20111220/src/modules' > make[1]: *** [all] Error 1 > make[1]: Leaving directory > `/build/buildd-mlt_0.7.6+git20111220-1-kfreebsd-amd64-g3zGJu/mlt-0.7.6+git20111220' > dh_auto_build: make -j1 returned exit code 2 > make: *** [build] Error 2 > > Full log here: > https://buildd.debian.org/status/fetch.php?pkg=mlt&arch=kfreebsd-amd64&ver=0.7.6%2Bgit20111220-1&stamp=1324412512 > > First I had an FTBFS, because RtAudio includes soundcard.h, which is present > on Linux, but a better place may be sys/soundcard.h (which I had patched). > Please have a look at my attachment 03. > With it mlt still builds fine on all Linux platforms, but still not on
MLT RtAudio on Linux should be using only ALSA. > kfreebsd and hurd (same error). It appears some BSDs include OSS, but I do not know about these kernels specifically. > Additional I add two another patches to support building on hurd (02 and 04 > attachment). > I can't say if both patches let mlt build until the end on hurd now, because > of the RtAudio fail.. > > I hope you can help me :) I can make a change that disables the rtaudio plugin when not using FreeBSD, Linux, Windows, or OS X. -- +-DRD-+ ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Mlt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mlt-devel
