Re: compil error in winealsa (problem due to kernel 2.6.0???)
"brett holcomb" <[email protected]>
| Newsgroups | gmane.comp.emulators.winex.devel |
|---|---|
| Message-ID | <[email protected]> |
Are you running Alsa 1.0? If so there are changes that need to be made to either alsa.h or audio.c itself. I don't have them handy right not but on the Alsa dev list on 5-Nov was a note for changing headers. Someone in the wine group had patches for audio.c that takes care of both 0.9x and 1.0 versions. On Tue, 09 Dec 2003 14:34:19 +0100 Rapsys|Phoenix <[email protected]> wrote: >I am runniong kernel 2.6.0-test11 patched by mandrake on >a Athlon-XP >It doesn't compil... > >Problem in winealsa : > >audio.c:399: error: too few arguments to function >`snd_pcm_hw_params_get_buffer_time' >audio.c:399: error: too few arguments to function >`snd_pcm_hw_params_get_buffer_time_min' >audio.c:399: error: too few arguments to function >`snd_pcm_hw_params_get_buffer_time_max' >audio.c:400: error: too few arguments to function >`snd_pcm_hw_params_get_periods' >audio.c:400: error: too few arguments to function >`snd_pcm_hw_params_get_periods_min' >audio.c:400: error: too few arguments to function >`snd_pcm_hw_params_get_periods_max' >audio.c:401: error: too few arguments to function >`snd_pcm_hw_params_get_period_size' >audio.c:401: error: too few arguments to function >`snd_pcm_hw_params_get_period_size_min' >audio.c:401: error: too few arguments to function >`snd_pcm_hw_params_get_period_size_max' >audio.c:402: error: too few arguments to function >`snd_pcm_hw_params_get_period_time' >audio.c:402: error: too few arguments to function >`snd_pcm_hw_params_get_period_time_min' >audio.c:402: error: too few arguments to function >`snd_pcm_hw_params_get_period_time_max' >audio.c:403: error: too few arguments to function >`snd_pcm_hw_params_get_tick_time' >audio.c:403: error: too few arguments to function >`snd_pcm_hw_params_get_tick_time_min' >audio.c:403: error: too few arguments to function >`snd_pcm_hw_params_get_tick_time_max' >audio.c: In function `ALSA_WaveInit': >audio.c:473: error: too few arguments to function >`snd_pcm_hw_params_get_rate_min' >audio.c:474: error: too few arguments to function >`snd_pcm_hw_params_get_rate_max' >audio.c:475: error: too few arguments to function >`snd_pcm_hw_params_get_channels_min' >audio.c:475: error: too few arguments to function >`snd_pcm_hw_params_get_channels_max' >audio.c:505: error: too few arguments to function >`snd_pcm_hw_params_get_channels_min' >audio.c:506: error: too few arguments to function >`snd_pcm_hw_params_get_channels_max' >audio.c:507: error: too few arguments to function >`snd_pcm_hw_params_get_channels_min' >audio.c:507: error: too few arguments to function >`snd_pcm_hw_params_get_channels_max' >audio.c: In function `wodPlayer_DSPWait': >audio.c:767: error: too few arguments to function >`snd_pcm_hw_params_get_period_time' >audio.c: In function `wodOpen': >audio.c:1169: warning: passing arg 3 of >`snd_pcm_hw_params_set_buffer_size_near' makes pointer >from integer without a cast >audio.c:1170: error: too few arguments to function >`snd_pcm_hw_params_get_buffer_size' >audio.c:1172: warning: passing arg 3 of >`snd_pcm_hw_params_set_period_size_near' makes pointer >from integer without a cast >audio.c:1173: error: too few arguments to function >`snd_pcm_hw_params_get_period_size' >audio.c:1175: warning: passing arg 3 of >`snd_pcm_hw_params_set_rate_near' makes pointer from >integer without a cast >audio.c: In function `DSDB_MMAPCopy': >audio.c:1688: error: too few arguments to function >`snd_pcm_hw_params_get_channels' >audio.c:1689: error: too few arguments to function >`snd_pcm_hw_params_get_format' >audio.c:1690: error: too few arguments to function >`snd_pcm_hw_params_get_period_size' >audio.c:1683: warning: unused variable `state' >audio.c: In function `DSDB_CreateMMAP': >audio.c:1732: error: too few arguments to function >`snd_pcm_hw_params_get_format' >audio.c:1733: error: too few arguments to function >`snd_pcm_hw_params_get_buffer_size' >audio.c:1734: error: too few arguments to function >`snd_pcm_hw_params_get_channels' >audio.c: In function `IDsDriverBufferImpl_GetPosition': >audio.c:1876: error: too few arguments to function >`snd_pcm_hw_params_get_period_size' >audio.c: At top level: >audio.c:184: warning: `wodPlayerCmdString' defined but >not used >make[2]: *** [audio.o] Erreur 1 >make[2]: Leaving directory >`/mnt/hda6/downloadlinux/winex-CVS/WineX-AthlonXP/winex/dlls/winmm/winealsa' >make[1]: *** [winmm/winealsa/libwinealsa.drv.so] Erreur 2 >make[1]: Leaving directory >`/mnt/hda6/downloadlinux/winex-CVS/WineX-AthlonXP/winex/dlls' >make: *** [dlls] Erreur 2 > >_______________________________________________ >winex-devel mailing list >[email protected] >http://lists.transgaming.org/cgi-bin/mailman/listinfo/winex-devel