mingw-cross-env-list
[Top][All Lists]
Advanced

[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: 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

Hi all,


On Tue, May 13, 2014 at 11:23 AM, Tony Theodore <address@hidden> wrote:

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 ;-)

I tried but the url to download sources are blocked under my proxy. And Its difficult to  whitelist each source tar ball one by one. For example to build gcc. i whitelist binutils, gmp, then gcc. and to build gdal. i need to whitelist libpng, libjpeg, libtiff..... one by one. 

Is there a mirror site i could use?. 

Cheers,

Tony




--
Regards,
   Rashad

reply via email to

[Prev in Thread] Current Thread [Next in Thread]