[GRASSLIST:4428] error during command make in grass57

pierluigi de rosa sisma66 at tiscali.it
Wed Sep 29 10:19:49 EDT 2004


Dear GRASS User.
I'm tring to install grass57 from source code by file grass-5.7.0.tar.gz....
the configure seems it's OK so then I run a "make" command, but during compiling I have an error...
below there are my last rows before the error!!


proj
make[2]: Entering directory `/home/pierluigi/sorgenti/grass-5.7.0/lib/proj'
gcc -I/home/pierluigi/sorgenti/grass-5.7.0/include -I/home/pierluigi/sorgenti/grass-5.7.0/dist.i686-pc-linux-gnu/include -g -O2  -Wall -Wconversion -Wno-implicit-int   -fPIC    -I/include -DUSE_GDAL_H -DPACKAGE=\""libgproj"\" -I/include -DUSE_GDAL_H -I/home/pierluigi/sorgenti/grass-5.7.0/include -I/home/pierluigi/sorgenti/grass-5.7.0/dist.i686-pc-linux-gnu/include \
        -o OBJ.i686-pc-linux-gnu/get_proj.o -c get_proj.c
In file included from get_proj.c:25:
/home/pierluigi/sorgenti/grass-5.7.0/include/gprojects.h:22:29: ogr_srs_api.h: No such file or directory
In file included from get_proj.c:25:
/home/pierluigi/sorgenti/grass-5.7.0/include/gprojects.h:65: error: syntax error before '*' token
/home/pierluigi/sorgenti/grass-5.7.0/include/gprojects.h:66: warning: data definition has no type or storage class
/home/pierluigi/sorgenti/grass-5.7.0/include/gprojects.h:70: error: syntax error before "OGRSpatialReferenceH"
get_proj.c: In function `pj_get_kv':
get_proj.c:73: warning: unused variable `dstruct'
get_proj.c: In function `alloc_options':
get_proj.c:251: warning: passing arg 1 of `malloc' as unsigned due to prototype
get_proj.c: In function `pj_get_string':
get_proj.c:277: warning: passing arg 1 of `malloc' as unsigned due to prototype
get_proj.c:287: warning: suggest parentheses around assignment used as truth value
get_proj.c:295: warning: suggest parentheses around assignment used as truth value
get_proj.c:317: warning: passing arg 1 of `malloc' as unsigned due to prototype
make[2]: *** [OBJ.i686-pc-linux-gnu/get_proj.o] Error 1
make[2]: Leaving directory `/home/pierluigi/sorgenti/grass-5.7.0/lib/proj'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/pierluigi/sorgenti/grass-5.7.0/lib'
make: *** [default] Error 1

P.S. I noticed that I have the same error also if I use  grass57src_cvs_snapshot_exp_2004_09_18.tar.gz (the CVS)...

It' seems the error appears whenever it try to compile "proj"

Thanks
Pierluigi


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20040929/c1c7be5e/attachment.html


More information about the grass-user mailing list