On 24/09/15 18:15, Robert Millan wrote:
Also, if you want to use just ossaudio on Hurd, wouldn't it be better
to use the in-(rump-)kernel ossaudio compat translator
(sys/compat/ossaudio)?

There's a big problem with using sys/compat/ossaudio on non-NetBSD: since
it is built in the kernel tree, it includes the NetBSD version of
<sys/soundcard.h>
and also other headers like <sys/audioio.h> and <sys/ioccom.h>.

No, it does *not* include NetBSD <sys/soundcard.h>. The entire point of the module is to not use it(!)

As a result it can't be ABI-compatible with applications that were built
using the system-wide version of <sys/soundcard.h>.

Note that rebuilding world is not supported with binary-based
distributions, unlike
systems of BSD tradition where it's usually a trivial task.

Reply via email to