[G2 and Desire Z Android Development] speed_bot:
i know im posting in the wrong thread but im compiling on ubuntu 10.04(64bit) for a legacy samsung device im getting this error any helps please

host C: emulator <= external/qemu/audio/alsaaudio.c
external/qemu/audio/alsaaudio.c:25:28: error: alsa/asoundlib.h: No such file or directory
In file included from external/qemu/audio/alsaaudio.c:92:
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: warning: type defaults to ‘int’ in declaration of ‘snd_pcm_hw_params_t’
external/qemu/dynlink.h:71: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: warning: type defaults to ‘int’ in declaration of ‘snd_pcm_hw_params_t’
external/qemu/dynlink.h:71: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: warning: type defaults to ‘int’ in declaration of ‘snd_pcm_hw_params_t’
external/qemu/dynlink.h:71: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: warning: type defaults to ‘int’ in declaration of ‘snd_pcm_hw_params_t’
external/qemu/dynlink.h:71: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: warning: type defaults to ‘int’ in declaration of ‘snd_pcm_hw_params_t’
external/qemu/dynlink.h:71: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected declaration specifiers or ‘...’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected declaration specifiers or ‘...’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected declaration specifiers or ‘...’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected declaration specifiers or ‘...’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: error: expected ‘)’ before ‘*’ token
external/qemu/dynlink.h:71: warning: type defaults to ‘int’ in declaration of ‘snd_pcm_hw_params_t’
external/qemu/dynlink.h:71: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
external/qemu/dynlink.h: In function ‘alsa_dynlink_init’:
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_current’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: (Each undeclared identifier is reported only once
external/qemu/dynlink.h:91: error: for each function it appears in.)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_sw_params_set_start_threshold’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_sw_params’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_sw_params_current’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_any’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_set_access’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_get_format’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_set_format’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_set_rate_near’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_set_channels_near’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_set_buffer_time_near’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_get_buffer_size’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_prepare’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_get_period_size’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_get_period_size_min’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_set_period_size’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_get_buffer_size_min’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_set_buffer_size’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_set_period_time_near’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_avail_update’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_drop’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_writei’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_readi’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_state’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_open’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_close’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_set_buffer_size_near’ undeclared (first use in this function)
external/qemu/dynlink.h:91: error: ‘_dynlink_snd_pcm_hw_params_set_period_size_near’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c: At top level:
external/qemu/audio/alsaaudio.c:106: error: expected specifier-qualifier-list before ‘snd_pcm_t’
external/qemu/audio/alsaaudio.c:111: error: expected specifier-qualifier-list before ‘snd_pcm_t’
external/qemu/audio/alsaaudio.c:140: error: expected specifier-qualifier-list before ‘snd_pcm_format_t’
external/qemu/audio/alsaaudio.c:153: error: expected specifier-qualifier-list before ‘snd_pcm_uframes_t’
external/qemu/audio/alsaaudio.c:185: error: expected ‘)’ before ‘*’ token
external/qemu/audio/alsaaudio.c:199: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘aud_to_alsafmt’
external/qemu/audio/alsaaudio.c:229: error: expected ‘)’ before ‘alsafmt’
external/qemu/audio/alsaaudio.c: In function ‘alsa_dump_info’:
external/qemu/audio/alsaaudio.c:295: error: ‘struct alsa_params_req’ has no member named ‘fmt’
external/qemu/audio/alsaaudio.c:297: error: ‘struct alsa_params_req’ has no member named ‘nchannels’
external/qemu/audio/alsaaudio.c:301: error: ‘struct alsa_params_req’ has no member named ‘buffer_size’
external/qemu/audio/alsaaudio.c:301: error: ‘struct alsa_params_req’ has no member named ‘period_size’
external/qemu/audio/alsaaudio.c:302: error: ‘struct alsa_params_obt’ has no member named ‘samples’
external/qemu/audio/alsaaudio.c: At top level:
external/qemu/audio/alsaaudio.c:305: error: expected ‘)’ before ‘*’ token
external/qemu/audio/alsaaudio.c:336: error: expected declaration specifiers or ‘...’ before ‘snd_pcm_t’
external/qemu/audio/alsaaudio.c: In function ‘alsa_open’:
external/qemu/audio/alsaaudio.c:338: error: ‘snd_pcm_t’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:338: error: ‘handle’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:339: error: ‘snd_pcm_hw_params_t’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:339: error: ‘hw_params’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:344: error: ‘snd_pcm_uframes_t’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:344: error: expected ‘;’ before ‘obt_buffer_size’
external/qemu/audio/alsaaudio.c:346: error: ‘snd_pcm_format_t’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:346: error: expected ‘;’ before ‘obtfmt’
external/qemu/audio/alsaaudio.c:349: error: ‘struct alsa_params_req’ has no member named ‘nchannels’
external/qemu/audio/alsaaudio.c:350: error: ‘struct alsa_params_req’ has no member named ‘size_in_usec’
external/qemu/audio/alsaaudio.c:352: error: expected expression before ‘)’ token
external/qemu/audio/alsaaudio.c:354: error: ‘_dynlink_snd_pcm_open’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:357: error: ‘SND_PCM_STREAM_CAPTURE’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:357: error: ‘SND_PCM_STREAM_PLAYBACK’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:358: error: ‘SND_PCM_NONBLOCK’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:365: error: ‘_dynlink_snd_pcm_hw_params_any’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:371: error: ‘_dynlink_snd_pcm_hw_params_set_access’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:374: error: ‘SND_PCM_ACCESS_RW_INTERLEAVED’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:381: error: ‘_dynlink_snd_pcm_hw_params_set_format’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:381: error: ‘struct alsa_params_req’ has no member named ‘fmt’
external/qemu/audio/alsaaudio.c:383: error: ‘struct alsa_params_req’ has no member named ‘fmt’
external/qemu/audio/alsaaudio.c:387: error: ‘_dynlink_snd_pcm_hw_params_set_rate_near’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:393: error: ‘_dynlink_snd_pcm_hw_params_set_channels_near’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:400: error: ‘struct alsa_params_req’ has no member named ‘nchannels’
external/qemu/audio/alsaaudio.c:411: error: ‘struct alsa_params_req’ has no member named ‘buffer_size’
external/qemu/audio/alsaaudio.c:416: error: ‘struct alsa_params_req’ has no member named ‘buffer_size’
external/qemu/audio/alsaaudio.c:418: error: ‘_dynlink_snd_pcm_hw_params_set_buffer_time_near’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:427: error: expected ‘;’ before ‘bsize’
external/qemu/audio/alsaaudio.c:429: error: ‘_dynlink_snd_pcm_hw_params_set_buffer_size_near’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:432: error: ‘bsize’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:438: error: ‘struct alsa_params_req’ has no member named ‘buffer_size’
external/qemu/audio/alsaaudio.c:442: error: ‘struct alsa_params_req’ has no member named ‘override_mask’
external/qemu/audio/alsaaudio.c:442: error: ‘struct alsa_params_req’ has no member named ‘buffer_size’
external/qemu/audio/alsaaudio.c:444: error: ‘struct alsa_params_req’ has no member named ‘buffer_size’
external/qemu/audio/alsaaudio.c:447: error: ‘struct alsa_params_req’ has no member named ‘period_size’
external/qemu/audio/alsaaudio.c:452: error: ‘struct alsa_params_req’ has no member named ‘period_size’
external/qemu/audio/alsaaudio.c:454: error: ‘_dynlink_snd_pcm_hw_params_set_period_time_near’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:464: error: expected ‘;’ before ‘psize’
external/qemu/audio/alsaaudio.c:466: error: ‘_dynlink_snd_pcm_hw_params_set_period_size_near’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:469: error: ‘psize’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:477: error: ‘struct alsa_params_req’ has no member named ‘period_size’
external/qemu/audio/alsaaudio.c:481: error: ‘struct alsa_params_req’ has no member named ‘override_mask’
external/qemu/audio/alsaaudio.c:481: error: ‘struct alsa_params_req’ has no member named ‘period_size’
external/qemu/audio/alsaaudio.c:483: error: ‘struct alsa_params_req’ has no member named ‘period_size’
external/qemu/audio/alsaaudio.c:486: error: ‘_dynlink_snd_pcm_hw_params’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:492: error: ‘_dynlink_snd_pcm_hw_params_get_buffer_size’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:492: error: ‘obt_buffer_size’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:498: error: ‘_dynlink_snd_pcm_hw_params_get_format’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:498: error: ‘obtfmt’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:505: warning: implicit declaration of function ‘alsa_to_audfmt’
external/qemu/audio/alsaaudio.c:510: error: ‘_dynlink_snd_pcm_prepare’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:517: error: expected ‘;’ before ‘threshold’
external/qemu/audio/alsaaudio.c:538: error: ‘threshold’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:539: warning: implicit declaration of function ‘alsa_set_threshold’
external/qemu/audio/alsaaudio.c:544: error: ‘struct alsa_params_obt’ has no member named ‘samples’
external/qemu/audio/alsaaudio.c:546: error: ‘handlep’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:549: error: ‘struct alsa_params_req’ has no member named ‘fmt’
external/qemu/audio/alsaaudio.c:550: error: ‘struct alsa_params_req’ has no member named ‘nchannels’
external/qemu/audio/alsaaudio.c:562: warning: implicit declaration of function ‘alsa_anal_close’
external/qemu/audio/alsaaudio.c: At top level:
external/qemu/audio/alsaaudio.c:566: error: expected ‘)’ before ‘*’ token
external/qemu/audio/alsaaudio.c:576: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘alsa_get_avail’
external/qemu/audio/alsaaudio.c: In function ‘alsa_run_out’:
external/qemu/audio/alsaaudio.c:605: error: ‘snd_pcm_sframes_t’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:605: error: expected ‘;’ before ‘avail’
external/qemu/audio/alsaaudio.c:612: error: ‘avail’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:612: warning: implicit declaration of function ‘alsa_get_avail’
external/qemu/audio/alsaaudio.c:612: error: ‘ALSAVoiceOut’ has no member named ‘handle’
external/qemu/audio/alsaaudio.c:618: warning: type defaults to ‘int’ in declaration of ‘tb’
external/qemu/audio/alsaaudio.c:624: error: expected ‘;’ before ‘written’
external/qemu/audio/alsaaudio.c:632: error: ‘written’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:632: error: ‘_dynlink_snd_pcm_writei’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:632: error: ‘ALSAVoiceOut’ has no member named ‘handle’
external/qemu/audio/alsaaudio.c:643: warning: implicit declaration of function ‘alsa_recover’
external/qemu/audio/alsaaudio.c:643: error: ‘ALSAVoiceOut’ has no member named ‘handle’
external/qemu/audio/alsaaudio.c: In function ‘alsa_fini_out’:
external/qemu/audio/alsaaudio.c:681: error: ‘ALSAVoiceOut’ has no member named ‘handle’
external/qemu/audio/alsaaudio.c: In function ‘alsa_init_out’:
external/qemu/audio/alsaaudio.c:694: error: ‘snd_pcm_t’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:694: error: ‘handle’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:702: error: ‘struct alsa_params_req’ has no member named ‘fmt’
external/qemu/audio/alsaaudio.c:702: warning: implicit declaration of function ‘aud_to_alsafmt’
external/qemu/audio/alsaaudio.c:704: error: ‘struct alsa_params_req’ has no member named ‘nchannels’
external/qemu/audio/alsaaudio.c:705: error: ‘struct alsa_params_req’ has no member named ‘period_size’
external/qemu/audio/alsaaudio.c:706: error: ‘struct alsa_params_req’ has no member named ‘buffer_size’
external/qemu/audio/alsaaudio.c:707: error: ‘struct alsa_params_req’ has no member named ‘size_in_usec’
external/qemu/audio/alsaaudio.c:708: error: ‘struct alsa_params_req’ has no member named ‘override_mask’
external/qemu/audio/alsaaudio.c:709: warning: suggest parentheses around operand of ‘!’ or change ‘|’ to ‘||’ or ‘!’ to ‘~’
external/qemu/audio/alsaaudio.c:711: error: too many arguments to function ‘alsa_open’
external/qemu/audio/alsaaudio.c:721: error: ‘struct alsa_params_obt’ has no member named ‘samples’
external/qemu/audio/alsaaudio.c:723: error: ‘struct alsa_params_obt’ has no member named ‘samples’
external/qemu/audio/alsaaudio.c:731: error: ‘ALSAVoiceOut’ has no member named ‘handle’
external/qemu/audio/alsaaudio.c: At top level:
external/qemu/audio/alsaaudio.c:741: error: expected ‘)’ before ‘*’ token
external/qemu/audio/alsaaudio.c: In function ‘alsa_ctl_out’:
external/qemu/audio/alsaaudio.c:770: warning: implicit declaration of function ‘alsa_voice_ctl’
external/qemu/audio/alsaaudio.c:770: error: ‘ALSAVoiceOut’ has no member named ‘handle’
external/qemu/audio/alsaaudio.c:774: error: ‘ALSAVoiceOut’ has no member named ‘handle’
external/qemu/audio/alsaaudio.c: In function ‘alsa_init_in’:
external/qemu/audio/alsaaudio.c:785: error: ‘snd_pcm_t’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:785: error: ‘handle’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:793: error: ‘struct alsa_params_req’ has no member named ‘fmt’
external/qemu/audio/alsaaudio.c:795: error: ‘struct alsa_params_req’ has no member named ‘nchannels’
external/qemu/audio/alsaaudio.c:796: error: ‘struct alsa_params_req’ has no member named ‘period_size’
external/qemu/audio/alsaaudio.c:797: error: ‘struct alsa_params_req’ has no member named ‘buffer_size’
external/qemu/audio/alsaaudio.c:798: error: ‘struct alsa_params_req’ has no member named ‘size_in_usec’
external/qemu/audio/alsaaudio.c:799: error: ‘struct alsa_params_req’ has no member named ‘override_mask’
external/qemu/audio/alsaaudio.c:800: warning: suggest parentheses around operand of ‘!’ or change ‘|’ to ‘||’ or ‘!’ to ‘~’
external/qemu/audio/alsaaudio.c:802: error: too many arguments to function ‘alsa_open’
external/qemu/audio/alsaaudio.c:812: error: ‘struct alsa_params_obt’ has no member named ‘samples’
external/qemu/audio/alsaaudio.c:814: error: ‘ALSAVoiceIn’ has no member named ‘pcm_buf’
external/qemu/audio/alsaaudio.c:815: error: ‘ALSAVoiceIn’ has no member named ‘pcm_buf’
external/qemu/audio/alsaaudio.c:822: error: ‘ALSAVoiceIn’ has no member named ‘handle’
external/qemu/audio/alsaaudio.c: In function ‘alsa_fini_in’:
external/qemu/audio/alsaaudio.c:836: error: ‘ALSAVoiceIn’ has no member named ‘handle’
external/qemu/audio/alsaaudio.c:838: error: ‘ALSAVoiceIn’ has no member named ‘pcm_buf’
external/qemu/audio/alsaaudio.c:839: error: ‘ALSAVoiceIn’ has no member named ‘pcm_buf’
external/qemu/audio/alsaaudio.c:840: error: ‘ALSAVoiceIn’ has no member named ‘pcm_buf’
external/qemu/audio/alsaaudio.c: In function ‘alsa_run_in’:
external/qemu/audio/alsaaudio.c:859: error: ‘snd_pcm_sframes_t’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:859: error: expected ‘;’ before ‘avail’
external/qemu/audio/alsaaudio.c:860: error: ‘snd_pcm_uframes_t’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:860: error: expected ‘;’ before ‘read_samples’
external/qemu/audio/alsaaudio.c:866: error: ‘avail’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:866: error: ‘ALSAVoiceIn’ has no member named ‘handle’
external/qemu/audio/alsaaudio.c:872: error: ‘_dynlink_snd_pcm_state’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:872: error: ‘ALSAVoiceIn’ has no member named ‘handle’
external/qemu/audio/alsaaudio.c:872: error: ‘SND_PCM_STATE_PREPARED’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:876: warning: type defaults to ‘int’ in declaration of ‘tb’
external/qemu/audio/alsaaudio.c:892: error: expected ‘;’ before ‘nread’
external/qemu/audio/alsaaudio.c:893: error: expected ‘;’ before ‘len’
external/qemu/audio/alsaaudio.c:895: error: ‘len’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:897: error: ‘ALSAVoiceIn’ has no member named ‘pcm_buf’
external/qemu/audio/alsaaudio.c:901: error: ‘nread’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:901: error: ‘_dynlink_snd_pcm_readi’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c:901: error: ‘ALSAVoiceIn’ has no member named ‘handle’
external/qemu/audio/alsaaudio.c:912: error: ‘ALSAVoiceIn’ has no member named ‘handle’
external/qemu/audio/alsaaudio.c:940: error: ‘read_samples’ undeclared (first use in this function)
external/qemu/audio/alsaaudio.c: In function ‘alsa_ctl_in’:
external/qemu/audio/alsaaudio.c:962: error: ‘ALSAVoiceIn’ has no member named ‘handle’
external/qemu/audio/alsaaudio.c:966: error: ‘ALSAVoiceIn’ has no member named ‘handle’
make: *** [out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/audio/alsaaudio.o] Error 1

its about 3mins into the make process i'm running 2.7ghz dual core i5 chipset with 1gb ram....some things are undeclared it its getting aborted at alsaaudio.o ..