[GRASS5] [bug #3169] (grass) fails to build

Request Tracker grass-bugs at intevation.de
Wed Apr 20 07:35:16 EDT 2005


this bug's URL: http://intevation.de/rt/webrt?serial_num=3169
-------------------------------------------------------------------------

Subject: fails to build

Platform: Solaris2.X/Sparc
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 3.3.2

after a successful configure:
# CFLAGS="-g -Wall" ./configure --prefix=/opt/programs/grass-6.0.0/ 
--with-gdal=/opt/programs/gdal-1.2.6/bin/gdal-config --with-proj-includes=/opt/programs/proj-4.4.9/include/  \
 --with-proj-libs=/opt/programs/proj-4.4.9/lib/ --with-jpeg-includes=/opt/programs/jpeg-6b/include/   \
--with-png-includes=/opt/programs/libpng-1.2.5/include/ --with-tiff-includes=/opt/programs/tiff-v3.6.0/include/  \
--without-postgres --without-fftw \
 --with-tcltk-includes=”/opt/programs/tcl-8.4.1_shared/include/  /opt/programs/tk-8.4.1/include/ “  \
--with-tcltk-libs=”/opt/programs/tcl-8.4.1_shared/lib  /opt/programs/tk-8.4.1/lib”

grass-6.0.0 fails to compile in the $(GRASS_HOME)/lib/vector/Vlib directory with the following error:
graph.c:24: error: parse error before '*' token
graph.c: In function `clipper':
graph.c:34: Warnung: implicit declaration of function `dglNodeGet_Id'
graph.c:34: error: `pgraph' undeclared (first use in this function)
graph.c:34: error: (Each undeclared identifier is reported only once
graph.c:34: error: for each function it appears in.)
graph.c:34: error: `pargIn' undeclared (first use in this function)
graph.c:37: Warnung: implicit declaration of function `dglEdgeGet_Id'
graph.c:39: error: `pargOut' undeclared (first use in this function)
graph.c:42: Warnung: implicit declaration of function `dglGet_NodeAttrSize'
graph.c:43: Warnung: implicit declaration of function `dglNodeGet_Attr'
graph.c:43: Warnung: passing arg 2 of `memcpy' makes pointer from integer without a cast
graph.c: At top level:
graph.c:68: error: parse error before '*' token
graph.c: In function `Vect_graph_init':
graph.c:69: error: number of arguments doesn't match prototype
/opt/programs/src/grass-6.0.0/grass-6.0.0/include/Vect.h:278: error: prototype declaration
graph.c:74: error: `nodes_costs' undeclared (first use in this function)
graph.c:74: Warnung: implicit declaration of function `dglInitialize'
graph.c:74: error: `graph' undeclared (first use in this function)
graph.c: At top level:
graph.c:87: error: parse error before '*' token
graph.c: In function `Vect_graph_build':
graph.c:88: error: number of arguments doesn't match prototype
/opt/programs/src/grass-6.0.0/grass-6.0.0/include/Vect.h:279: error: prototype declaration
graph.c:93: Warnung: implicit declaration of function `dglFlatten'
graph.c:93: error: `graph' undeclared (first use in this function)
graph.c: At top level:
graph.c:109: error: parse error before '*' token
graph.c: In function `Vect_graph_add_edge':
graph.c:110: error: number of arguments doesn't match prototype
/opt/programs/src/grass-6.0.0/grass-6.0.0/include/Vect.h:280: error: prototype declaration
graph.c:114: error: `from' undeclared (first use in this function)
graph.c:114: error: `to' undeclared (first use in this function)
graph.c:114: error: `costs' undeclared (first use in this function)
graph.c:114: error: `id' undeclared (first use in this function)
graph.c:118: Warnung: implicit declaration of function `dglAddEdge'
graph.c:118: error: `graph' undeclared (first use in this function)
graph.c: At top level:
graph.c:132: error: parse error before '*' token
graph.c: In function `Vect_graph_set_node_costs':
graph.c:133: error: number of arguments doesn't match prototype
/opt/programs/src/grass-6.0.0/grass-6.0.0/include/Vect.h:281: error: prototype declaration
graph.c:139: error: `costs' undeclared (first use in this function)
graph.c:141: Warnung: implicit declaration of function `dglNodeSet_Attr'
graph.c:141: error: `graph' undeclared (first use in this function)
graph.c:141: Warnung: implicit declaration of function `dglGetNode'
graph.c:141: error: `node' undeclared (first use in this function)
graph.c: At top level:
graph.c:158: error: parse error before '*' token
graph.c: In function `Vect_graph_shortest_path':
graph.c:159: error: number of arguments doesn't match prototype
/opt/programs/src/grass-6.0.0/grass-6.0.0/include/Vect.h:282: error: prototype declaration
graph.c:161: error: `dglSPReport_s' undeclared (first use in this function)
graph.c:161: error: `pSPReport' undeclared (first use in this function)
graph.c:164: error: `from' undeclared (first use in this function)
graph.c:164: error: `to' undeclared (first use in this function)
graph.c:169: error: `List' undeclared (first use in this function)
graph.c:173: error: `cost' undeclared (first use in this function)
graph.c:181: Warnung: implicit declaration of function `dglShortestPath'
graph.c:181: error: `graph' undeclared (first use in this function)
graph.c:183: Warnung: implicit declaration of function `dglShortestDistance'
graph.c:192: Warnung: implicit declaration of function `dglStrerror'
graph.c:192: Warnung: format argument is not a pointer (arg 3)
graph.c:203: Warnung: implicit declaration of function `dglEdgeGet_Cost'
graph.c:219: Warnung: implicit declaration of function `dglFreeSPReport'
make: *** [OBJ.sparc-sun-solaris2.8/graph.o] Error 1





-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list