[alsa-devel] missing link to uapi in alsa-driver-build

Eliot Blennerhassett eliot at blennerhassett.gen.nz
Sun Nov 25 03:01:47 CET 2012

Hi Takashi,

On 25/11/12 02:53, Takashi Iwai wrote:
> At Sat, 24 Nov 2012 08:59:16 +1300,
> Eliot Blennerhassett wrote:
>> Hi Takashi,
>> I'm building in alsa-driver-build, (local kernel 3.2.0)
>> I found I had to add the following for a successful build
>>   cd alsa-kernel
>>   ln -s [checkout of kernel/git/tiwai]/sound/include/uapi/sound uapi

Completely cleaned alsa-driver-build, then ran gitcompile:

make[1]: Entering directory `/usr/src/linux-headers-3.2.0-33-generic'
  CC [M]  /home/eliot/src/alsa/alsa-driver-build/acore/hrtimer.o
In file included from
fatal error: uapi/sound/asound.h: No such file or directory
compilation terminated.

The generated alsa-kernel directory doesn't contain uapi, where your
snapshot does...

>> I don't know where this should be fixed in the build system...
> Could you check the latest snapshot?
>   ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz

Yes, that builds fine.


More information about the Alsa-devel mailing list