[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] mingw32 gnu/stubs-32.h: No such file or direc
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] mingw32 gnu/stubs-32.h: No such file or directory |
Date: |
Tue, 13 May 2014 19:23:08 +1000 |
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>
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?
> This reports a missing header from mingw. I am using mingw32-* packages from
> the official fedora 20 repository.
You should check if there’s a fedora-mingw mailing list and contact the package
maintainer directly.
> Does anyone have an idea?
Switch to MXE ;-)
Cheers,
Tony