[GRASSLIST:7910] grass-6.0.1RC2 compilation

jun liang liangj at email.unc.edu
Mon Aug 15 15:23:46 EDT 2005


I was trying to compile grass-6.0.1RC2 and had the following error log. 
The "./configure " worked before that.
I guess the problem is due to some libraries' path setting. I am fairly 
new to grass and any help will be appreciated. Thanks.

------------------------------------------------------------------------------------------------------------------------------------------------

ubehebe:</scratch/grass6/grass-6.0.1RC2> make

mkdir -p /scratch/grass6/grass-6.0.1RC2/bin.sparc-sun-solaris2.9

mkdir -p 
/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass

mkdir -p /scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/lib

mkdir -p /scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/bin

mkdir -p /scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/etc

mkdir -p /scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/driver

mkdir -p /scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/driver/db

mkdir -p /scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/fonts

make[1]: Entering directory `/scratch/grass6/grass-6.0.1RC2/lib'

if [ ! -d 
/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include ]; then 
mkdir -p 
/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include; fi

if [ ! -d 
/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/vect ]; 
then mkdir -p 
/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/vect; fi

/afs/isis/depts/geog/pkg/ipw-1.0/etc/install -c  -m 644 ../include/*.h 
/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/

 

install -- install commands, libraries, etc.

 

Usage: install [-c] [-m mode] [-o owner] [-g group] [-s] file destination

 

make[1]: *** [headers] Error 1

make[1]: Leaving directory `/scratch/grass6/grass-6.0.1RC2/lib'

make[1]: Entering directory `/scratch/grass6/grass-6.0.1RC2/db'

drivers

make[2]: Entering directory `/scratch/grass6/grass-6.0.1RC2/db/drivers'

dbf

make[3]: Entering directory `/scratch/grass6/grass-6.0.1RC2/db/drivers/dbf'

gcc -I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass  
-g -O2  -Wall -Wconversion -Wno-implicit-int       
-DPACKAGE=\""grassmods"\" 
-I/scratch/grass6/grass-6.0.1RC2/lib/db/dbmi_driver 
-I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass \

        -o OBJ.sparc-sun-solaris2.9/column.o -c column.c

gcc -I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass  
-g -O2  -Wall -Wconversion -Wno-implicit-int       
-DPACKAGE=\""grassmods"\" 
-I/scratch/grass6/grass-6.0.1RC2/lib/db/dbmi_driver 
-I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass \

        -o OBJ.sparc-sun-solaris2.9/cursor.o -c cursor.c

gcc -I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass  
-g -O2  -Wall -Wconversion -Wno-implicit-int       
-DPACKAGE=\""grassmods"\" 
-I/scratch/grass6/grass-6.0.1RC2/lib/db/dbmi_driver 
-I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass \

        -o OBJ.sparc-sun-solaris2.9/db.o -c db.c

db.c: In function `db__driver_open_database':

db.c:67: warning: passing arg 2 of `G_strchg' with different width due 
to prototype

db.c:67: warning: passing arg 3 of `G_strchg' with different width due 
to prototype

gcc -I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass  
-g -O2  -Wall -Wconversion -Wno-implicit-int       
-DPACKAGE=\""grassmods"\" 
-I/scratch/grass6/grass-6.0.1RC2/lib/db/dbmi_driver 
-I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass \

        -o OBJ.sparc-sun-solaris2.9/dbfexe.o -c dbfexe.c

dbfexe.c:22:22: shapefil.h: No such file or directory

dbfexe.c: In function `execute':

dbfexe.c:56: warning: passing arg 1 of `G_malloc' as signed due to prototype

dbfexe.c:207: warning: passing arg 1 of `calloc' as unsigned due to 
prototype

dbfexe.c: In function `sel':

dbfexe.c:474: warning: passing arg 2 of `qsort' as unsigned due to prototype

dbfexe.c: In function `eval_node':

dbfexe.c:496: warning: 'left' might be used uninitialized in this function

dbfexe.c:496: warning: 'right' might be used uninitialized in this function

dbfexe.c:501: warning: 'left_dval' might be used uninitialized in this 
function

