[alsa-devel] Trouble compiling alsa-driver-1.0.23 on Fedora 13

Takashi Iwai tiwai at suse.de
Wed Jun 2 12:14:25 CEST 2010


At Wed, 2 Jun 2010 10:22:39 +0200,
Uros Bizjak wrote:
> 
> On Tue, Jun 1, 2010 at 9:30 PM, Mads Kiilerich <mads at kiilerich.com> wrote:
> 
> >> Trying to compile alsa-driver-1.0.23 on Fedora 13, I got following
> >> failure:
> >>
> >> gmake -C /lib/modules/2.6.33.5-112.fc13.x86_64/source
> >> SUBDIRS=/home/uros/alsa-driver-1.0.23  CPP="gcc -E" CC="gcc" modules
> >> gmake[1]: Entering directory `/usr/src/kernels/2.6.33.5-112.fc13.x86_64'
> >> Makefile:535: /usr/src/kernels/2.6.33.5-112.fc13.x86_64/arch//Makefile:
> >> No such file or directory
> >> gmake[1]: *** No rule to make target
> >> `/usr/src/kernels/2.6.33.5-112.fc13.x86_64/arch//Makefile'.  Stop.
> >> gmake[1]: Leaving directory `/usr/src/kernels/2.6.33.5-112.fc13.x86_64'
> >> gmake: *** [compile] Error 2
> >>
> >> I have installed required kernel-devel package.
> >>
> >> Am I missing something else to successfully compile alsa-kernel drivers?
> >>
> >
> > Uros, I don't think you are missing anything - it seems like there is a real
> > problem with the Fedora kernels and the latest alsa drivers.
> >
> > alsa-compile.sh as described on
> > http://www.alsa-project.org/main/index.php/Driver_Compilation used to work
> > for me on Fedora 12 and check for all dependencies, but now I get the same
> > error.
> >
> > The Makefile fails in line 535 because SRCARCH (and ARCH) is empty even
> > though SUBARCH is correctly (on my machine) set to i386. I don't know why or
> > how it usually works.
> 
> Thanks!
> 
> I have to note, that adding ARCH=x86 to make command also doesn't fly.
> Also, I have found [1], where the same problem is reported.
> 
> So, I guess I'll just lean back and wait for things to get resolved...
>  I can provide further information on request, though.
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=588350#c4

Could you try the latest alsa-driver snapshot tarball below?
    ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz


Takashi


More information about the Alsa-devel mailing list