Skip to contentSkip to conversation

missing link to uapi in alsa-driver-build

DISCUSSION Eliot Blennerhassett 2 participants 3 messages Nov 23, 2012 – Nov 25, 2012

lore
Share & tools
lore
#0 lore raw

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

I don't know where this should be fixed in the build system...

--
Eliot

#1 lore raw

At Sat, 24 Nov 2012 08:59:16 +1300,

Quoted 5 lines · Eliot Blennerhassett

Hi Takashi,

I'm building in alsa-driver-build, (local kernel 3.2.0)

Quoted 7 lines

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

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

I fixed a few things yesterday, and on my OBS project, it builds fine with older kernels.

Takashi

#2 lore raw

Hi Takashi,

Quoted 11 lines · Takashi Iwai

At Sat, 24 Nov 2012 08:59:16 +1300,

Quoted 9 lines · Eliot Blennerhassett

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 /home/eliot/src/alsa/alsa-driver-build/include/sound/timer.h:26:0,
from
/home/eliot/src/alsa/alsa-driver-build/acore/hrtimer.c:28:
/home/eliot/src/alsa/alsa-driver-build/include/sound/asound.h:39:31:
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...

Quoted 5 lines
Quoted 2 lines

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.

--
Eliot