I am looking to install OSS inside a FreeBSD jail with no sound card on the system. Basically I have another application that needs to link to libasound (linux-ALSA drivers). I am on a Virtual BSD server however, and cannot link a native BSD app with a linux lib.
I head that OSS has a compatible library, so I am looking to install. However:
- I am inside the Jail and thus, linking /dev/dsp isn't supported.
- There is no sound card in this server.
I've attempted to install the BSD package, however I receive the following error:
/usr/src]# pkg_add oss-freebsd7-v4.1-1051-amd64.tbz
Build Open Sound System for FreeBSD-amd64 7.1-RELEASE-p3
Compiling module osscore
Compiling osscore module failed
"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"
Starting Open Sound System
ln: /dev/dsp: Operation not permitted
Please run ossdetect to create it.
pkg_add: install script returned error status
Can anyone provide me some guidence?