alsa compile failure

Ice BOFH icerbofh2 at hotmail.com
Wed Jul 11 19:58:14 CEST 2001


I am running into issues compiling alsa support. Do I need to use 0.9? I am 
using 0.5 now...


gcc -I../../include -I../../extras  -DSYS_LINUX -D_FILE_OFFSET_BITS=64 
-D__USE_UNIX98   -Iinclude -Iextras -I/usr/local/include -Wall -Winline 
-D_REENTRANT -D_GNU_SOURCE -O3 -ffast-math -funroll-loops 
-fomit-frame-pointer -march=pentiumpro -mcpu=pentiumpro -DPLUGIN -fPIC -c -o 
aout_alsa.o aout_alsa.c
aout_alsa.c: In function `aout_Probe':
aout_alsa.c:94: `SND_PCM_STREAM_PLAYBACK' undeclared (first use in this 
function)
aout_alsa.c:94: (Each undeclared identifier is reported only once
aout_alsa.c:94: for each function it appears in.)
aout_alsa.c:94: warning: passing arg 2 of `snd_pcm_open' makes integer from 
pointer without a cast
aout_alsa.c: In function `aout_Open':
aout_alsa.c:149: `SND_PCM_STREAM_PLAYBACK' undeclared (first use in this 
function)
aout_alsa.c:149: warning: passing arg 2 of `snd_pcm_open' makes integer from 
pointer without a cast
aout_alsa.c: In function `aout_SetFormat':
aout_alsa.c:173: `snd_pcm_hw_params_t' undeclared (first use in this 
function)
aout_alsa.c:173: `p_hw' undeclared (first use in this function)
aout_alsa.c:173: warning: statement with no effect
aout_alsa.c:174: `snd_pcm_sw_params_t' undeclared (first use in this 
function)
aout_alsa.c:174: `p_sw' undeclared (first use in this function)
aout_alsa.c:174: warning: statement with no effect
aout_alsa.c:176: warning: implicit declaration of function 
`snd_pcm_hw_params_alloca'
aout_alsa.c:177: warning: implicit declaration of function 
`snd_pcm_sw_params_alloca'
aout_alsa.c:182: `SND_PCM_FORMAT_S16_LE' undeclared (first use in this 
function)
aout_alsa.c:187: `SND_PCM_FORMAT_S16_BE' undeclared (first use in this 
function)


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





More information about the vlc mailing list