[GRASS-dev] correction: d.thematic.area doesn't compile

Michael Barton michael.barton at asu.edu
Tue Aug 26 01:24:04 EDT 2008


It turns out that while arraystats compiles, d.thematic.area and  
v.class have stopped compiling in develbranch_6. Here is the  
successful compile of arraystats and the errors with d.thematic.area  
and v.class


cmb-MBP-2:grass6_src cmbarton$ cd ./lib/arraystats
cmb-MBP-2:arraystats cmbarton$ make
cc -dynamiclib -compatibility_version 6.4 -current_version 6.4 - 
install_name /Applications/GRASS/GRASS-6.4.app/Contents/MacOS/lib/ 
libgrass_arraystats.dylib -o /Users/cmbarton/grass_dev/grass6_src/ 
dist.i386-apple-darwin9.4.0/lib/libgrass_arraystats.6.4.svn.dylib -L/ 
Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/lib - 
arch i386 -Os -g -arch i386 -Os -g     OBJ.i386-apple-darwin9.4.0/ 
basic.o OBJ.i386-apple-darwin9.4.0/class.o -lgrass_gis - 
lgrass_datetime -lz     && \
	(cd /Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/ 
lib; ln -f -s libgrass_arraystats.6.4.svn.dylib /Users/cmbarton/ 
grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/lib/ 
libgrass_arraystats.dylib)

cmb-MBP-2:lib cmbarton$ cd /Users/cmbarton/grass_dev/grass6_src/ 
display/d.thematic.area
cmb-MBP-2:d.thematic.area cmbarton$ make
gcc -I/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/ 
include  -arch i386 -Os -g    -I/Library/Frameworks/GDAL.framework/ 
Versions/1.5/Headers    -DPACKAGE=\""grassmods"\"  -I/Users/cmbarton/ 
grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/include -o OBJ.i386- 
apple-darwin9.4.0/main.o -c main.c
main.c: In function ‘main’:
main.c:133: error: ‘G_OPT_DB_WHERE’ undeclared (first use in this  
function)
main.c:133: error: (Each undeclared identifier is reported only once
main.c:133: error: for each function it appears in.)
make: *** [OBJ.i386-apple-darwin9.4.0/main.o] Error 1


cmb-MBP-2:d.thematic.area cmbarton$ cd /Users/cmbarton/grass_dev/ 
grass6_src/vector/v.class
cmb-MBP-2:v.class cmbarton$ make
gcc -I/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/ 
include  -arch i386 -Os -g    -I/Library/Frameworks/GDAL.framework/ 
Versions/1.5/Headers    -DPACKAGE=\""grassmods"\"  -I/Users/cmbarton/ 
grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/include -o OBJ.i386- 
apple-darwin9.4.0/main.o -c main.c
main.c: In function ‘main’:
main.c:60: error: ‘G_OPT_DB_WHERE’ undeclared (first use in this  
function)
main.c:60: error: (Each undeclared identifier is reported only once
main.c:60: error: for each function it appears in.)
make: *** [OBJ.i386-apple-darwin9.4.0/main.o] Error 1
cmb-MBP-2:v.class cmbarton$

Michael


More information about the grass-dev mailing list