compile error in wine
A message that is not in the archive (sent off-list or not yet received): [email protected]
G'day folks. Trying to build wine 20040505 (and several other releases as well) on my new gentoo 2.6.12 r4 install using alsa 1.0.9.a I get the following error:
make[2]: Entering directory `/home/geoff/wine-20040505/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 In file included from /usr/include/alsa/asoundlib.h:48,
from alsa.h:23,
from audio.c:59:/usr/include/alsa/conf.h:189: error: syntax error before "struct" make[2]: *** [audio.o] Error 1
make[2]: Leaving directory `/home/geoff/wine-20040505/dlls/winmm/winealsa' make[1]: *** [winmm/winealsa] Error 2
make[1]: Leaving directory `/home/geoff/wine-20040505/dlls'
make: *** [dlls] Error 2
Compilation failed, aborting install.
Is there something that needs to be edited in /usr/include/alsa/conf.h ? Is this a wine specific problem ?
thanks for any help !
Cheers,
Geoff.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Quoted 2 lines · Geoff Beasley
Is there something that needs to be edited
in/usr/include/alsa/conf.h?
Does this patch help?
usr/include/alsa/conf.h renamed from usr/include/alsa/conf.h~ +6 -6
@@ -173,19 +173,19 @@/* Names functions */ /** -* Device-name list element -*/ -typedef struct snd_devname snd_devname_t ; - -/** * Device-name list element (definition) */ struct snd_devname {char *name;/**< Device name string */ char *comment;/**< Comments */ -snd_devname_t *next;/**< Next pointer */ +struct snd_devname *next;/**< Next pointer */ }; +/** +* Device-name list element +*/ +typedef struct snd_devname snd_devname_t ; +int snd_names_list (const char *iface,snd_devname_t **list);void snd_names_list_free (snd_devname_t *list);
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click