Driver Compilation: Difference between revisions

From AlsaProject
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
===Pre-requisites===
===Pre-requisites===


* full kernel sources (see to distribution specific section)
* gcc (C compiler)
* gcc (C compiler)
* full kernel sources (see to distribution specific section)  
* autoconf (only necessary if you need to use hgcompile script)
 
==Compilation commands==
 
# ./configure
# make
# make install
 
Note: Example above will replace ALSA drivers for current kernel with drivers compiled from source.


===Distribution specific===
==Distribution specific==


===SUSE Linux/OpenSUSE===
===SUSE Linux/OpenSUSE===

Revision as of 08:37, 21 January 2008

Pre-requisites

  • full kernel sources (see to distribution specific section)
  • gcc (C compiler)
  • autoconf (only necessary if you need to use hgcompile script)

Compilation commands

# ./configure
# make
# make install

Note: Example above will replace ALSA drivers for current kernel with drivers compiled from source.

Distribution specific

SUSE Linux/OpenSUSE

install appropriate kernel-source rpm package

Red Hat Fedora

install appropriate kernel-source rpm package
Fedora 8
install appropriate kernel-devel rpm package only (ommit kernel-sources)!
Instructions for Fedora 8