Building SPU2 plugins...
------------------------
------------------
Building PeopsSPU2
------------------
gcc -fPIC -c -Wall -O3 -ffast-math -fomit-frame-pointer -DUSEALSA alsa.c
alsa.c:40:28: error: alsa/asoundlib.h: No such file or directory
alsa.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
alsa.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘buffer_size’
alsa.c: In function ‘SetupSound’:
alsa.c:68: error: ‘snd_pcm_hw_params_t’ undeclared (first use in this function)
alsa.c:68: error: (Each undeclared identifier is reported only once
alsa.c:68: error: for each function it appears in.)
alsa.c:68: error: ‘hwparams’ undeclared (first use in this function)
alsa.c:69: error: ‘snd_pcm_sw_params_t’ undeclared (first use in this function)
alsa.c:69: error: ‘swparams’ undeclared (first use in this function)
alsa.c:70: error: ‘snd_pcm_status_t’ undeclared (first use in this function)
alsa.c:70: error: ‘status’ undeclared (first use in this function)
alsa.c:82: error: ‘SND_PCM_FORMAT_S16_LE’ undeclared (first use in this function)
alsa.c:86: warning: implicit declaration of function ‘snd_pcm_open’
alsa.c:86: error: ‘handle’ undeclared (first use in this function)
alsa.c:87: error: ‘SND_PCM_STREAM_PLAYBACK’ undeclared (first use in this function)
alsa.c:87: error: ‘SND_PCM_NONBLOCK’ undeclared (first use in this function)
alsa.c:89: warning: implicit declaration of function ‘snd_strerror’
alsa.c:89: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:93: warning: implicit declaration of function ‘snd_pcm_nonblock’
alsa.c:95: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:99: warning: implicit declaration of function ‘snd_pcm_hw_params_alloca’
alsa.c:100: warning: implicit declaration of function ‘snd_pcm_sw_params_alloca’
alsa.c:101: warning: implicit declaration of function ‘snd_pcm_hw_params_any’
alsa.c:103: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:107: warning: implicit declaration of function ‘snd_pcm_hw_params_set_access’
alsa.c:107: error: ‘SND_PCM_ACCESS_RW_INTERLEAVED’ undeclared (first use in this function)
alsa.c:109: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:113: warning: implicit declaration of function ‘snd_pcm_hw_params_set_format’
alsa.c:115: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:119: warning: implicit declaration of function ‘snd_pcm_hw_params_set_channels’
alsa.c:121: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:125: warning: implicit declaration of function ‘snd_pcm_hw_params_set_rate_near’
alsa.c:127: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:131: warning: implicit declaration of function ‘snd_pcm_hw_params_set_buffer_time_near’
alsa.c:133: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:137: warning: implicit declaration of function ‘snd_pcm_hw_params_set_period_time_near’
alsa.c:139: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:143: warning: implicit declaration of function ‘snd_pcm_hw_params’
alsa.c:145: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:149: warning: implicit declaration of function ‘snd_pcm_status_alloca’
alsa.c:150: warning: implicit declaration of function ‘snd_pcm_status’
alsa.c:152: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
alsa.c:156: error: ‘buffer_size’ undeclared (first use in this function)
alsa.c:156: warning: implicit declaration of function ‘snd_pcm_status_get_avail’
alsa.c: In function ‘RemoveSound’:
alsa.c:165: error: ‘handle’ undeclared (first use in this function)
alsa.c:167: warning: implicit declaration of function ‘snd_pcm_drop’
alsa.c:168: warning: implicit declaration of function ‘snd_pcm_close’
alsa.c: In function ‘SoundGetBytesBuffered’:
alsa.c:181: error: ‘handle’ undeclared (first use in this function)
alsa.c:183: warning: implicit declaration of function ‘snd_pcm_avail_update’
alsa.c:185: error: ‘buffer_size’ undeclared (first use in this function)
alsa.c: In function ‘SoundFeedVoiceData’:
alsa.c:198: error: ‘handle’ undeclared (first use in this function)
alsa.c:200: warning: implicit declaration of function ‘snd_pcm_state’
alsa.c:200: error: ‘SND_PCM_STATE_XRUN’ undeclared (first use in this function)
alsa.c:201: warning: implicit declaration of function ‘snd_pcm_prepare’
alsa.c:202: warning: implicit declaration of function ‘snd_pcm_writei’
Bookmarks