[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: |
Bernd Petrovitsch |
Subject: |
Re: [Mingw-cross-env-list] mingw32 gnu/stubs-32.h: No such file or directory |
Date: |
Sat, 19 Jul 2014 13:26:53 +0200 |
Hi!
On Fre, 2014-07-18 at 13:56 +0200, Rashad M wrote:
[...]
> I am now using mxe and the stubs-32.h error is still happening
To be expected.
> make[3]: Entering directory
[...]
> libtool: compile: i686-pc-mingw32.shared-g++ -g -O2 -msse
> -DHAVE_SSE_AT_COMPILE_TIME -Wall -I.. -I../..
> -I/home/otbtesting/win-sources/gdal-1.11/port
> -I/home/otbtesting/win-sources/gdal-1.11/gcore
> -I/home/otbtesting/win-sources/gdal-1.11/alg
> -I/home/otbtesting/win-sources/gdal-1.11/ogr
> -I/home/otbtesting/win-sources/gdal-1.11/ogr/ogrsf_frmts
> -I/home/otbtesting/win-sources/mxe/usr/i686-pc-mingw32.shared/include
> -I/usr/include -DOGR_ENABLED -I/home/otbtesting/win-sources/gdal-1.11/port
> -DHAVE_EXPAT -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/win-sources/gdal-1.11/port/cpl_port.h:144,
> from gmlreader.h:34,
> from gmlpropertydefn.cpp:31:
> /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.
Install GNU-libc 32bit development libraries.
On (somewhat old;-) RedHat/Fedora:
---- snip ----
{73}rpm -qf /usr/include/gnu/stubs-32.h
glibc-devel-2.14.1-6.i686
---- snip ----
Note the .i686 suffix (on a 64bit system).
Bernd
--
"I dislike type abstraction if it has no real reason. And saving
on typing is not a good reason - if your typing speed is the main
issue when you're coding, you're doing something seriously wrong."
- Linus Torvalds