1) You must have full configured source for the Linux kernel
want to use for the ALSA drivers. Note that ALSA drivers are part
of the kernel, so there is necessary to resolve all symbol dependencies
between the used kernel and ALSA driver code. Partly installed kernels
(for example from distributor makers) can be unuseable for this action.
2) You must turn on sound support (soundcore module).
3) Run './configure' script.
* General Options
If you do not want ISA PnP support, use --with-isapnp=no switch.
If you do not want sequencer support, use --with-sequencer=no switch.
If you do not want OSS/Free emulation, use --with-oss=no switch.
If you have udev or devfs and want to use more than eight cards, use
If you want to turn on debug mode, use --with-debug=full switch.
If you want to debug soundcard detection, try --with-debug=detect switch.
* Kernel Source Tree
On 2.4/2.6 kernels, the location of the kernel source tree is
parsed automatilly from the running kernel.
If it's not in the standard place, specify the path via
On 2.6 kernels, the build directory has to be given via
--with-build=<kernel_build_dir> option additionally, too.
* Drivers to Compile
The card drivers to be compiled can be selected via --with-cards option.
Pass the card driver name without "snd-" prefix. To specify
multiple drivers, list names with comma (,).
Passing "all" will compile all possible drivers (and this is the
Some drivers have compile options. They can be passed via
--with-card-options option. Multiple options can be passed with comma,
too. The default is "all".
For available cards and options, see ./configure --help.
./configure --with-cards=sb16,emu10k1 --with-card-options=sb16-csp