All pastes #729883 Raw Edit

Stuff

public text v1 · immutable
·published 2007-10-08 15:21 UTC
rendered paste body
[CC] snd_alsa.c
snd_alsa.c:29:28: error: alsa/asoundlib.h: No such file or directory
In file included from snd_alsa.c:36:
snd_alsa_funcs.h:34: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:35: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:36: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:37: warning: type defaults to ‘int’ in declaration of ‘snd_pcm_hw_params_t’
snd_alsa_funcs.h:37: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
snd_alsa_funcs.h:38: warning: type defaults to ‘int’ in declaration of ‘snd_pcm_hw_params_t’
snd_alsa_funcs.h:38: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
snd_alsa_funcs.h:39: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:40: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:41: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:42: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:43: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:45: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:46: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:47: error: expected declaration specifiers or ‘...’ before ‘*’ token
snd_alsa_funcs.h:47: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:48: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:49: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:50: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:51: error: expected declaration specifiers or ‘...’ before ‘*’ token
snd_alsa_funcs.h:51: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:52: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:53: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:54: error: expected ‘)’ before ‘*’ token
snd_alsa_funcs.h:55: error: expected ‘)’ before ‘*’ token
snd_alsa.c:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘buffer_size’
snd_alsa.c:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
snd_alsa.c: In function ‘SNDDMA_Init_ALSA’:
snd_alsa.c:68: error: ‘snd_pcm_hw_params_t’ undeclared (first use in this function)
snd_alsa.c:68: error: (Each undeclared identifier is reported only once
snd_alsa.c:68: error: for each function it appears in.)
snd_alsa.c:68: error: ‘hw’ undeclared (first use in this function)
snd_alsa.c:69: error: ‘snd_pcm_sw_params_t’ undeclared (first use in this function)
snd_alsa.c:69: error: ‘sw’ undeclared (first use in this function)
snd_alsa.c:70: error: ‘snd_pcm_uframes_t’ undeclared (first use in this function)
snd_alsa.c:70: error: expected ‘;’ before ‘frag_size’
In file included from snd_alsa.c:84:
snd_alsa_funcs.h:34: error: ‘alsa_snd_pcm_close’ undeclared (first use in this function)
snd_alsa_funcs.h:35: error: ‘alsa_snd_pcm_hw_params’ undeclared (first use in this function)
snd_alsa_funcs.h:36: error: ‘alsa_snd_pcm_hw_params_any’ undeclared (first use in this function)
snd_alsa_funcs.h:37: error: ‘alsa_snd_pcm_hw_params_get_buffer_size’ undeclared (first use in this function)
snd_alsa_funcs.h:38: error: ‘alsa_snd_pcm_hw_params_get_period_size’ undeclared (first use in this function)
snd_alsa_funcs.h:39: error: ‘alsa_snd_pcm_hw_params_set_access’ undeclared (first use in this function)
snd_alsa_funcs.h:40: error: ‘alsa_snd_pcm_hw_params_set_period_size_near’ undeclared (first use in this function)
snd_alsa_funcs.h:41: error: ‘alsa_snd_pcm_hw_params_set_rate_near’ undeclared (first use in this function)
snd_alsa_funcs.h:42: error: ‘alsa_snd_pcm_hw_params_set_channels’ undeclared (first use in this function)
snd_alsa_funcs.h:43: error: ‘alsa_snd_pcm_hw_params_set_format’ undeclared (first use in this function)
snd_alsa_funcs.h:45: error: ‘alsa_snd_pcm_mmap_begin’ undeclared (first use in this function)
snd_alsa_funcs.h:46: error: ‘alsa_snd_pcm_avail_update’ undeclared (first use in this function)
snd_alsa_funcs.h:47: error: ‘alsa_snd_pcm_mmap_commit’ undeclared (first use in this function)
snd_alsa_funcs.h:48: error: ‘alsa_snd_pcm_open’ undeclared (first use in this function)
snd_alsa_funcs.h:49: error: ‘alsa_snd_pcm_pause’ undeclared (first use in this function)
snd_alsa_funcs.h:50: error: ‘alsa_snd_pcm_start’ undeclared (first use in this function)
snd_alsa_funcs.h:51: error: ‘alsa_snd_pcm_state’ undeclared (first use in this function)
snd_alsa_funcs.h:52: error: ‘alsa_snd_pcm_sw_params’ undeclared (first use in this function)
snd_alsa_funcs.h:53: error: ‘alsa_snd_pcm_sw_params_current’ undeclared (first use in this function)
snd_alsa_funcs.h:54: error: ‘alsa_snd_pcm_sw_params_set_start_threshold’ undeclared (first use in this function)
snd_alsa_funcs.h:55: error: ‘alsa_snd_pcm_sw_params_set_stop_threshold’ undeclared (first use in this function)
snd_alsa.c:90: warning: implicit declaration of function ‘snd_pcm_hw_params_alloca’
snd_alsa.c:91: warning: implicit declaration of function ‘snd_pcm_sw_params_alloca’
snd_alsa.c:118: warning: implicit declaration of function ‘alsa_snd_pcm_open’
snd_alsa.c:118: error: ‘pcm’ undeclared (first use in this function)
snd_alsa.c:118: error: ‘SND_PCM_STREAM_PLAYBACK’ undeclared (first use in this function)
snd_alsa.c:118: error: ‘SND_PCM_NONBLOCK’ undeclared (first use in this function)
snd_alsa.c:126: warning: implicit declaration of function ‘alsa_snd_pcm_hw_params_any’
snd_alsa.c:133: warning: implicit declaration of function ‘alsa_snd_pcm_hw_params_set_access’
snd_alsa.c:133: error: ‘SND_PCM_ACCESS_MMAP_INTERLEAVED’ undeclared (first use in this function)
snd_alsa.c:144: warning: implicit declaration of function ‘alsa_snd_pcm_hw_params_set_format’
snd_alsa.c:144: error: ‘SND_PCM_FORMAT_S16’ undeclared (first use in this function)
snd_alsa.c:151: error: ‘SND_PCM_FORMAT_U8’ undeclared (first use in this function)
snd_alsa.c:180: warning: implicit declaration of function ‘alsa_snd_pcm_hw_params_set_channels’
snd_alsa.c:217: warning: implicit declaration of function ‘alsa_snd_pcm_hw_params_set_rate_near’
snd_alsa.c:220: error: ‘frag_size’ undeclared (first use in this function)
snd_alsa.c:263: warning: implicit declaration of function ‘alsa_snd_pcm_hw_params_set_period_size_near’
snd_alsa.c:269: warning: implicit declaration of function ‘alsa_snd_pcm_hw_params’
snd_alsa.c:275: warning: implicit declaration of function ‘alsa_snd_pcm_sw_params_current’
snd_alsa.c:281: warning: implicit declaration of function ‘alsa_snd_pcm_sw_params_set_start_threshold’
snd_alsa.c:287: warning: implicit declaration of function ‘alsa_snd_pcm_sw_params_set_stop_threshold’
snd_alsa.c:293: warning: implicit declaration of function ‘alsa_snd_pcm_sw_params’
snd_alsa.c:303: warning: implicit declaration of function ‘alsa_snd_pcm_hw_params_get_period_size’
snd_alsa.c:303: error: expected expression before ‘)’ token
snd_alsa.c:314: warning: implicit declaration of function ‘alsa_snd_pcm_hw_params_get_buffer_size’
snd_alsa.c:314: error: ‘buffer_size’ undeclared (first use in this function)
snd_alsa.c:336: warning: implicit declaration of function ‘alsa_snd_pcm_close’
snd_alsa.c: In function ‘SNDDMA_GetDMAPos_ALSA’:
snd_alsa.c:342: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
snd_alsa.c:342: error: ‘areas’ undeclared (first use in this function)
snd_alsa.c:343: error: ‘snd_pcm_uframes_t’ undeclared (first use in this function)
snd_alsa.c:343: error: expected ‘;’ before ‘offset’
snd_alsa.c:344: error: expected ‘;’ before ‘nframes’
snd_alsa.c:346: warning: implicit declaration of function ‘alsa_snd_pcm_avail_update’
snd_alsa.c:346: error: ‘pcm’ undeclared (first use in this function)
snd_alsa.c:347: warning: implicit declaration of function ‘alsa_snd_pcm_mmap_begin’
snd_alsa.c:347: error: ‘offset’ undeclared (first use in this function)
snd_alsa.c:347: error: ‘nframes’ undeclared (first use in this function)
snd_alsa.c: In function ‘SNDDMA_Shutdown_ALSA’:
snd_alsa.c:357: warning: implicit declaration of function ‘alsa_snd_pcm_close’
snd_alsa.c:357: error: ‘pcm’ undeclared (first use in this function)
snd_alsa.c: In function ‘SNDDMA_Submit_ALSA’:
snd_alsa.c:369: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
snd_alsa.c:369: error: ‘areas’ undeclared (first use in this function)
snd_alsa.c:370: error: ‘snd_pcm_uframes_t’ undeclared (first use in this function)
snd_alsa.c:370: error: expected ‘;’ before ‘nframes’
snd_alsa.c:371: error: expected ‘;’ before ‘offset’
snd_alsa.c:376: error: ‘nframes’ undeclared (first use in this function)
snd_alsa.c:378: error: ‘pcm’ undeclared (first use in this function)
snd_alsa.c:379: error: ‘offset’ undeclared (first use in this function)
snd_alsa.c:381: warning: implicit declaration of function ‘alsa_snd_pcm_state’
snd_alsa.c:385: error: ‘SND_PCM_STATE_PREPARED’ undeclared (first use in this function)
snd_alsa.c:386: warning: implicit declaration of function ‘alsa_snd_pcm_mmap_commit’
snd_alsa.c:387: warning: implicit declaration of function ‘alsa_snd_pcm_start’
snd_alsa.c:389: error: ‘SND_PCM_STATE_RUNNING’ undeclared (first use in this function)
make: *** [release/gl/snd_alsa.o] Error 1
ruskie@ruskie-desktop:~/zquake/trunk/zquake$