Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39137 - nwwine-20030709 fails to compile against alsa-lib-1.0*
Summary: nwwine-20030709 fails to compile against alsa-lib-1.0*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Wine Maintainers
URL: http://bugs.gentoo.org/show_bug.cgi?i...
Whiteboard:
Keywords:
Depends on: 33076 35412
Blocks:
  Show dependency tree
 
Reported: 2004-01-23 01:38 UTC by Brian Harring (RETIRED)
Modified: 2004-03-04 02:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Harring (RETIRED) gentoo-dev 2004-01-23 01:38:53 UTC
Known issue; alsa-lib 1.0 requires a few definitions prior to inclusion of (sys|alsa)/asoundlib.h to use the 0.9* api, minor fix; check URL for master bug related to this.

I've not checked newer versions; they may very well have made the adjustments already.  I've also attached a request for nwwine version bumpage to this bug- may very well be an easy way to get around the alsa-lib breakage (assuming the newer unmasked version has the appropriate fix).

You can likely get away with grabbing the existing wine patch for http://bugs.gentoo.org/show_bug.cgi?id=25904 , otherwise I'll just create the necessary patch

simple example of how it's puking
audio.c: In function `wodPlayer_DSPWait':
audio.c:739: too few arguments to function `snd_pcm_hw_params_get_period_time'
audio.c: In function `wodOpen':
audio.c:1142: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast
audio.c:1154: warning: passing arg 3 of `snd_pcm_hw_params_set_buffer_time_near' makes pointer from integer without a cast
audio.c:1155: warning: passing arg 3 of `snd_pcm_hw_params_set_period_time_near' makes pointer from integer without a cast
audio.c:1159: too few arguments to function `snd_pcm_hw_params_get_period_size'
audio.c:1160: too few arguments to function `snd_pcm_hw_params_get_buffer_size'
audio.c: In function `DSDB_MMAPCopy':
audio.c:1663: too few arguments to function `snd_pcm_hw_params_get_channels'
audio.c:1664: too few arguments to function `snd_pcm_hw_params_get_format'
audio.c:1665: too few arguments to function `snd_pcm_hw_params_get_period_size'
audio.c: In function `DSDB_CreateMMAP':
audio.c:1707: too few arguments to function `snd_pcm_hw_params_get_format'
audio.c:1708: too few arguments to function `snd_pcm_hw_params_get_buffer_size'
audio.c:1709: too few arguments to function `snd_pcm_hw_params_get_channels'
audio.c: In function `IDsDriverBufferImpl_GetPosition':
audio.c:1851: too few arguments to function `snd_pcm_hw_params_get_period_size'
make[2]: *** [audio.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/nwwine-20030709/work/nwwine-based-on-20030709/dlls/winmm/winealsa'
Comment 1 SpanKY gentoo-dev 2004-03-04 02:04:31 UTC
nwwine-20030911 has the wine alsa patch