Hi Robert,
your winmm patch seems to need a winnls.h include to compile (it defines CP_ACP.)
I actually get : make[2]: Entre dans le répertoire `/home/wine/dlls/winmm/winealsa' gcc -c -I. -I. -I../../../include -I../../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o audio.o audio.c audio.c: Dans la fonction « wodDevInterface »: audio.c:1614: structure n'a pas de membre nommé « dev_name » audio.c:1617: AVERTISSEMENT: déclaration implicite de la fonction « MultiByteToWideChar » audio.c:1617: « CP_ACP » non déclaré (première utilisation dans cette fonction) audio.c:1617: (Chaque identificateur non déclaré est rapporté une seule fois audio.c:1617: pour chaque fonction dans laquelle il apparaît.) audio.c:1617: structure n'a pas de membre nommé « dev_name » make[2]: *** [audio.o] Erreur 1
Looking into wineoss '#include's, I dont see which header includes winnls.h. None of the includes unique to each one dont seem to import winnls.h : [syl@wine winmm]$ grep -h include wineoss/audio.c winealsa/audio.c |sort -k 2 | uniq -u #include "alsa.h" # include <sys/poll.h> #include <limits.h> #include "oss.h" #include "wine/library.h" #include "wine/winuser16.h" #include "winuser.h"
===== Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) ICQ #170597259 Say NO to software patents Dites NON aux brevets logiciels
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
That's odd. I just did an rm *.o and make again in that directory and I don't get any errors. The alsa stuff has only been compile tested because I only have OSS on my system (RH9).
You should notice that I did have to add windows.h to the wave test program to get it to compile. I tried winnls.h there first but it needed other includes.
Sylvain Petreolle wrote:
Hi Robert,
your winmm patch seems to need a winnls.h include to compile (it defines CP_ACP.)
I actually get : make[2]: Entre dans le répertoire `/home/wine/dlls/winmm/winealsa' gcc -c -I. -I. -I../../../include -I../../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o audio.o audio.c audio.c: Dans la fonction « wodDevInterface »: audio.c:1614: structure n'a pas de membre nommé « dev_name » audio.c:1617: AVERTISSEMENT: déclaration implicite de la fonction « MultiByteToWideChar » audio.c:1617: « CP_ACP » non déclaré (première utilisation dans cette fonction) audio.c:1617: (Chaque identificateur non déclaré est rapporté une seule fois audio.c:1617: pour chaque fonction dans laquelle il apparaît.) audio.c:1617: structure n'a pas de membre nommé « dev_name » make[2]: *** [audio.o] Erreur 1
Looking into wineoss '#include's, I dont see which header includes winnls.h. None of the includes unique to each one dont seem to import winnls.h : [syl@wine winmm]$ grep -h include wineoss/audio.c winealsa/audio.c |sort -k 2 | uniq -u #include "alsa.h" # include <sys/poll.h> #include <limits.h> #include "oss.h" #include "wine/library.h" #include "wine/winuser16.h" #include "winuser.h"
===== Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) ICQ #170597259 Say NO to software patents Dites NON aux brevets logiciels
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
Fixed to compile with alsa now.
Sylvain Petreolle wrote:
Hi Robert,
your winmm patch seems to need a winnls.h include to compile (it defines CP_ACP.)
It compiles properly now, thanks.
--- Robert Reif reif@earthlink.net a écrit :
Fixed to compile with alsa now.
===== Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) ICQ #170597259 Say NO to software patents Dites NON aux brevets logiciels
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com