Differences between revisions 5 and 6
Revision 5 as of 2008-04-05 17:07:08
Size: 3244
Editor: MarkHobley
Comment: Building the new OSS sound system from source
Revision 6 as of 2008-04-05 20:03:09
Size: 1432
Editor: FranklinPiat
Comment: removed "new oss version" section : It isn't in debian.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#language en
Line 5: Line 6:

== An updated version of the Open Sound System is now available under the GNU General Public Licence ==

== Building the new OSS sound core from source code ==

Obtain the latest stable source tarball for the OSS package

 * [http://www.4front-tech.com/developer/sources/stable/gpl/ OSS Stable Releases]
 * [http://www.4front-tech.com/developer/sources/testing/gpl/ OSS Current Testing Release]

Make the source directory current

 cd /usr/src

Extract the source tarball

 bunzip2 -c ~/oss-v4.0-build1015-src-gpl.tar.bz2 | tar xvf -

Create a build directory and make it current

 mkdir ~/oss
 cd ~/oss

Create a fakeroot environment

 fakeroot

Run the configure script

The configure script currently supplied with the open sound system must be invoked using a full pathname. An error will occur during build, if a relative pathname is used

 /usr/src/oss-v4.0-build1015-src-gpl/configure

== Errors During Build ==

=== Error: Too many levels of symbolic links ===

This error may occur when the configure script is being run within a subdirectory of the project directory:

 # This may produce an error
 cd ~/oss-v4.1-build*-src-gpl
 mkdir build
 cd build
 ../configure

This produces an error:

 ../build/cmd/.config: Too many levels of symbolic links

==== Resolution ====

Use a build directory outside of the current project directory:

 cd ~/
 mkdir oss
 cd oss
 ../oss-v4.1-build*-src-gpl/configure

=== Error: No such file or directory ===

The configure script must be invoked using a full pathname. This error occurs, if a relative pathname is used.

 Scanning .
 Scanning ./cmd
 Scanning ./cmd/ossdevlinks
 ./cmd/ossdevlinks/ossdevlinks.c: No such file or directory

==== Resolution ====

Invoke the configure script with a full pathname.

Open Sound System is a legacy set of device driver for accessing sound cards and other sound devices under various UNIX operating systems. OSS has been derived from the Linux Sound Driver.

OSS/Free :: (Often called simply OSS in Linux documentation) is the legacly sound system (i.e., system of sound card drivers) in Linux up to version 2.4. As of version 2.6, ALSA has become the standard sound system. Alsa provides a compatibility layer. OSSLinux :: OSS (called OSSLinux in this Wiki) is the commercial variant of the Open Sound System(tm) available from 4Front Technologies [http://www.opensound.com/oss.html WWW].

Testing

Test the sound config by running

 aumix

audio mixer.

See also:

Sndconfig

Sndconfig was a text based tool for configuring the OSS/Free sound system. Sndconfig can be used to set the proper sound type for programs which use the /dev/dsp, /dev/audio and /dev/mixer devices.

Unfortunately, it appears that sndconfig only works with kernels which have all sound components including soundcore compiled as modules, which means that it doesn't work with kernel-image-2.6.8-1-386 -- DanielDickinson 2004-11-22

sndconfig is not in ["unstable"] or ["testing"] as of 2004-12-12.