http://bugs.winehq.org/show_bug.cgi?id=30580
--- Comment #2 from Andrew Eikum aeikum@codeweavers.com 2012-05-03 12:49:00 CDT --- Do any 32-bit programs work with this setup?
For example, try building and running this program:
================================================================= #include <alsa/asoundlib.h> #include <stdio.h>
int main(int argc, char **argv) { snd_pcm_t *handle;
if(snd_pcm_open(&handle, "default", SND_PCM_STREAM_PLAYBACK, 0) < 0){ printf("snd_pcm_open failed\n"); return 1; }
snd_pcm_close(handle);
printf("success!\n");
return 0; } =================================================================
To build & run: $ gcc -Wall -m32 -lasound -o test test.c $ ./test