dbfexe.c:501: warning: 'right_dval' might be used uninitialized in this 
function

dbfexe.c:501: warning: 'dval' might be used uninitialized in this function

dbfexe.c: In function `eval_node_type':

dbfexe.c:808: warning: 'left' might be used uninitialized in this function

dbfexe.c:808: warning: 'right' might be used uninitialized in this function

dbfexe.c: In function `execute':

dbfexe.c:47: warning: 'cols' might be used uninitialized in this function

make[3]: *** [OBJ.sparc-sun-solaris2.9/dbfexe.o] Error 1

make[3]: Leaving directory `/scratch/grass6/grass-6.0.1RC2/db/drivers/dbf'

ogr

make[3]: Entering directory `/scratch/grass6/grass-6.0.1RC2/db/drivers/ogr'

gcc -I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass  
-g -O2  -Wall -Wconversion -Wno-implicit-int   
-I/afs/isis/depts/geog/pkg/gdal/include 
-I/afs/isis/depts/geog/pkg/tcltk/include 
-I/afs/isis/depts/geog/pkg/tcltk/include    -DPACKAGE=\""grassmods"\" 
-I/scratch/grass6/grass-6.0.1RC2/lib/db/dbmi_driver 
-I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass \

        -o OBJ.sparc-sun-solaris2.9/cursor.o -c cursor.c

gcc -I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass  
-g -O2  -Wall -Wconversion -Wno-implicit-int   
-I/afs/isis/depts/geog/pkg/gdal/include 
-I/afs/isis/depts/geog/pkg/tcltk/include 
-I/afs/isis/depts/geog/pkg/tcltk/include    -DPACKAGE=\""grassmods"\" 
-I/scratch/grass6/grass-6.0.1RC2/lib/db/dbmi_driver 
-I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass \

        -o OBJ.sparc-sun-solaris2.9/db.o -c db.c

gcc -I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass  
-g -O2  -Wall -Wconversion -Wno-implicit-int   
-I/afs/isis/depts/geog/pkg/gdal/include 
-I/afs/isis/depts/geog/pkg/tcltk/include 
-I/afs/isis/depts/geog/pkg/tcltk/include    -DPACKAGE=\""grassmods"\" 
-I/scratch/grass6/grass-6.0.1RC2/lib/db/dbmi_driver 
-I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass \

        -o OBJ.sparc-sun-solaris2.9/describe.o -c describe.c

describe.c: In function `describe_table':

describe.c:79: warning: passing arg 1 of `G_malloc' as signed due to 
prototype

describe.c:85: warning: assignment discards qualifiers from pointer 
target type

describe.c:123: warning: assignment discards qualifiers from pointer 
target type

describe.c:116: warning: 'sqlType' might be used uninitialized in this 
function

describe.c:117: warning: 'size' might be used uninitialized in this function

describe.c:117: warning: 'precision' might be used uninitialized in this 
function

gcc -I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass  
-g -O2  -Wall -Wconversion -Wno-implicit-int   
-I/afs/isis/depts/geog/pkg/gdal/include 
-I/afs/isis/depts/geog/pkg/tcltk/include 
-I/afs/isis/depts/geog/pkg/tcltk/include    -DPACKAGE=\""grassmods"\" 
-I/scratch/grass6/grass-6.0.1RC2/lib/db/dbmi_driver 
-I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass \

        -o OBJ.sparc-sun-solaris2.9/driver.o -c driver.c

gcc -I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass  
-g -O2  -Wall -Wconversion -Wno-implicit-int   
-I/afs/isis/depts/geog/pkg/gdal/include 
-I/afs/isis/depts/geog/pkg/tcltk/include 
-I/afs/isis/depts/geog/pkg/tcltk/include    -DPACKAGE=\""grassmods"\" 
-I/scratch/grass6/grass-6.0.1RC2/lib/db/dbmi_driver 
-I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass \

        -o OBJ.sparc-sun-solaris2.9/error.o -c error.c

error.c: In function `append_error':

error.c:49: warning: passing arg 1 of `calloc' as unsigned due to prototype

