[GRASS5] problems compiling 57

Ivan Marchesini marchesini at unipg.it
Tue Feb 10 07:12:37 EST 2004


Dear all,
compiling grass5.7 I have got some problems...
this under are the last lines of the compilation output...
can someone understand what is the problem???
thank you....

Ivan


echo "<HR>" >> g.parser.html
echo "<P><a href=index.html>Help Index</a>" >> g.parser.html
echo "</body></html>" >> g.parser.html
mkdir -p 
/usr/local/src/grass/grass51/grass57_exp_2004_02_07/dist.i686-pc-linux-gnu/docs/html
mv g.parser.html 
/usr/local/src/grass/grass51/grass57_exp_2004_02_07/dist.i686-pc-linux-gnu/docs/html
make[2]: Leaving directory 
`/usr/local/src/grass/grass51/grass57_exp_2004_02_07/general/g.parser'
g.proj
make[2]: Entering directory 
`/usr/local/src/grass/grass51/grass57_exp_2004_02_07/general/g.proj'
gcc -I/usr/local/src/grass/grass51/grass57_exp_2004_02_07/include 
-I/usr/local/src/grass/grass51/grass57_exp_2004_02_07/dist.i686-pc-linux-gnu/include 
-g -Wall  -Wall -Wconversion -Wno-implicit-int    -I/usr/include -DUSE_GDAL_H 
-I/usr/local/src/grass/grass51/grass57_exp_2004_02_07/include 
-I/usr/local/src/grass/grass51/grass57_exp_2004_02_07/dist.i686-pc-linux-gnu/include 
\
        -o OBJ.i686-pc-linux-gnu/main.o -c main.c
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
In file included from main.c:25:
/usr/local/include/ogr_api.h:118: parse error before "OGREnvelope"
/usr/local/include/ogr_api.h:120: parse error before "OGRwkbByteOrder"
/usr/local/include/ogr_api.h:124: parse error before "OGR_G_GetGeometryType"
/usr/local/include/ogr_api.h:183: parse error before "OGRFieldType"
/usr/local/include/ogr_api.h:188: parse error before "OGR_Fld_GetType"
/usr/local/include/ogr_api.h:189: parse error before "OGRFieldType"
/usr/local/include/ogr_api.h:190: parse error before "OGR_Fld_GetJustify"
/usr/local/include/ogr_api.h:191: parse error before "OGRJustification"
/usr/local/include/ogr_api.h:196: parse error before "OGRFieldType"
/usr/local/include/ogr_api.h:210: parse error before "OGR_FD_GetGeomType"
/usr/local/include/ogr_api.h:211: parse error before "OGRwkbGeometryType"
/usr/local/include/ogr_api.h:234: parse error before '*' token
/usr/local/include/ogr_api.h:249: parse error before "OGRField"
/usr/local/include/ogr_api.h:280: parse error before "OGREnvelope"
/usr/local/include/ogr_api.h:300: parse error before "OGRwkbGeometryType"
In file included from /usr/include/cpl_csv.h:46,
                 from main.c:26:
/usr/include/cpl_serv.h:149: conflicting types for `CE_None'
/usr/include/cpl_error.h:101: previous declaration of `CE_None'
/usr/include/cpl_serv.h:151: conflicting types for `CE_Warning'
/usr/include/cpl_error.h:103: previous declaration of `CE_Warning'
/usr/include/cpl_serv.h:152: conflicting types for `CE_Failure'
/usr/include/cpl_error.h:104: previous declaration of `CE_Failure'
/usr/include/cpl_serv.h:155: conflicting types for `CE_Fatal'
/usr/include/cpl_error.h:107: previous declaration of `CE_Fatal'
/usr/include/cpl_serv.h:155: redefinition of `CPLErr'
/usr/include/cpl_error.h:107: `CPLErr' previously declared here
/usr/include/cpl_serv.h:162: conflicting types for `CPLSetErrorHandler'
/usr/include/cpl_error.h:117: previous declaration of `CPLSetErrorHandler'
make[2]: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1
make[2]: Leaving directory 
`/usr/local/src/grass/grass51/grass57_exp_2004_02_07/general/g.proj'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory 
`/usr/local/src/grass/grass51/grass57_exp_2004_02_07/general'
make: *** [default] Error 1






-- 
Ivan Marchesini
University of Perugia 
Italy






More information about the grass-dev mailing list