octave-maintainers
[Top][All Lists]
Advanced

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

(cross-)build error for mingw 4.1.0+ in mxe-octave


From: Philip Nienhuis
Subject: (cross-)build error for mingw 4.1.0+ in mxe-octave
Date: Sun, 26 Jan 2014 12:51:00 -0800 (PST)

(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/array
-I/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/liboctave/cruft/misc
-I/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/liboctave/numeric
-I/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/liboctave/system
-I/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/liboctave/util
-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/corefcn
-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-fcns.h:
In function 'std::string w32_get_octave_home()':
/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/src/shared-fcns.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-fcns.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-fcns.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-fcns.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:50:0,
                 from
/home/philip/devel/octdev/mxe-octave/usr/i686-pc-mingw32/include/pthread.h:198,
                 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/include/c++/cwchar:44,
                 from
/home/philip/devel/octdev/mxe-octave/usr/lib/gcc/i686-pc-mingw32/4.8.1/include/c++/bits/postypes.h:40,
                 from
/home/philip/devel/octdev/mxe-octave/usr/lib/gcc/i686-pc-mingw32/4.8.1/include/c++/bits/char_traits.h:40,
                 from
/home/philip/devel/octdev/mxe-octave/usr/lib/gcc/i686-pc-mingw32/4.8.1/include/c++/string:40,
                 from mkoctfile.cc:28:
/home/philip/devel/octdev/mxe-octave/tmp-octave/octave-4.1.0+/src/shared-fcns.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-fcns.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-fcns.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



--
View this message in context: 
http://octave.1599824.n4.nabble.com/cross-build-error-for-mingw-4-1-0-in-mxe-octave-tp4661409.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

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