[alsa-devel] [PATCH 1/4] ASoC: firmware: Add support for FW based kcontrols.
lrg at ti.com
Thu Nov 29 16:51:52 CET 2012
On 29/11/12 15:15, Takashi Iwai wrote:
> At Thu, 29 Nov 2012 12:08:18 +0000,
> Liam Girdwood wrote:
>> On 19/11/12 18:36, Takashi Iwai wrote:
>>> For the sound stuff, the patch is queued for 3.8 in for-next branch.
>>> Please rebase on it.
>> Done, but I'm now seeing some type conflict errors when building my userspace
>> tools (i.e. after moving to include uapi/sound/asound.h from sound/asound.h).
>> #include <stdlib.h>
>> #include <uapi/sound/asound.h>
>> int main ()
>> gives :-
>> gcc uapi-test.c -I ~/source/linux.git/include
> Pass -I ~/source/linux.git/include/uapi
> #include <sound/asound.h>
Ah, I did initially try this before emailing :-
gcc uapi-test.c -I ~/source/linux.git/include/uapi
In file included from /home/lrg/source/linux.git/include/uapi/sound/asound.h:26:0,
/home/lrg/source/linux.git/include/uapi/linux/types.h:9:2: warning: #warning
"Attempt to use kernel headers from user space, see
In file included from
/home/lrg/source/linux.git/include/uapi/linux/stddef.h:1:28: fatal error:
linux/compiler.h: No such file or directory
adding -D__EXPORTED_HEADERS__ to gcc command line gets rid of the warning, but
it seems we are missing compiler.h (even in todays linux-next).
If this works for you, it may be an issue at my end.
More information about the Alsa-devel