[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: (cross-)build error for mingw 4.1.0+ in mxe-octave
From: |
John D |
Subject: |
RE: (cross-)build error for mingw 4.1.0+ in mxe-octave |
Date: |
Sun, 26 Jan 2014 16:07:25 -0500 |
Message: 5
Date: Sun, 26 Jan 2014 12:51:00 -0800 (PST)
From: Philip Nienhuis <address@hidden>
To: address@hidden
Subject: (cross-)build error for mingw 4.1.0+ in mxe-octave
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii
(mxe-octave 3454:05c91ad85do1 add msys-mk)
(octave-4.1.0+ 18386:5b7b12e16523 speedup dbtype .....)
>From the log in mxe-octave/log:
:
making mkoctfile.cc from
/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/src/mkoctfile.
in.cc
depbase=`echo mkoctfile.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
i686-pc-mingw32-g++ -DHAVE_CONFIG_H -I.
-I/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/src -I..
-I/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/liboctave/ar
ray
-I/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/liboctave/cr
uft/misc
-I/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/liboctave/nu
meric
-I/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/liboctave/sy
stem
-I/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/liboctave/ut
il
-I/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/libinterp
-I../libinterp/corefcn
-I/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/libinterp/co
refcn
-I../libgnu
-I/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/libgnu
-I/home/philip/devel/octdev/mxe-octave/usr/i686-pc-mingw32/include -mieee-fp
-Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings
-Wcast-align -Wcast-qual -g -O2 -pthread -MT mkoctfile.o -MD -MP -MF
$depbase.Tpo -c -o mkoctfile.o mkoctfile.cc &&\ mv -f $depbase.Tpo
$depbase.Po In file included from mkoctfile.cc:50:0:
/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/src/shared-fcn
s.h:
In function 'std::string w32_get_octave_home()':
/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/src/shared-fcn
s.h:39:40:
error: 'TH32CS_SNAPMODULE' was not declared in this scope
HANDLE h = CreateToolhelp32Snapshot (TH32CS_SNAPMODULE
^
/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/src/shared-fcn
s.h:43:43:
error: 'CreateToolhelp32Snapshot' was not declared in this scope
, 0);
^
/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/src/shared-fcn
s.h:47:7:
error: 'MODULEENTRY32' was not declared in this scope
MODULEENTRY32 mod_info;
^
/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/src/shared-fcn
s.h:47:21:
error: expected ';' before 'mod_info'
MODULEENTRY32 mod_info;
^
In file included from
/home/philip/devel/octdev/mxe-octave/usr/i686-pc-mingw32/include/windows.h:5
0:0,
from
/home/philip/devel/octdev/mxe-octave/usr/i686-pc-mingw32/include/pthread.h:1
98,
from ../libgnu/time.h:369,
from ../libgnu/wchar.h:72,
from
/home/philip/devel/octdev/mxe-octave/usr/lib/gcc/i686-pc-mingw32/4.8.1/inclu
de/c++/cwchar:44,
from
/home/philip/devel/octdev/mxe-octave/usr/lib/gcc/i686-pc-mingw32/4.8.1/inclu
de/c++/bits/postypes.h:40,
from
/home/philip/devel/octdev/mxe-octave/usr/lib/gcc/i686-pc-mingw32/4.8.1/inclu
de/c++/bits/char_traits.h:40,
from
/home/philip/devel/octdev/mxe-octave/usr/lib/gcc/i686-pc-mingw32/4.8.1/inclu
de/c++/string:40,
from mkoctfile.cc:28:
/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/src/shared-fcn
s.h:49:20:
error: 'mod_info' was not declared in this scope
ZeroMemory (&mod_info, sizeof (mod_info));
^
In file included from mkoctfile.cc:50:0:
/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/src/shared-fcn
s.h:52:38:
error: 'Module32First' was not declared in this scope
if (Module32First (h, &mod_info))
^
/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/src/shared-fcn
s.h:68:44:
error: 'Module32Next' was not declared in this scope
while (Module32Next (h, &mod_info));
^
make[4]: *** [mkoctfile.o] Error 1
make[4]: Leaving directory
`/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/.build/src'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/.build'
make[2]: *** [install] Error 2
make[2]: Leaving directory
`/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/.build'
make[1]: *** [build-only-octave] Error 2
make[1]: Leaving directory `/home/philip/devel/octdev/mxe-octave'
(BTW I just saw in the log that the bookmark lags behind 2 changesets)
Philip
-----------------
I saw this issue as well and pushed a change up octave:
http://hg.savannah.gnu.org/hgweb/octave/rev/e0b96a751afc