You are not logged in.

#1 2010-03-03 03:28:28

Macdelaney
Member
Registered: 2008-11-24
Posts: 24

Problem Compiling Alsa

I'm trying to compile ALSA from source but sadly, I'm failing.
When I do ./configure in the alsa-driver directory I get:

mac@goomba alsa-driver-1.0.22.1 $ ./configure
...
checking for kernel linux/autoconf.h... no
The file /lib/modules/2.6.33-ARCH/build/include/linux/autoconf.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /lib/modules/2.6.33-ARCH/build).

Then I tried to locate autoconf.h

mac@goomba ~ $ locate autoconf.h
/home/mac/Downloads/alsa-driver-1.0.22.1/include/linux/autoconf.h
/usr/src/linux-2.6.33-ARCH/include/generated/autoconf.h

I tried running ./configure --with-kernel=  with all of the  directories above (both ones that came from locate, and /lib/modules/2.6.33-ARCH/build) with no result. The weird thing is that I've done this several times with no problems, but for some reason I can't get it to work right now.

Any ideas on how to proceed?

Offline

#2 2010-03-03 03:36:34

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: Problem Compiling Alsa

install kernel26-headers wink

Offline

#3 2010-03-03 03:44:26

Macdelaney
Member
Registered: 2008-11-24
Posts: 24

Re: Problem Compiling Alsa

I though the same thing, but I already have it installed. I re-installed it and I still get the same error.

Offline

#4 2010-03-03 03:50:44

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: Problem Compiling Alsa

2.6.33 puts some headers in different locations. You'd need to patch alsa for that I believe. Basically it should look in include/generated instead of include/linux for autoconf. A quick manual search should do it, in the alsa sources, if you're familiar with them.

If not, just wait smile.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2010-03-03 03:52:28

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: Problem Compiling Alsa

file is present? or just is an error of alsa...

ls -l /lib/modules/2.6.33-ARCH/build/include/linux/autoconf.h
ls -l /usr/src/linux-2.6.33-ARCH/include/linux/autoconf.h

EDIT: ignore this, see previous comment.

Last edited by djgera (2010-03-03 03:53:32)

Offline

Board footer

Powered by FluxBB