When I try to build wine git on Mac OS X 10.6.5, I get the following error (on clang. I get similar errors using GCC): clang -m32 -c -I../../../wine-git/./dlls/atl -I. -I../../../wine-git/./include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -I/sw/include -m32 -I/sw/include -m32 -o registrar.o ../../../wine-git/./dlls/atl/registrar.c ../../../wine-git/./dlls/atl/registrar.c:747:8: error: use of undeclared identifier 'CLSID_Registrar'; did you mean 'CLSID_ATLRegistrar'? if(IsEqualGUID(&CLSID_Registrar, clsid)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../wine-git/./dlls/atl/registrar.c:747:21: note: instantiated from: if(IsEqualGUID(&CLSID_Registrar, clsid)) ^~~~~~~~~~~~~~~ CLSID_ATLRegistrar In file included from ../../../wine-git/./dlls/atl/registrar.c:32: ./atliface.h:259:1: note: 'CLSID_ATLRegistrar' declared here DEFINE_GUID(... ^ ./atliface.h:259:13: note: instantiated from: DEFINE_GUID(CLSID_ATLRegistrar,... ^ ../../../wine-git/./dlls/atl/registrar.c:796:22: error: use of undeclared identifier 'CLSID_Registrar'; did you mean 'CLSID_RegistrarW'? StringFromGUID2(&CLSID_Registrar, clsid_str, ... ^~~~~~~~~~~~~~~ CLSID_RegistrarW ../../../wine-git/./dlls/atl/registrar.c:789:24: note: 'CLSID_RegistrarW' declared here static const WCHAR CLSID_RegistrarW[] = ^ ../../../wine-git/./dlls/atl/registrar.c:796:21: warning: incompatible pointer types passing 'WCHAR const (*)[16]' to parameter of type 'GUID const *' StringFromGUID2(&CLSID_Registrar, clsid_str, ... ^~~~~~~~~~~~~~~~
On 23 November 2010 07:50, C.W.Betts computers57@hotmail.com wrote:
When I try to build wine git on Mac OS X 10.6.5, I get the following error (on clang. I get similar errors using GCC): clang -m32 -c -I../../../wine-git/./dlls/atl -I. -I../../../wine-git/./include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -I/sw/include -m32 -I/sw/include -m32 -o registrar.o ../../../wine-git/./dlls/atl/registrar.c ../../../wine-git/./dlls/atl/registrar.c:747:8: error: use of undeclared identifier 'CLSID_Registrar'; did you mean 'CLSID_ATLRegistrar'? if(IsEqualGUID(&CLSID_Registrar, clsid)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You need to run the following:
rm dlls/atl/atliface.h
and then re-run configure
./configure
as the idl file (that generates that header) was moved and the build is looking for the .h file in the old place without the s/Registrar/ATLRegistrar/ change.
HTH, - Reece