[alsa-devel] unable to compile manually Alsa 1.0.24 on Kubuntu 11.04

Thomas CROUX thomas.croux at orange.fr
Sat Jun 4 00:48:53 CEST 2011

Hello , 

I need to compile manually Alsa Driver because I made a mistake with my previous audio driver.
My sound card is integrated into the mother board Asus P5K-SE. Following the product description coming from Asus, the chipset is :

Realtek ALC 883 8 -Channel High Definition Audio CODEC 
Coaxial / Optical S/PDIF out ports at back I/O 
ASUS Noise Filter
Support Jack-Sensing, Enumeration, Multi-streaming

My Linux installation is Kubuntu 11.04, with kernel 2.6.38-8-generic.

lspci gives the following : 

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) .

hwinfo returns :

> hal.1: read hal dataprocess 2298: arguments to dbus_move_error() were incorrect, assertion "(dest) == NULL || !dbus_error_is_set ((dest))" failed in file dbus-errors.c 
line 280.
This is normally a bug in some application using the D-Bus library.
libhal.c 3483 : Error unsubscribing to signals, error=The name org.freedesktop.Hal was not provided by any .service files
14: PCI 1b.0: 0403 Audio device 
[Created at pci.318]
Unique ID: u1Nb.c9J1KXzTGCE
SysFS ID: /devices/pci0000:00/0000:00:1b.0
SysFS BusID: 0000:00:1b.0
Hardware Class: sound
Model: "Intel 82801I (ICH9 Family) HD Audio Controller"
Vendor: pci 0x8086 "Intel Corporation"
Device: pci 0x293e "82801I (ICH9 Family) HD Audio Controller"
SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
SubDevice: pci 0x829f 
Revision: 0x02
Memory Range: 0xf9ff8000-0xf9ffbfff (rw,non-prefetchable)
IRQ: 15 (no events)
Module Alias: "pci:v00008086d0000293Esv00001043sd0000829Fbc04sc03i00"
Driver Info #0:
Driver Status: snd_hda_intel is not active
Driver Activation Cmd: "modprobe snd_hda_intel"
Config Status: cfg=new, avail=yes, need=no, active=unknown

So now, the following lines are the one used to compile manually latest Alsa Drivers : 

mkdir src
cd src
mkdir alsa
cd alsa
sudo apt-get install build-essential linux-headers-$(uname -r)
wget ftp://ftp.alsa-project.org/pub/driver/a … 24.tar.bz2
tar xvjf alsa-driver-1.0.24.tar.bz2
cd alsa-driver-1.0.24
sudo ./configure --with-kernel=/usr/src/linux-headers-$(uname -r) --with-cards="hda-intel" --with-oss=yes
sudo make
sudo make install

And just before ending the sudo make command, I have the following error :

make -C /usr/src/linux-headers-2.6.38-8-generic SUBDIRS=/home/thomas/src/alsa/alsa-driver-1.0.24 CPP="gcc -E" CC="gcc" modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.38-8-generic »
Makefile:556: /usr/src/linux-headers-2.6.38-8-generic/arch//Makefile: Aucun fichier ou dossier de ce type
make[1]: *** Pas de règle pour fabriquer la cible « /usr/src/linux-headers-2.6.38-8-generic/arch//Makefile ». Arrêt.
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.38-8-generic »
make: *** [compile] Erreur 2

And I get the same error when using sudo ./alsa-compile.sh --driver --kmodules (with the script downloaded from Alsa servers).

make -C /lib/modules/2.6.38-8-generic/build SUBDIRS=/tmp/alsa-compile-script/alsa-driver- CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
Makefile:556: /usr/src/linux-headers-2.6.38-8-generic/arch//Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-headers-2.6.38-8-generic/arch//Makefile'. Stop.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make: *** [compile] Error 2
Working directory /tmp/alsa-compile-script/alsa-driver-
Compilation of alsa-driver failed.
Report this problem to the  mailing list.

So, at this time, I'm really down in the mouth. I'm totally unable to correct the problem I created by installing drivers from realtek web site.

Could you help me please in trying to compile Alsa ?

Thank you very much,


More information about the Alsa-devel mailing list