When building gdal library[1]. I am getting the following compile errors:
ibtool: compile: i686-w64-mingw32-g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -Wall -I.. -I../.. -I/home/otbtesting/win32-build/gdal-trunk/port -I/home/otbtesting/win32-build/gdal-trunk/gcore -I/home/otbtesting/win32-build/gdal-trunk/alg -I/home/otbtesting/win32-build/gdal-trunk/ogr -I/home/otbtesting/win32-build/gdal-trunk/ogr/ogrsf_frmts -I/usr/include -DOGR_ENABLED -I/home/otbtesting/win32-build/gdal-trunk/port -DHAVE_SQLITE -c gmlpropertydefn.cpp -DDLL_EXPORT -DPIC -o ../o/.libs/gmlpropertydefn.o
In file included from /usr/include/features.h:388:0,
from /usr/include/stdio.h:27,
from /home/otbtesting/win32-build/gdal-trunk/port/cpl_port.h:144,
from gmlreader.h:33,
from gmlpropertydefn.cpp:30:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
# include <gnu/stubs-32.h>
^
compilation terminated.
make[3]: *** [../o/gmlpropertydefn.lo] Error 1
make[3]: Leaving directory `/home/otbtesting/win32-build/gdal-trunk/ogr/ogrsf_frmts/gml'
make[2]: *** [gml-target] Error 2
make[2]: Leaving directory `/home/otbtesting/win32-build/gdal-trunk/ogr/ogrsf_frmts'
make[1]: *** [sublibs] Error 2
make[1]: Leaving directory `/home/otbtesting/win32-build/gdal-trunk/ogr'
This reports a missing header from mingw. I am using mingw32-* packages from the official fedora 20 repository.