|
From: | Rashad M |
Subject: | Re: [Mingw-cross-env-list] mingw32 gnu/stubs-32.h: No such file or directory |
Date: | Fri, 16 May 2014 09:00:18 +0200 |
Since this is happening during a cross-build stage (using the prefixed i686-w64-mingw32-g++) it shouldn’t be looking under /usr/* at all. Many packages have native compile stages, but would use the system gcc (which should search under /usr/*). Are you doing something like setting CC/CXX?
On 12 May 2014, at 22:01, Rashad M <address@hidden> wrote:
> Hi,
>
> 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>
You should check if there’s a fedora-mingw mailing list and contact the package maintainer directly.
> This reports a missing header from mingw. I am using mingw32-* packages from the official fedora 20 repository.
Switch to MXE ;-)
> Does anyone have an idea?
Cheers,
Tony
[Prev in Thread] | Current Thread | [Next in Thread] |