Jeff McKenna
2016-11-29 21:27:50 UTC
Hello all,
Disclaimer: I build regularly with Visual Studio, not MinGW/MSYS, so go
easy on me ha.
I am trying to compile SWIG 3.0.10, and have followed the steps in
/doc/manual/windows.html (including running Tools/pcre-build.sh).
However the compile stops on an error (and I actually don't see the
exact error message in the output?). A snippet of the output is below,
or you can see the whole build output at: http://pastebin.com/5zMHi8uW
---
Swig/misc.c: In function `is_directory':
Swig/misc.c:151: storage size of `st' isn't known
Swig/misc.c:156: warning: implicit declaration of function `stat'
Swig/misc.c:161: `S_IFDIR' undeclared (first use in this function)
Swig/misc.c:161: (Each undeclared identifier is reported only once
Swig/misc.c:161: for each function it appears in.)
Swig/misc.c:151: warning: unused variable `st'
Swig/misc.c: In function `Swig_new_subdirectory':
Swig/misc.c:185: warning: implicit declaration of function `_mkdir'
make[2]: *** [Swig/misc.o] Error 1
make[2]: Leaving directory `/src/swig-git-3.0.10/Source'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/src/swig-git-3.0.10/Source'
make: *** [source] Error 2
---
I have tried compiling with master, rel-2.0.12 also....same error. Can
anyone see what I am doing wrong? (or an error message that gives a hint?)
Thanks :)
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
------------------------------------------------------------------------------
Disclaimer: I build regularly with Visual Studio, not MinGW/MSYS, so go
easy on me ha.
I am trying to compile SWIG 3.0.10, and have followed the steps in
/doc/manual/windows.html (including running Tools/pcre-build.sh).
However the compile stops on an error (and I actually don't see the
exact error message in the output?). A snippet of the output is below,
or you can see the whole build output at: http://pastebin.com/5zMHi8uW
---
Swig/misc.c: In function `is_directory':
Swig/misc.c:151: storage size of `st' isn't known
Swig/misc.c:156: warning: implicit declaration of function `stat'
Swig/misc.c:161: `S_IFDIR' undeclared (first use in this function)
Swig/misc.c:161: (Each undeclared identifier is reported only once
Swig/misc.c:161: for each function it appears in.)
Swig/misc.c:151: warning: unused variable `st'
Swig/misc.c: In function `Swig_new_subdirectory':
Swig/misc.c:185: warning: implicit declaration of function `_mkdir'
make[2]: *** [Swig/misc.o] Error 1
make[2]: Leaving directory `/src/swig-git-3.0.10/Source'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/src/swig-git-3.0.10/Source'
make: *** [source] Error 2
---
I have tried compiling with master, rel-2.0.12 also....same error. Can
anyone see what I am doing wrong? (or an error message that gives a hint?)
Thanks :)
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
------------------------------------------------------------------------------