2、make
编译的过程中可能会出现下面的问题
**************************************************
timer_hw.c: In function 'snd_timer_hw_open':
timer_hw.c:249: error: '__kernel_long_t' undeclared (first use in this function)
timer_hw.c:249: error: (Each undeclared identifier is reported only once
timer_hw.c:249: error: for each function it appears in.)
***************************************************
将/usr/include/asm-generic--->>
#ifndef __kernel_long_t
typedef long __kernel_long_t;
typedef unsigned long __kernel_ulong_t;
#endif
拷贝到alsa-lib-1.2.2/src/timer/timer_local.h文件中
/* Can be ORed in to make sure the process is reverted back to SCHED_NORMAL on fork */
#define SCHED_RESET_ON_FORK 0x40000000
**********************************************************
添加到 alsactl/alsactl.h中
3、make install