[winGRASS] Building LIBGIS (GRASS60beta1) under MINGW

Javier A. Yebrin javier.yebrin at ing.unitn.it
Fri Jan 21 04:54:16 EST 2005


Hi list,
 
I'm trying to compile the GIS library of GRASS60beta1 under MINGW. After
struggling a few days with the configure, I've managed to run MAKE in the
lib/gis folder.
Sadly, an error occurs while building spawn.c: 
 
****************************************************************************
*************************************
~/grass600beta1/lib/gis
$ make
gcc -I/home/javier/grass600beta1/include
-I/home/javier/grass600beta1/dist.i686-pc-mingw32/include/grass  -g -O2
-D__W98__ -Wall -Wconversion -Wno-implicit-int
-DPACKAGE=\""grasslibs"\"     -DPACKAGE=\""grasslibs"\"
-I/home/javier/grass600beta1/include
-I/home/javier/grass600beta1/dist.i686-pc-mingw32/include/grass \
        -o OBJ.i686-pc-mingw32/spawn.o -c spawn.c
spawn.c:16:22: sys/wait.h: No such file or directory
spawn.c: In function `G_spawn':
[...]
****************************************************************************
****************************************
 
As you can see, the problem is with the wait.h header, which is not present
in MINGW. One of the declarations that spawn.c needs is "sigaction", for
example. 
I wonder if there is a replacement for this using only the headers shiped
with MINGW?
Any idea will be greatly appreciated.
 
Thanks in advance..
Javier
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-windows/attachments/20050121/4a116c08/attachment.html


More information about the grass-windows mailing list