Wine 1.1.5 for Solaris
Wine 1.1.5 is out. So are new compiling errors:
gmake[2]: Entering directory `/var/tmp/wine-1.1.5/dlls/cryptnet'
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -O2 -o cryptnet_main.o cryptnet_main.c
In file included from cryptnet_main.c:31:
../../include/winbase.h:1518: error: syntax error before "va_list"
../../include/winbase.h:1519: error: syntax error before "va_list"
gmake[2]: *** [cryptnet_main.o] Error 1
gmake[2]: Leaving directory `/var/tmp/wine-1.1.5/dlls/cryptnet'
gmake[1]: *** [cryptnet] Error 2
gmake[1]: Leaving directory `/var/tmp/wine-1.1.5/dlls'
gmake: *** [dlls] Error 2
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -O2 -o cryptnet_main.o cryptnet_main.c
In file included from cryptnet_main.c:31:
../../include/winbase.h:1518: error: syntax error before "va_list"
../../include/winbase.h:1519: error: syntax error before "va_list"
gmake[2]: *** [cryptnet_main.o] Error 1
gmake[2]: Leaving directory `/var/tmp/wine-1.1.5/dlls/cryptnet'
gmake[1]: *** [cryptnet] Error 2
gmake[1]: Leaving directory `/var/tmp/wine-1.1.5/dlls'
gmake: *** [dlls] Error 2
The thing is, wine/debug.h must be included before any other win*.h headers in dlls/cryptnet/cryptnet_main.c
$ more dlls/cryptnet/cryptnet_main.c
. . .
#include "wine/debug.h"
#include "windef.h"
#include "winbase.h"
#include "winnt.h"
#include "winnls.h"
#include "wininet.h"
#include "objbase.h"
#define CERT_REVOCATION_PARA_HAS_EXTRA_FIELDS
#include "wincrypt.h"
. . .
. . .
#include "wine/debug.h"
#include "windef.h"
#include "winbase.h"
#include "winnt.h"
#include "winnls.h"
#include "wininet.h"
#include "objbase.h"
#define CERT_REVOCATION_PARA_HAS_EXTRA_FIELDS
#include "wincrypt.h"
. . .
Related posts:
- Compiling Wine 1.1.14 for OpenSolaris or Solaris Nevada Update 15.02.2009 @ 14:04: Same for wine 1.1.15… The following...
- How to compile wine under Solaris. Part I Unfortunately, wine can not be compiled under Solaris "as is"....
- How to compile wine under Solaris. Part II See Part I Beginning with wine 0.9.57 "-lsunmath" is needed....
- Solaris, Wine and Xorg extensions Wine 1.1.3 is out! Let's see hot it compiles on...
- wine-0.9.59, OpenSolaris and Picasa New release, new features, new bug fixes and new bugs....
2 Responses to “Wine 1.1.5 for Solaris”
Blog updates

[...] http://www.alekz.net/archives/237
Pingback :: September 21, 2008 at 18:39 :: Quote
[...] http://www.alekz.net/archives/237
Pingback :: September 25, 2008 at 12:57 :: Quote