I'm getting the below error when trying to compile the latest git. gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -g -O2 -o registrar.o registrar.c registrar.c: In function 'DllGetClassObject': registrar.c:747: error: 'CLSID_Registrar' undeclared (first use in this function) registrar.c:747: error: (Each undeclared identifier is reported only once registrar.c:747: error: for each function it appears in.) registrar.c: In function 'do_register_server': registrar.c:796: error: 'CLSID_Registrar' undeclared (first use in this function) make[1]: *** [registrar.o] Error 1 make[1]: Leaving directory `/src/wine/wine-git/dlls/atl' make: *** [dlls/atl] Error 2
On Sat, Nov 13, 2010 at 13:05, zigstat <wineforum-user at winehq.org> wrote:> I'm getting the below error when trying to compile the latest git. > > gcc -c -I. -I. -I../../include -I../../include ?-D__WINESRC__ ?-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith ?-g -O2 ?-o registrar.o registrar.c > registrar.c: In function 'DllGetClassObject': > registrar.c:747: error: 'CLSID_Registrar' undeclared (first use in this function) > registrar.c:747: error: (Each undeclared identifier is reported only once > registrar.c:747: error: for each function it appears in.) > registrar.c: In function 'do_register_server': > registrar.c:796: error: 'CLSID_Registrar' undeclared (first use in this function) > make[1]: *** [registrar.o] Error 1 > make[1]: Leaving directory `/src/wine/wine-git/dlls/atl' > make: *** [dlls/atl] Error 2This was solved on wine-devel just recently. -- Devin Cofer
> I'm getting the below error when trying to compile the latest git.rm dlls/atl/atliface.h
zigstat wrote:> Also @vitamin would you mind going over the basic steps for an out-of-tree compile of wine?Code: git clone git://source.winehq.org/git/wine.git rm -rf wine.build mkdir wine.build cd wine.build ../wine.git/configure make