setup build problem - filemanip.cc
I am seeing the following error when I try to build setup.exe on o4w.gdal.org in ~/build/setup. Any thoughts?
CXX filemanip.o
In file included from ntdll.h:25:0,
from filemanip.cc:32:
/usr/i686-pc-mingw32/sys-root/mingw/include/ddk/ntapi.h:49:15: error: conflicting declaration ‘typedef void* PEXECUTION_STATE’
In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0,
from win32.h:52,
from filemanip.cc:30:
/usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1973:33: error: ‘PEXECUTION_STATE’ has a previous declaration as ‘typedef DWORD* PEXECUTION_STATE’
Makefile:860: recipe for target `filemanip.o' failed
make[2]: *** [filemanip.o] Error 1
make[2]: Leaving directory `/cygdrive/c/build/setup'
Makefile:905: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/build/setup'
Makefile:658: recipe for target `all' failed
make: *** [all] Error 2
Change History
(4)
Resolution: |
→ fixed
|
Status: |
new → closed
|
Frank
This error is strange you could fix this error changing ntapi.h temporaly, but it needs to fix in other way :
+ typedef PDWORD PEXECUTION_STATE;
in file /usr/i686-pc-mingw32/sys-root/mingw/include/ddk/ntapi.h . Probably mingw runtime has an error.
Steve