error.c:51: warning: passing arg 3 of `fread' as unsigned due to prototype

gcc -I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass  
-g -O2  -Wall -Wconversion -Wno-implicit-int   
-I/afs/isis/depts/geog/pkg/gdal/include 
-I/afs/isis/depts/geog/pkg/tcltk/include 
-I/afs/isis/depts/geog/pkg/tcltk/include    -DPACKAGE=\""grassmods"\" 
-I/scratch/grass6/grass-6.0.1RC2/lib/db/dbmi_driver 
-I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass \

        -o OBJ.sparc-sun-solaris2.9/fetch.o -c fetch.c

gcc -I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass  
-g -O2  -Wall -Wconversion -Wno-implicit-int   
-I/afs/isis/depts/geog/pkg/gdal/include 
-I/afs/isis/depts/geog/pkg/tcltk/include 
-I/afs/isis/depts/geog/pkg/tcltk/include    -DPACKAGE=\""grassmods"\" 
-I/scratch/grass6/grass-6.0.1RC2/lib/db/dbmi_driver 
-I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass \

        -o OBJ.sparc-sun-solaris2.9/listtab.o -c listtab.c

gcc -I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass  
-g -O2  -Wall -Wconversion -Wno-implicit-int   
-I/afs/isis/depts/geog/pkg/gdal/include 
-I/afs/isis/depts/geog/pkg/tcltk/include 
-I/afs/isis/depts/geog/pkg/tcltk/include    -DPACKAGE=\""grassmods"\" 
-I/scratch/grass6/grass-6.0.1RC2/lib/db/dbmi_driver 
-I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass \

        -o OBJ.sparc-sun-solaris2.9/main.o -c main.c

gcc -I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass  
-g -O2  -Wall -Wconversion -Wno-implicit-int   
-I/afs/isis/depts/geog/pkg/gdal/include 
-I/afs/isis/depts/geog/pkg/tcltk/include 
-I/afs/isis/depts/geog/pkg/tcltk/include    -DPACKAGE=\""grassmods"\" 
-I/scratch/grass6/grass-6.0.1RC2/lib/db/dbmi_driver 
-I/scratch/grass6/grass-6.0.1RC2/include 
-I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass \

        -o OBJ.sparc-sun-solaris2.9/select.o -c select.c

gcc  -L/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/lib   -o 
/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/driver/db/ogr 
OBJ.sparc-sun-solaris2.9/cursor.o OBJ.sparc-sun-solaris2.9/db.o 
OBJ.sparc-sun-solaris2.9/describe.o OBJ.sparc-sun-solaris2.9/driver.o 
OBJ.sparc-sun-solaris2.9/error.o OBJ.sparc-sun-solaris2.9/fetch.o 
OBJ.sparc-sun-solaris2.9/listtab.o OBJ.sparc-sun-solaris2.9/main.o 
OBJ.sparc-sun-solaris2.9/select.o  -lgrass_dbmidriver -lgrass_dbmibase  
-lgrass_sqlp -lgrass_dbstubs -lgrass_gis -lgrass_datetime -lnsl    -lz  
-lsocket  -lgrass_datetime 
/afs/isis/depts/geog/pkg/gdal/lib/ogrsf_frmts.a 
/afs/isis/depts/geog/pkg/gdal/lib/gdal.a 
/afs/isis/depts/geog/pkg/gdal/lib/ogr.a 
/afs/isis/depts/geog/pkg/gdal/lib/gdal.a 
/afs/isis/depts/geog/pkg/gdal/lib/cpl.a -lz -lm -ldl -L/usr/local/lib 
-lm -lstdc++ -L/afs/isis/depts/geog/pkg/tcltk/lib -ltk8.3 -lm  -ltcl8.3 
-lm \

        -lm  -lnsl    -lz

ld: fatal: library -lgrass_dbmidriver: not found

ld: fatal: library -lgrass_dbmibase: not found

ld: fatal: library -lgrass_sqlp: not found

ld: fatal: library -lgrass_dbstubs: not found

ld: fatal: library -lgrass_gis: not found

ld: fatal: library -lgrass_datetime: not found

ld: fatal: library -lgrass_datetime: not found

ld: fatal: File processing errors. No output written to 
/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/driver/db/ogr

collect2: ld returned 1 exit status





More information about the grass-user mailing list