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

Uros Bizjak ubizjak at gmail.com
Wed Jun 2 19:35:56 CEST 2010


On Wed, Jun 2, 2010 at 12:14 PM, Takashi Iwai <tiwai at suse.de> 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

No, unfortunately, it fails in the same way:

gmake[1]: Leaving directory `/home/uros/src/alsa-driver'
gmake -C /lib/modules/2.6.33.5-112.fc13.x86_64/build
SUBDIRS=/home/uros/src/alsa-driver  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

Thanks,
Uros.


More information about the Alsa-devel mailing list