[STATSGRASS] GSTAT 2.4.5 compile problem with GRASS 6

S. Koukoulas skouk at geo.aegean.gr
Mon Jun 20 11:04:41 EDT 2005


I get an error when I am trying to compile GSTAT 2.4.5 with the grass 
option. Any solutions?
Many thanks in advance
Sotiris 


gcc -o gstat block.o data.o direct.o fig.o fit.o getest.o gls.o glvars.o 
gstat.o lex.o lm.o map2fig.o map2gd.o mapio.o maputils.o msim.o nsear
ch.o ossfim.o palet.o parse.o plot.o polygon.o pqueue.o predict.o 
random.o read.o reml.o report.o sample.o select.o sem.o sem_main.o sim.o sta
t.o ui.o userio.o utils.o vario.o vario_fn.o vario_io.o writecmd.o 
xvalid.o  -L../lib  -lmeschach -lnetcdf  -lncurses -lgd -lpng -lz -lgdal -L
 /usr/local/grass-6.0.0beta2/lib -lgrass_gis -lgrass_datetime 
-lgrass_sites -lz -lm
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
warning: libgrass_dbmiclient.so, needed by /usr/local/grass-6.0.0be
ta2/lib/libgrass_sites.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
warning: libgrass_dbmibase.so, needed by /usr/local/grass-6.0.0beta
2/lib/libgrass_sites.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
warning: libgrass_vect.so, needed by /usr/local/grass-6.0.0beta2/li
b/libgrass_sites.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
warning: libgrass_dig2.so, needed by /usr/local/grass-6.0.0beta2/li
b/libgrass_sites.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
warning: libgrass_dgl.so, needed by /usr/local/grass-6.0.0beta2/lib
/libgrass_sites.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
warning: libgrass_rtree.so, needed by /usr/local/grass-6.0.0beta2/l
ib/libgrass_sites.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
warning: libgrass_linkm.so, needed by /usr/local/grass-6.0.0beta2/l
ib/libgrass_sites.so, not found (try using -rpath or -rpath-link)
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_reset_line'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_get_num_rows'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_set_open_level'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_get_field'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_is_3d'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_set_map_name'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_init_string'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_get_column_sqltype'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_open_old'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_open_select_cursor'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_new_cats_struct'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_get_name'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_start_driver_open_database'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_get_date'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_write_line'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_close'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_get_value_double'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_sqltype_to_Ctype'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_close_database_shutdown_driver'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_get_value_string'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_get_column_value'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_append_string'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_cat_get'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_read_next_line'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_get_column_name'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_get_value_int'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_append_point'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_set_date'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_set_comment'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_get_table_column'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_cat_set'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_fetch'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_get_table_number_of_columns'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_set_string'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `db_get_cursor_table'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_reset_cats'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_get_comment'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_new_line_struct'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_build'
/usr/local/grass-6.0.0beta2/lib/libgrass_sites.so: undefined reference 
to `Vect_open_new'
collect2: ld returned 1 exit status
make[1]: *** [gstat] Error 1
make[1]: Leaving directory `/local/phome/Installs/gstat-2.4.5/src'
make: *** [src/gstat] Error 2




More information about the grass-stats mailing list