On 2014-02-07 10:48-0000 Arjen Markus wrote:
> Hi Alan,
>
> I tried building with -DNUMBER_PARALLEL_JOBS:STRING=1 and that succeeded in
> sofar that "make" did not get stuck in an infinite loop, but now the build
> failed on some compile errors:
>
> [ 50%] Built target build_libpcre
> [ 56%] Performing build step for 'build_swig'
> In file included from c:\mingw\include\direct.h:34:0,
> from
> d:/plplot-svn/build-msys-28/epa_build/Source/build_swig/Source/Swig/misc.c:22:
> c:\mingw\include\io.h:301:1: error: unknown type name 'off64_t'
> __CRT_INLINE off64_t lseek64 (int, off64_t, int);
> ^
> c:\mingw\include\io.h:301:36: error: unknown type name 'off64_t'
> __CRT_INLINE off64_t lseek64 (int, off64_t, int);
> ^
> c:\mingw\include\io.h:302:1: error: unknown type name 'off64_t'
> __CRT_INLINE off64_t lseek64 (int fd, off64_t offset, int whence) {
> ^
> c:\mingw\include\io.h:302:39: error: unknown type name 'off64_t'
> __CRT_INLINE off64_t lseek64 (int fd, off64_t offset, int whence) {
> ^
> d:/plplot-svn/build-msys-28/epa_build/Source/build_swig/Source/Swig/misc.c:
> In function 'is_directory':
> d:/plplot-svn/build-msys-28/epa_build/Source/build_swig/Source/Swig/misc.c:151:15:
> error: storage size of 'st' isn't known
> struct stat st;
> ^
> d:/plplot-svn/build-msys-28/epa_build/Source/build_swig/Source/Swig/misc.c:156:5:
> warning: implicit declaration of function 'stat'
> [-Wimplicit-function-declaration]
> statres = stat(dir, &st);
> ^
> d:/plplot-svn/build-msys-28/epa_build/Source/build_swig/Source/Swig/misc.c:151:15:
> warning: unused variable 'st' [-Wunused-variable]
> struct stat st;
> ^
> d:/plplot-svn/build-msys-28/epa_build/Source/build_swig/Source/Swig/misc.c:162:1:
> warning: control reaches end of non-void function [-Wreturn-type]
> }
> ^
> make.exe[6]: *** [Swig/misc.o] Error 1
> make.exe[5]: *** [all] Error 2
> make.exe[4]: *** [source] Error 2
> make[3]: *** [epa_build/Stamp/build_swig/build_swig-build] Error 2
> make[2]: *** [swig/CMakeFiles/build_swig.dir/all] Error 2
> make[1]: *** [swig/CMakeFiles/build_swig.dir/rule] Error 2
> make: *** [build_swig] Error 2
>
>
> I examined these include files, but the definitions are guarded by several
> system-defined macros, so it is not easy to determine what is going wrong. If
> anyone knows how to solve these errors, please let me know.
All my successful MinGW/MSYS builds were with 32-bit Windows (i.e.,
the 32-bit version of Wine) on 64-bit hardware. Therefore, I suggest
you try epa_building the software on a 32-bit Windows system as well
(or on a 64-bit Windows system that has a method of emulating a strict
32-bit Windows system).
Really signing off for the night, this time. :-)
Alan
__________________________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________
Linux-powered Science
__________________________
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel