Latest CVS alsa problem

J. Grant jg at jguk.org
Sun Sep 19 15:55:46 CDT 2004


Greetings,

I am trying to build the latest CVS.  My last build was from last year,
I want to check if something works with a newer build.

Unfortunately, the latest WINE cvs does not work with alsa shipped with
mdk 9.0:

libalsa2-0.9.0-0.8rc2mdk
alsamixergui-0.9.0-0.5rc1_2mdk
libalsa2-devel-0.9.0-0.8rc2mdk

Is there any way I can ./configure --disable-alsa ?  configure does not
complain when I pass it --disable-alsa, however it is still broken whey
I try and build.  I wonder if there is OSS support in WINE?

Should the ./configure script not have noticed that alsa was not
working?  It configured it all ok.

This is the error log (below) if someone is interested.

I am not on this list, so please include my email address in any replies.

Kind regards

JG


==================================================================
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__
-D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2
-fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o
vwin32.vxd.dbg.o vwin32.vxd.dbg.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared
./vwin32.vxd.spec    vwin32.o  vwin32.vxd.dbg.o   -o vwin32.vxd.so
-L../../dlls  -lwinedos -lkernel32 -L../../libs/wine -lwine
-L../../libs/port -lwine_port
make[2]: Leaving directory `/home/now3d/wine/wine/dlls/vwin32.vxd'
rm -f vwin32.vxd.so && ln -s vwin32.vxd/vwin32.vxd.so vwin32.vxd.so
make[2]: Entering directory `/home/now3d/wine/wine/dlls/winmm/winealsa'
gcc -c -I. -I. -I../../../include -I../../../include  -D__WINESRC__
-D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2
-fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o audio.o audio.c
audio.c: In function `ALSA_TraceParameters':
audio.c:514: too many arguments to function `snd_pcm_hw_params_get_access'
audio.c:515: too many arguments to function `snd_pcm_hw_params_get_format'
audio.c:564: too many arguments to function `snd_pcm_hw_params_get_channels'
audio.c:568: too many arguments to function
`snd_pcm_hw_params_get_channels_min'
audio.c:569: too many arguments to function
`snd_pcm_hw_params_get_channels_max'
audio.c:578: too many arguments to function
`snd_pcm_hw_params_get_buffer_size'
audio.c:582: too many arguments to function
`snd_pcm_hw_params_get_buffer_size_min'
audio.c:583: too many arguments to function
`snd_pcm_hw_params_get_buffer_size_max'
audio.c:605: too many arguments to function `snd_pcm_hw_params_get_rate'
audio.c:605: too many arguments to function `snd_pcm_hw_params_get_rate_min'
audio.c:605: too many arguments to function `snd_pcm_hw_params_get_rate_max'
audio.c:606: too many arguments to function
`snd_pcm_hw_params_get_buffer_time'
audio.c:606: too many arguments to function
`snd_pcm_hw_params_get_buffer_time_min'
audio.c:606: too many arguments to function
`snd_pcm_hw_params_get_buffer_time_max'
audio.c:607: too many arguments to function `snd_pcm_hw_params_get_periods'
audio.c:607: too many arguments to function
`snd_pcm_hw_params_get_periods_min'
audio.c:607: too many arguments to function
`snd_pcm_hw_params_get_periods_max'
audio.c:612: warning: passing arg 2 of
`snd_pcm_hw_params_get_period_size' from incompatible pointer type
audio.c:612: too many arguments to function
`snd_pcm_hw_params_get_period_size'
audio.c:616: warning: passing arg 2 of
`snd_pcm_hw_params_get_period_size_min' from incompatible pointer type
audio.c:616: too many arguments to function
`snd_pcm_hw_params_get_period_size_min'
audio.c:617: warning: passing arg 2 of
`snd_pcm_hw_params_get_period_size_max' from incompatible pointer type
audio.c:617: too many arguments to function
`snd_pcm_hw_params_get_period_size_max'
audio.c:624: too many arguments to function
`snd_pcm_hw_params_get_period_time'
audio.c:624: too many arguments to function
`snd_pcm_hw_params_get_period_time_min'
audio.c:624: too many arguments to function
`snd_pcm_hw_params_get_period_time_max'
audio.c:625: too many arguments to function
`snd_pcm_hw_params_get_tick_time'
audio.c:625: too many arguments to function
`snd_pcm_hw_params_get_tick_time_min'
audio.c:625: too many arguments to function
`snd_pcm_hw_params_get_tick_time_max'
audio.c: In function `ALSA_WaveInit':
audio.c:744: too many arguments to function `snd_pcm_hw_params_get_rate_min'
audio.c:745: too many arguments to function `snd_pcm_hw_params_get_rate_max'
audio.c:746: too many arguments to function
`snd_pcm_hw_params_get_channels_min'
audio.c:747: too many arguments to function
`snd_pcm_hw_params_get_channels_max'
audio.c:851: too many arguments to function `snd_pcm_hw_params_get_rate_min'
audio.c:852: too many arguments to function `snd_pcm_hw_params_get_rate_max'
audio.c:853: too many arguments to function
`snd_pcm_hw_params_get_channels_min'
audio.c:854: too many arguments to function
`snd_pcm_hw_params_get_channels_max'
audio.c: In function `wodPlayer_DSPWait':
audio.c:1200: too many arguments to function
`snd_pcm_hw_params_get_period_time'
audio.c: In function `wodOpen':
audio.c:1717: warning: passing arg 3 of
`snd_pcm_hw_params_set_rate_near' makes integer from pointer without a cast
audio.c:1729: warning: passing arg 3 of
`snd_pcm_hw_params_set_buffer_time_near' makes integer from pointer
without a cast
audio.c:1731: warning: passing arg 3 of
`snd_pcm_hw_params_set_period_time_near' makes integer from pointer
without a cast
audio.c:1735: warning: passing arg 2 of
`snd_pcm_hw_params_get_period_size' from incompatible pointer type
audio.c:1735: too many arguments to function
`snd_pcm_hw_params_get_period_size'
audio.c:1736: too many arguments to function
`snd_pcm_hw_params_get_buffer_size'
audio.c: In function `DSDB_MMAPCopy':
audio.c:2248: too many arguments to function
`snd_pcm_hw_params_get_channels'
audio.c:2249: too many arguments to function `snd_pcm_hw_params_get_format'
audio.c:2251: warning: passing arg 2 of
`snd_pcm_hw_params_get_period_size' from incompatible pointer type
audio.c:2251: too many arguments to function
`snd_pcm_hw_params_get_period_size'
audio.c: In function `DSDB_CreateMMAP':
audio.c:2302: too many arguments to function `snd_pcm_hw_params_get_format'
audio.c:2303: too many arguments to function
`snd_pcm_hw_params_get_buffer_size'
audio.c:2304: too many arguments to function
`snd_pcm_hw_params_get_channels'
audio.c: In function `IDsDriverBufferImpl_GetPosition':
audio.c:2459: warning: passing arg 2 of
`snd_pcm_hw_params_get_period_size' from incompatible pointer type
audio.c:2459: too many arguments to function
`snd_pcm_hw_params_get_period_size'
audio.c: In function `widOpen':
audio.c:3205: warning: passing arg 3 of
`snd_pcm_hw_params_set_rate_near' makes integer from pointer without a cast
audio.c:3218: warning: passing arg 3 of
`snd_pcm_hw_params_set_buffer_time_near' makes integer from pointer
without a cast
audio.c:3220: warning: passing arg 3 of
`snd_pcm_hw_params_set_period_time_near' makes integer from pointer
without a cast
audio.c:3225: warning: passing arg 2 of
`snd_pcm_hw_params_get_period_size' from incompatible pointer type
audio.c:3225: too many arguments to function
`snd_pcm_hw_params_get_period_size'
audio.c:3226: too many arguments to function
`snd_pcm_hw_params_get_buffer_size'
make[2]: *** [audio.o] Error 1
make[2]: Leaving directory `/home/now3d/wine/wine/dlls/winmm/winealsa'
make[1]: *** [winmm/winealsa] Error 2
make[1]: Leaving directory `/home/now3d/wine/wine/dlls'
make: *** [dlls] Error 2



-- 
Homepage: http://jguk.org/
Blog: http://jguk.org/index.html#blog
Radio: http://jguk.org/index.html#radio





More information about the wine-devel mailing list