[root@alarm alsa-lib-1.0.27.2]# make Making all in doc make[1]: Entering directory `/root/alsa/alsa-lib-1.0.27.2/doc' Making all in pictures make[2]: Entering directory `/root/alsa/alsa-lib-1.0.27.2/doc/pictures' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/alsa/alsa-lib-1.0.27.2/doc/pictures' make[2]: Entering directory `/root/alsa/alsa-lib-1.0.27.2/doc' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/root/alsa/alsa-lib-1.0.27.2/doc' make[1]: Leaving directory `/root/alsa/alsa-lib-1.0.27.2/doc' Making all in include make[1]: Entering directory `/root/alsa/alsa-lib-1.0.27.2/include' make all-recursive make[2]: Entering directory `/root/alsa/alsa-lib-1.0.27.2/include' Making all in sound make[3]: Entering directory `/root/alsa/alsa-lib-1.0.27.2/include/sound' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/root/alsa/alsa-lib-1.0.27.2/include/sound' make[3]: Entering directory `/root/alsa/alsa-lib-1.0.27.2/include' make[3]: Leaving directory `/root/alsa/alsa-lib-1.0.27.2/include' make[2]: Leaving directory `/root/alsa/alsa-lib-1.0.27.2/include' make[1]: Leaving directory `/root/alsa/alsa-lib-1.0.27.2/include' Making all in src make[1]: Entering directory `/root/alsa/alsa-lib-1.0.27.2/src' Making all in control make[2]: Entering directory `/root/alsa/alsa-lib-1.0.27.2/src/control' CC cards.lo In file included from ../../include/local.h:121:0, from control_local.h:22, from cards.c:35: ../../include/sound/asound.h:166:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sndrv_pcm_access_t' ../../include/sound/asound.h:174:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sndrv_pcm_format_t' ../../include/sound/asound.h:242:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sndrv_pcm_subformat_t' ../../include/sound/asound.h:264:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sndrv_pcm_state_t' ../../include/sound/asound.h:351:2: error: unknown type name '__u32' ../../include/sound/asound.h:400:2: error: unknown type name 'sndrv_pcm_state_t' ../../include/sound/asound.h:409:2: error: unknown type name 'sndrv_pcm_state_t' ../../include/sound/asound.h:410:2: error: unknown type name '__u32' ../../include/sound/asound.h:416:2: error: unknown type name 'sndrv_pcm_state_t' ../../include/sound/asound.h:420:2: error: unknown type name 'sndrv_pcm_state_t' ../../include/sound/asound.h:774:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sndrv_ctl_elem_type_t' ../../include/sound/asound.h:784:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sndrv_ctl_elem_iface_t' ../../include/sound/asound.h:820:2: error: unknown type name 'sndrv_ctl_elem_iface_t' ../../include/sound/asound.h:838:2: error: unknown type name 'sndrv_ctl_elem_type_t' ../../include/sound/asound.h:841:2: error: unknown type name '__kernel_pid_t' ../../include/sound/asound.h:857:4: error: unknown type name '__u64' In file included from ../../include/local.h:171:0, from control_local.h:22, from cards.c:35: ../../include/sound/asequencer.h:339:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sndrv_seq_client_type_t' ../../include/sound/asequencer.h:352:2: error: unknown type name 'sndrv_seq_client_type_t' cards.c: In function 'snd_card_load2': cards.c:49:23: error: expected expression before 'struct' cards.c: In function 'snd_card_next': cards.c:103:11: error: 'EINVAL' undeclared (first use in this function) cards.c:103:11: note: each undeclared identifier is reported only once for each function it appears in cards.c: In function 'snd_card_get_index': cards.c:132:11: error: 'EINVAL' undeclared (first use in this function) cards.c:161:10: error: 'ENODEV' undeclared (first use in this function) cards.c: In function 'snd_card_get_name': cards.c:180:11: error: 'EINVAL' undeclared (first use in this function) cards.c:190:11: error: 'ENOMEM' undeclared (first use in this function) cards.c: In function 'snd_card_get_longname': cards.c:210:11: error: 'EINVAL' undeclared (first use in this function) cards.c:220:11: error: 'ENOMEM' undeclared (first use in this function) make[2]: *** [cards.lo] Error 1 make[2]: Leaving directory `/root/alsa/alsa-lib-1.0.27.2/src/control' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/alsa/alsa-lib-1.0.27.2/src' make: *** [all-recursive] Error 1