Compiling Wine 1.1.14 for OpenSolaris or Solaris Nevada
Update 15.02.2009 @ 14:04: Same for wine 1.1.15…
The following error:
ipstats.c: In function `getInterfaceStatsByName':
ipstats.c:279: error: called object is not a function
ipstats.c: In function `getICMPStats':
ipstats.c:472: error: called object is not a function
ipstats.c: In function `getIPStats':
ipstats.c:641: error: called object is not a function
ipstats.c: In function `getTCPStats':
ipstats.c:778: error: called object is not a function
ipstats.c: In function `getUDPStats':
ipstats.c:862: error: called object is not a function
ipstats.c: In function `getNumWithOneHeader':
ipstats.c:985: error: called object is not a function
ipstats.c: In function `getRouteTable':
ipstats.c:1255: error: called object is not a function
ipstats.c: In function `getTcpTable':
ipstats.c:1607: error: called object is not a function
gmake[2]: *** [ipstats.o] Error 1
gmake[2]: Leaving directory `/var/tmp/wine-1.1.14/dlls/iphlpapi'
gmake[1]: *** [iphlpapi] Error 2
gmake[1]: Leaving directory `/var/tmp/wine-1.1.14/dlls'
gmake: *** [dlls] Error 2
ipstats.c:279: error: called object is not a function
ipstats.c: In function `getICMPStats':
ipstats.c:472: error: called object is not a function
ipstats.c: In function `getIPStats':
ipstats.c:641: error: called object is not a function
ipstats.c: In function `getTCPStats':
ipstats.c:778: error: called object is not a function
ipstats.c: In function `getUDPStats':
ipstats.c:862: error: called object is not a function
ipstats.c: In function `getNumWithOneHeader':
ipstats.c:985: error: called object is not a function
ipstats.c: In function `getRouteTable':
ipstats.c:1255: error: called object is not a function
ipstats.c: In function `getTcpTable':
ipstats.c:1607: error: called object is not a function
gmake[2]: *** [ipstats.o] Error 1
gmake[2]: Leaving directory `/var/tmp/wine-1.1.14/dlls/iphlpapi'
gmake[1]: *** [iphlpapi] Error 2
gmake[1]: Leaving directory `/var/tmp/wine-1.1.14/dlls'
gmake: *** [dlls] Error 2
Is caused by redefinition of the ERR function in the wrong place. To fix move #include "wine/debug.h" behind all includes in dlls/iphlpapi/ipstats.c:
From (line 24):
. . .
#include "config.h"
#include "wine/port.h"
#include "wine/debug.h"
. . .
#include "config.h"
#include "wine/port.h"
#include "wine/debug.h"
#include
#include
. . .
to (line 126):
. . .
#include "windef.h"
#include "winbase.h"
#include "iprtrmib.h"
#include "ifenum.h"
#include "ipstats.h"
#include "wine/debug.h"
. . .
Related posts:
- Wine 1.1.5 for Solaris Wine 1.1.5 is out. So are new compiling errors: gmake[2]:...
- 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...
- How to compile Bluefish 1.3.x under OpenSolaris or Solaris Nevada Get intltool package (for example, from blastwave) If you use...
One Response to “Compiling Wine 1.1.14 for OpenSolaris or Solaris Nevada”
Blog updates

Incredible. While this is corrected in newer wine versions, it is good to know, as some applications work only with some (older) wines.
Comment :: January 28, 2010 at 15:31 :: Quote