"Martin Fuchs" martin-fuchs@gmx.net writes:
when trying to compile WINE using Cygwin I am getting errors such as: (this example for wine/programs/notepad)
gcc -c -I. -I. -I../../include -I../../include -I../../include/msvcrt -DNO_LIBWINE_PORT -D_REENTRANT -Wall -pipe -mprefe rred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o License_En.o License_En.c In file included from /usr/include/w32api/objfwd.h:7, from /usr/include/w32api/objidl.h:7, from ../../include/objbase.h:270, from ../../include/ole2.h:25, from ../../include/windows.h:77, from License_En.c:1: /usr/include/w32api/basetyps.h:124: error: Syntaxfehler before '*' token /usr/include/w32api/basetyps.h:125: error: Syntaxfehler before '*' token /usr/include/w32api/basetyps.h:127: error: Syntaxfehler before '*' token In file included from ../../include/objbase.h:270, from ../../include/ole2.h:25, from ../../include/windows.h:77, from License_En.c:1: /usr/include/w32api/objidl.h:10: error: Syntaxfehler before "LPOLESTR"
It looks like you are mixing includes from Wine and Mingw, that's not going to work well. My guess is that you didn't run make from the top-level directory, so Wine didn't get a chance to build its includes and Mingw falls back to the w32api ones.