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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] tryiing to compile Octave


From: Alois Schlögl
Subject: [Mingw-cross-env-list] tryiing to compile Octave
Date: Mon, 18 Mar 2013 20:21:02 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20121215 Icedove/3.0.11

I'm trying to compile Octave [1] with mxe, and the following issues:

When compiling for i686-pc-mingw32, compilation stops with this error:

In file included from oct-time.h:26:0,
                 from file-stat.h:28,
                 from file-ops.cc:43:
/scratch/schloegl/src/mxe.github.schloegl/usr/lib/gcc/i686-pc-mingw32/4.7.2/include/c++/ctime:72:11: error: '::gmtime' has not been declared /scratch/schloegl/src/mxe.github.schloegl/usr/lib/gcc/i686-pc-mingw32/4.7.2/include/c++/ctime:73:11: error: '::localtime' has not been declared
make[5]: *** [liboctave_la-file-ops.lo] Error 1


Compilation for the x86_64-w64-mingw32 stops with the following error:


fstat.c:73:1: error: conflicting types for 'rpl_fstat'
In file included from sys/stat.h:49:0,
                 from fstat.c:40:
./sys/stat.h:642:1: note: previous declaration of 'rpl_fstat' was here
fstat.c: In function 'rpl_fstat':
fstat.c:83:3: warning: passing argument 2 of 'orig_fstat' from incompatible pointer type [enabled by default] fstat.c:31:1: note: expected 'struct _stat64 *' but argument is of type 'struct stat *'


The latest version of src/octave.mk is in [2]

Any idea how to address these issues ?

    Alois



[1] https://www.gnu.org/software/octave/
[2] https://github.com/schloegl/mxe.git




reply via email to

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