Wine does not build (preloader.c, line 863, a_ptr union)

Hans Kristian Rosbach hans.kristian at isphuset.no
Thu Jun 2 06:13:38 CDT 2005


On Wed, 2005-06-01 at 22:26 -0400, Ivan Gyurdiev wrote:
> I hate bothering the -devel list with compile errors, but
> they don't seem to get fixed, so I start wondering
> if anyone else besides me is using gcc4 at all..
> 
> preloader.c: In function ‘is_in_preload_range’:
> preloader.c:863: error: ‘union <anonymous>’ has no member named
‘a_ptr’
> preloader.c:864: error: ‘union <anonymous>’ has no member named
‘a_ptr’
> make[1]: *** [preloader.o] Error 1
> make[1]: Leaving directory `/home/phantom/src/wine/loader'
> make: *** [loader] Error 2

I get the same error on my Fedora Core 4 (t3+updates) install.
When checking out current cvs I get this error:

make[2]: Entering directory `/usr/src/wine-cvs/wine/dlls/msdmo'
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 dmoreg.o
dmoreg.c
dmoreg.c:94: error: static declaration of ‘IID_IEnumDMO’ follows
non-static declaration
../../include/mediaobj.h:64: error: previous declaration of
‘IID_IEnumDMO’ was here
dmoreg.c: In function ‘IEnumDMO_fnAddRef’:
dmoreg.c:385: warning: pointer targets in passing argument 1 of
‘InterlockedIncrement’ differ in signedness
dmoreg.c: In function ‘IEnumDMO_fnRelease’:
dmoreg.c:422: warning: pointer targets in passing argument 1 of
‘InterlockedDecrement’ differ in signedness
make[2]: *** [dmoreg.o] Error 1
make[2]: Leaving directory `/usr/src/wine-cvs/wine/dlls/msdmo'
make[1]: *** [msdmo] Error 2
make[1]: Leaving directory `/usr/src/wine-cvs/wine/dlls'
make: *** [dlls] Error 2

-HK






More information about the wine-devel mailing list