Difference between revisions of "Driver Compilation"

From AlsaProject
Jump to: navigation, search
Line 5: Line 5:
 
===Pre-requisites===
 
===Pre-requisites===
  
* gcc (C compiler)
 
 
* full kernel sources (see to distribution specific section)  
 
* 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===
+
==Distribution specific==
  
 
===SUSE Linux/OpenSUSE===
 
===SUSE Linux/OpenSUSE===

Revision as of 09:37, 21 January 2008

Contents

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
Custom Search
Personal tools
Namespaces

Variants
Actions
Navigation
wiki
Toolbox