(Edzer; thank you
very much for your previous answer)
Now gstat compiles perfectly and the user
interfaces works, if I don't choose any options.
But, when I choose the option --with-grass,
although the process advances more (now it finds libz.a), eventually it still
fails.
I send the answer of
the linker. Perhaps anybody can put me in the way to resolve
this.
--------------------------------
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 nsearch.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 stat.o
ui.o userio.o utils.o vario.o vario_fn.o vario_io.o writecmd.o xvalid.o
-L../lib -lmeschach -lncurses -lcsf -L/
usr/local/grass5/lib -lgis -ldatetime -lz -lm utils.o: In function `temp_name': utils.o(.text+0x144f): the use of `tempnam' is dangerous, better use `mkstemp' data.o: In function `read_grass_data': data.o(.text+0x55ef): undefined reference to `G_projection' data.o(.text+0x55f8): undefined reference to `G_projection' data.o(.text+0x5602): undefined reference to `G_projection' data.o(.text+0x560f): undefined reference to `G_program_name' data.o(.text+0x561b): undefined reference to `G_program_name' data.o(.text+0x5629): undefined reference to `G_fatal_error' data.o(.text+0x5641): undefined reference to `G_find_file' data.o(.text+0x5658): undefined reference to `G_program_name' data.o(.text+0x5666): undefined reference to `G_fatal_error' data.o(.text+0x5671): undefined reference to `G_mapset' data.o(.text+0x567d): undefined reference to `G_fopen_sites_old' data.o(.text+0x5696): undefined reference to `G_program_name' data.o(.text+0x56a4): undefined reference to `G_fatal_error' data.o(.text+0x56ce): undefined reference to `G_site_describe' data.o(.text+0x56dd): undefined reference to `G_program_name' data.o(.text+0x56eb): undefined reference to `G_fatal_error' data.o(.text+0x56f1): undefined reference to `G_projection' data.o(.text+0x56fd): undefined reference to `G_program_name' data.o(.text+0x5723): undefined reference to `G_site_get_head' data.o(.text+0x5732): undefined reference to `G_site_put_head' data.o(.text+0x5780): undefined reference to `G_site_new_struct' data.o(.text+0x57b5): undefined reference to `G_get_window' data.o(.text+0x5975): undefined reference to `G_site_in_region' data.o(.text+0x5b24): undefined reference to `G_site_get' data.o(.text+0x5b97): undefined reference to `G_site_free_struct' mapio.o: In function `read_grass': mapio.o(.text+0x243d): undefined reference to `G_find_cell2' mapio.o(.text+0x2452): undefined reference to `G_program_name' mapio.o(.text+0x2460): undefined reference to `G_fatal_error' mapio.o(.text+0x246a): undefined reference to `G_raster_map_type' mapio.o(.text+0x2477): undefined reference to `G_open_cell_old' mapio.o(.text+0x2497): undefined reference to `G_allocate_raster_buf' mapio.o(.text+0x24a5): undefined reference to `G_get_window' mapio.o(.text+0x2522): undefined reference to `G_projection' mapio.o(.text+0x252c): undefined reference to `G_open_cell_old' mapio.o(.text+0x256d): undefined reference to `G_get_raster_row' mapio.o(.text+0x2598): undefined reference to `G_is_null_value' mapio.o(.text+0x25d7): undefined reference to `G_raster_size' mapio.o(.text+0x25e1): undefined reference to `G_incr_void_ptr' mapio.o(.text+0x2605): undefined reference to `G_close_cell' mapio.o: In function `write_grass': mapio.o(.text+0x268a): undefined reference to `G_zone' mapio.o(.text+0x2692): undefined reference to `G_projection' mapio.o(.text+0x26f2): undefined reference to `G_adjust_Cell_head' mapio.o(.text+0x2701): undefined reference to `G_program_name' mapio.o(.text+0x270f): undefined reference to `G_fatal_error' mapio.o(.text+0x272d): undefined reference to `G_set_window' mapio.o(.text+0x2743): undefined reference to `G_window_rows' mapio.o(.text+0x2750): undefined reference to `G_window_rows' mapio.o(.text+0x2759): undefined reference to `G_program_name' mapio.o(.text+0x276d): undefined reference to `G_fatal_error' mapio.o(.text+0x2772): undefined reference to `G_window_cols' mapio.o(.text+0x277f): undefined reference to `G_window_cols' mapio.o(.text+0x2788): undefined reference to `G_program_name' mapio.o(.text+0x279c): undefined reference to `G_fatal_error' mapio.o(.text+0x27b8): undefined reference to `G_allocate_c_raster_buf' mapio.o(.text+0x27c5): undefined reference to `G_allocate_f_raster_buf' mapio.o(.text+0x27d2): undefined reference to `G_allocate_d_raster_buf' mapio.o(.text+0x27e4): undefined reference to `G_open_raster_new' mapio.o(.text+0x27fc): undefined reference to `G_program_name' mapio.o(.text+0x280a): undefined reference to `G_fatal_error' mapio.o(.text+0x2842): undefined reference to `G_percent' mapio.o(.text+0x28b0): undefined reference to `G_set_c_null_value' mapio.o(.text+0x28d0): undefined reference to `G_set_f_null_value' mapio.o(.text+0x28f0): undefined reference to `G_set_d_null_value' mapio.o(.text+0x299d): undefined reference to `G_put_c_raster_row' mapio.o(.text+0x29b0): undefined reference to `G_put_f_raster_row' mapio.o(.text+0x29c3): undefined reference to `G_put_d_raster_row' mapio.o(.text+0x29ff): undefined reference to `G_close_cell' mapio.o(.text+0x2a16): undefined reference to `G_put_cell_title' report.o: In function `write_points': report.o(.text+0xff1): undefined reference to `G_sites_open_new' report.o(.text+0x1005): undefined reference to `G_program_name' report.o(.text+0x1013): undefined reference to `G_fatal_error' report.o(.text+0x1025): undefined reference to `G_site_new_struct' report.o(.text+0x1073): undefined reference to `G_site_free_struct' report.o(.text+0x11b3): undefined reference to `G_site_put' utils.o: In function `grass': utils.o(.text+0x1421): undefined reference to `G_gisinit' collect2: ld returned 1 exit status make[1]: *** [gstat] Error 1 make[1]: Leaving directory `/usr/local/geoestadistica/Gstat/gstat-2.3.5/src' make: *** [src/gstat] Error 2 -----------------------------------------------------
regards;
Javier García
|
- problems with compilation Javier
- Re: problems with compilation Edzer J. Pebesma
- Re: problems with compilation Javier
- Re: problems with compilation Kor de Jong
- Re: problems with compilation Edzer J. Pebesma
- Re: problems with compilation Edzer J. Pebesma