[GRASSLIST:8007] Re: grass-6.0.1RC2 compilation
Markus Neteler
neteler at itc.it
Sun Aug 21 11:26:29 EDT 2005
Jun Liang,
I have updated the 'ln' command in both 6.0.1-CVS and 6.1-CVS.
Unfortunately I don't know how to fix the zlib relocation error below.
Maybe someone else on the lists can help?
Markus
On Fri, Aug 19, 2005 at 11:59:52AM -0400, jun liang wrote:
> Markus,
> Yes, it worked. "libgrass_datetime" does not bother me anymore.
> I will put everything together after i finish grass-6.01RC2 for sun-solaris2.9.
> Now my compilation has a few warnings then a fatal:
> ----------------------------------------------------------------------------------------------------------------------------------
> cc -I/scratch/grass6/grass-6.0.1RC2/include -I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass -g -KPIC
> -DPACKAGE=\""grasslibs"\" -DPACKAGE=\""grasslibs"\" -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/ask.o -c ask.c
> "ask.c", line 210: warning: no explicit type given for parameter: warn
> "ask.c", line 221: warning: no explicit type given for parameter: warn
> "ask.c", line 489: warning: implicit function declaration: access
> "ask.c", line 625: warning: statement not reached
> ...
> ...
> ...
> /usr/ccs/bin/ld -G -z text -o /scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/lib/libgrass_gis.6.0.1RC2.so
> -L/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/lib OBJ.sparc-sun-solaris2.9/adj_cellhd.o OBJ.sparc-sun-solaris2.9/align_window.o
> OBJ.sparc-sun-solaris2.9/alloc.o OBJ.sparc-sun-solaris2.9/alloc_cell.o OBJ.sparc-sun-solaris2.9/area.o OBJ.sparc-sun-solaris2.9/area_ellipse.o
> OBJ.sparc-sun-solaris2.9/area_sphere.o OBJ.sparc-sun-solaris2.9/area_poly1.o OBJ.sparc-sun-solaris2.9/area_poly2.o OBJ.sparc-sun-solaris2.9/ascii_chk.o
> OBJ.sparc-sun-solaris2.9/ask.o OBJ.sparc-sun-solaris2.9/ask_cell.o OBJ.sparc-sun-solaris2.9/ask_vctrs.o OBJ.sparc-sun-solaris2.9/asprintf.o
> OBJ.sparc-sun-solaris2.9/auto_mask.o OBJ.sparc-sun-solaris2.9/bres_line.o OBJ.sparc-sun-solaris2.9/cats.o OBJ.sparc-sun-solaris2.9/cell_stats.o
> OBJ.sparc-sun-solaris2.9/cellstats_eq.o OBJ.sparc-sun-solaris2.9/cell_title.o OBJ.sparc-sun-solaris2.9/chop.o OBJ.sparc-sun-solaris2.9/clear_scrn.o
> OBJ.sparc-sun-solaris2.9/clicker.o OBJ.sparc-sun-solaris2.9/closecell.o OBJ.sparc-sun-solaris2.9/color_asp.o OBJ.sparc-sun-solaris2.9/color_byg.o
> OBJ.sparc-sun-solaris2.9/color_byr.o OBJ.sparc-sun-solaris2.9/color_free.o OBJ.sparc-sun-solaris2.9/color_get.o OBJ.sparc-sun-solaris2.9/color_grey.o
> OBJ.sparc-sun-solaris2.9/color_gyr.o OBJ.sparc-sun-solaris2.9/color_hist.o OBJ.sparc-sun-solaris2.9/color_init.o OBJ.sparc-sun-solaris2.9/color_insrt.o
> OBJ.sparc-sun-solaris2.9/color_invrt.o OBJ.sparc-sun-solaris2.9/color_look.o OBJ.sparc-sun-solaris2.9/color_org.o OBJ.sparc-sun-solaris2.9/color_rain.o
> OBJ.sparc-sun-solaris2.9/color_ramp.o OBJ.sparc-sun-solaris2.9/color_rand.o OBJ.sparc-sun-solaris2.9/color_range.o OBJ.sparc-sun-solaris2.9/color_read.o
> OBJ.sparc-sun-solaris2.9/color_rule.o OBJ.sparc-sun-solaris2.9/color_rule_get.o OBJ.sparc-sun-solaris2.9/color_ryg.o OBJ.sparc-sun-solaris2.9/color_set.o
> OBJ.sparc-sun-solaris2.9/color_str.o OBJ.sparc-sun-solaris2.9/color_shift.o OBJ.sparc-sun-solaris2.9/color_wave.o OBJ.sparc-sun-solaris2.9/color_write.o
> OBJ.sparc-sun-solaris2.9/commas.o OBJ.sparc-sun-solaris2.9/copy.o OBJ.sparc-sun-solaris2.9/date.o OBJ.sparc-sun-solaris2.9/datum.o
> OBJ.sparc-sun-solaris2.9/debug.o OBJ.sparc-sun-solaris2.9/distance.o OBJ.sparc-sun-solaris2.9/done_msg.o OBJ.sparc-sun-solaris2.9/endian.o
> OBJ.sparc-sun-solaris2.9/env.o OBJ.sparc-sun-solaris2.9/error.o OBJ.sparc-sun-solaris2.9/file_name.o OBJ.sparc-sun-solaris2.9/find_cell.o
> OBJ.sparc-sun-solaris2.9/find_file.o OBJ.sparc-sun-solaris2.9/find_vect.o OBJ.sparc-sun-solaris2.9/flate.o OBJ.sparc-sun-solaris2.9/fork.o
> OBJ.sparc-sun-solaris2.9/format.o OBJ.sparc-sun-solaris2.9/fpreclass.o OBJ.sparc-sun-solaris2.9/geo_init.o OBJ.sparc-sun-solaris2.9/geodesic.o
> OBJ.sparc-sun-solaris2.9/geodist.o OBJ.sparc-sun-solaris2.9/get_cellhd.o OBJ.sparc-sun-solaris2.9/get_datum.o OBJ.sparc-sun-solaris2.9/get_datum_name.o
> OBJ.sparc-sun-solaris2.9/get_ellipse.o OBJ.sparc-sun-solaris2.9/get_ell_name.o OBJ.sparc-sun-solaris2.9/get_projname.o OBJ.sparc-sun-solaris2.9/get_projinfo.o
> OBJ.sparc-sun-solaris2.9/get_row.o OBJ.sparc-sun-solaris2.9/get_row_colr.o OBJ.sparc-sun-solaris2.9/get_window.o OBJ.sparc-sun-solaris2.9/getl.o
> OBJ.sparc-sun-solaris2.9/gets.o OBJ.sparc-sun-solaris2.9/gisbase.o OBJ.sparc-sun-solaris2.9/gisdbase.o OBJ.sparc-sun-solaris2.9/gishelp.o
> OBJ.sparc-sun-solaris2.9/gisinit.o OBJ.sparc-sun-solaris2.9/histo_eq.o OBJ.sparc-sun-solaris2.9/histogram.o OBJ.sparc-sun-solaris2.9/history.o
> OBJ.sparc-sun-solaris2.9/home.o OBJ.sparc-sun-solaris2.9/icon.o OBJ.sparc-sun-solaris2.9/index.o OBJ.sparc-sun-solaris2.9/init_map.o
> OBJ.sparc-sun-solaris2.9/intersect.o OBJ.sparc-sun-solaris2.9/intr_char.o OBJ.sparc-sun-solaris2.9/key_value1.o OBJ.sparc-sun-solaris2.9/key_value2.o
> OBJ.sparc-sun-solaris2.9/key_value3.o OBJ.sparc-sun-solaris2.9/key_value4.o OBJ.sparc-sun-solaris2.9/legal_name.o OBJ.sparc-sun-solaris2.9/list.o
> OBJ.sparc-sun-solaris2.9/line_dist.o OBJ.sparc-sun-solaris2.9/ll_format.o OBJ.sparc-sun-solaris2.9/ll_scan.o OBJ.sparc-sun-solaris2.9/locale.o
> OBJ.sparc-sun-solaris2.9/location.o OBJ.sparc-sun-solaris2.9/mach_name.o OBJ.sparc-sun-solaris2.9/make_colr.o OBJ.sparc-sun-solaris2.9/make_loc.o
> OBJ.sparc-sun-solaris2.9/mapcase.o OBJ.sparc-sun-solaris2.9/mapset.o OBJ.sparc-sun-solaris2.9/mapset_msc.o OBJ.sparc-sun-solaris2.9/mapset_nme.o
> OBJ.sparc-sun-solaris2.9/mask_info.o OBJ.sparc-sun-solaris2.9/maskfd.o OBJ.sparc-sun-solaris2.9/myname.o OBJ.sparc-sun-solaris2.9/named_colr.o
> OBJ.sparc-sun-solaris2.9/nme_in_mps.o OBJ.sparc-sun-solaris2.9/nl_to_spaces.o OBJ.sparc-sun-solaris2.9/null_val.o OBJ.sparc-sun-solaris2.9/open.o
> OBJ.sparc-sun-solaris2.9/opencell.o OBJ.sparc-sun-solaris2.9/parser.o OBJ.sparc-sun-solaris2.9/percent.o OBJ.sparc-sun-solaris2.9/plot.o
> OBJ.sparc-sun-solaris2.9/popen.o OBJ.sparc-sun-solaris2.9/pole_in_poly.o OBJ.sparc-sun-solaris2.9/progrm_nme.o OBJ.sparc-sun-solaris2.9/proj1.o
> OBJ.sparc-sun-solaris2.9/proj2.o OBJ.sparc-sun-solaris2.9/proj3.o OBJ.sparc-sun-solaris2.9/put_cellhd.o OBJ.sparc-sun-solaris2.9/put_row.o
> OBJ.sparc-sun-solaris2.9/put_title.o OBJ.sparc-sun-solaris2.9/put_window.o OBJ.sparc-sun-solaris2.9/putenv.o OBJ.sparc-sun-solaris2.9/quant.o
> OBJ.sparc-sun-solaris2.9/quant_io.o OBJ.sparc-sun-solaris2.9/quant_rw.o OBJ.sparc-sun-solaris2.9/radii.o OBJ.sparc-sun-solaris2.9/range.o
> OBJ.sparc-sun-solaris2.9/raster.o OBJ.sparc-sun-solaris2.9/rd_cellhd.o OBJ.sparc-sun-solaris2.9/reclass.o OBJ.sparc-sun-solaris2.9/remove.o
> OBJ.sparc-sun-solaris2.9/rename.o OBJ.sparc-sun-solaris2.9/rhumbline.o OBJ.sparc-sun-solaris2.9/rm_colr.o OBJ.sparc-sun-solaris2.9/set_prior.o
> OBJ.sparc-sun-solaris2.9/set_window.o OBJ.sparc-sun-solaris2.9/short_way.o OBJ.sparc-sun-solaris2.9/sites.o OBJ.sparc-sun-solaris2.9/sleep.o
> OBJ.sparc-sun-solaris2.9/spawn.o OBJ.sparc-sun-solaris2.9/squeeze.o OBJ.sparc-sun-solaris2.9/store.o OBJ.sparc-sun-solaris2.9/strings.o
> OBJ.sparc-sun-solaris2.9/strip.o OBJ.sparc-sun-solaris2.9/system.o OBJ.sparc-sun-solaris2.9/tempfile.o OBJ.sparc-sun-solaris2.9/timestamp.o
> OBJ.sparc-sun-solaris2.9/token.o OBJ.sparc-sun-solaris2.9/wind_2_box.o OBJ.sparc-sun-solaris2.9/trim_dec.o OBJ.sparc-sun-solaris2.9/unctrl.o
> OBJ.sparc-sun-solaris2.9/unix_socks.o OBJ.sparc-sun-solaris2.9/version.o OBJ.sparc-sun-solaris2.9/view.o OBJ.sparc-sun-solaris2.9/whoami.o
> OBJ.sparc-sun-solaris2.9/wind_format.o OBJ.sparc-sun-solaris2.9/wind_limits.o OBJ.sparc-sun-solaris2.9/wind_overlap.o OBJ.sparc-sun-solaris2.9/wind_scan.o
> OBJ.sparc-sun-solaris2.9/window_map.o OBJ.sparc-sun-solaris2.9/wr_cellhd.o OBJ.sparc-sun-solaris2.9/writ_zeros.o OBJ.sparc-sun-solaris2.9/yes.o
> OBJ.sparc-sun-solaris2.9/zero.o OBJ.sparc-sun-solaris2.9/zero_cell.o OBJ.sparc-sun-solaris2.9/zone.o OBJ.sparc-sun-solaris2.9/G_dump.o -lnsl -lz
> -lgrass_datetime && ln -f -s libgrass_gis.6.0.1RC2.so /scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/lib/libgrass_gis.so
> Text relocation remains referenced
> against symbol offset in file
> <unknown> 0x40 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> <unknown> 0x4c /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> <unknown> 0x58 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> <unknown> 0x64 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> <unknown> 0x70 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> <unknown> 0x7c /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> <unknown> 0x88 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> <unknown> 0x94 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> <unknown> 0xa0 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> <unknown> 0xac /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> _tr_flush_block 0x1420 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> _tr_flush_block 0x14e4 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> _tr_flush_block 0x1560 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> _tr_flush_block 0x1654 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> _tr_flush_block 0x1a04 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> _tr_flush_block 0x1b5c /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> _tr_flush_block 0x1ecc /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> _tr_flush_block 0x1f98 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> _tr_init 0x4d0 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> inflate_codes 0xf2c /afs/isis/pkg/zlib-114/lib/libz.a(infblock.o)
> <unknown> 0x40 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> <unknown> 0x44 /afs/isis/pkg/zlib-114/lib/libz.a(deflate.o)
> ...
> ...
> ...
> ld: fatal: relocations remain against allocatable but non-writable sections
> make[2]: *** [/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/lib/libgrass_gis.6.0.1RC2.so] Error 1
>
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Thanks,
> Jun Liang
More information about the grass-user
mailing list