[GRASS5] [bug #2415] (grass) GISGEN failure at STEP: src/raster/r.mapcalc3

Glynn Clements glynn.clements at virgin.net
Wed May 19 18:53:45 EDT 2004


Request Tracker wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=2415
> -------------------------------------------------------------------------
> 
> Subject: GISGEN failure at STEP: src/raster/r.mapcalc3
> 
> Platform: other
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 2004_05_15
> 
> It's impossible to build new r.mapcalc3 module. This is the error:
> 
> **********************************************************
> .....
> gcc -L/grass53_exp_2004_05_15/src/libes/LIB.powerpc-apple-darwin6.8 -prebind  -L/usr/X11R6/lib -L/usr/local/grasslib/lib -o /Volumes/APPLI/src/grass53_exp_2004_05_15/dist.powerpc-apple-darwin6.8/etc/bin/cmd/r3.mapcalc OBJ.powerpc-apple-darwin6.8/y.tab.o OBJ.powerpc-apple-darwin6.8/lex.yy.o OBJ.powerpc-apple-darwin6.8/evaluate.o OBJ.powerpc-apple-darwin6.8/expression.o OBJ.powerpc-apple-darwin6.8/function.o OBJ.powerpc-apple-darwin6.8/check.o OBJ.powerpc-apple-darwin6.8/main.o OBJ.powerpc-apple-darwin6.8/xabs.o OBJ.powerpc-apple-darwin6.8/xadd.o OBJ.powerpc-apple-darwin6.8/xand.o OBJ.powerpc-apple-darwin6.8/xatan.o OBJ.powerpc-apple-darwin6.8/xcos.o OBJ.powerpc-apple-darwin6.8/xdiv.o OBJ.powerpc-apple-darwin6.8/xdouble.o OBJ.powerpc-apple-darwin6.8/xeq.o OBJ.powerpc-apple-darwin6.8/xeval.o OBJ.powerpc-apple-darwin6.8/xexp.o OBJ.powerpc-apple-darwin6.8/xfloat.o OBJ.powerpc-apple-darwin6.8/xge.o OBJ.powerpc-apple-darwin6.8/xgraph.o OBJ.powerpc-apple-darwin6.8/xgt.o OBJ.powerpc-a
>  pple-darwin6.8/xif.o OBJ.powerpc-apple-darwin6.8/xint.o OBJ.powerpc-apple-darwin6.8/xisnull.o OBJ.powerpc-apple-darwin6.8/xle.o OBJ.powerpc-apple-darwin6.8/xlog.o OBJ.powerpc-apple-darwin6.8/xlt.o OBJ.powerpc-apple-darwin6.8/xmax.o OBJ.powerpc-apple-darwin6.8/xmedian.o OBJ.powerpc-apple-darwin6.8/xmin.o OBJ.powerpc-apple-darwin6.8/xmod.o OBJ.powerpc-apple-darwin6.8/xmode.o OBJ.powerpc-apple-darwin6.8/xmul.o OBJ.powerpc-apple-darwin6.8/xne.o OBJ.powerpc-apple-darwin6.8/xneg.o OBJ.powerpc-apple-darwin6.8/xnot.o OBJ.powerpc-apple-darwin6.8/xnull.o OBJ.powerpc-apple-darwin6.8/xor.o OBJ.powerpc-apple-darwin6.8/xpow.o OBJ.powerpc-apple-darwin6.8/xrand.o OBJ.powerpc-apple-darwin6.8/xround.o OBJ.powerpc-apple-darwin6.8/xrowcol.o OBJ.powerpc-apple-darwin6.8/xsin.o OBJ.powerpc-apple-darwin6.8/xsqrt.o OBJ.powerpc-apple-darwin6.8/xsub.o OBJ.powerpc-apple-darwin6.8/xtan.o OBJ.powerpc-apple-darwin6.8/map3.o OBJ.powerpc-apple-darwin6.8/xcoor3.o OBJ.powerpc-apple-darwin6.8/xres3.o -lgis  -l
>  intl -lbtree -lg3d -L/usr/local/grasslib/lib -lreadline  -lhistory   -lz 
> ld: warning prebinding disabled because dependent library: /usr/local/grasslib/lib/libintl.1.dylib is not prebound
> ld: Undefined symbols:
> _G__write_colors
> _G_make_rainbow_fp_colors
> _G_mark_colors_as_fp
> _G_read_colors
> _G_define_option

The ordering of the libraries is wrong in the Gmakefile; $(GISLIB)
must come after $(G3DLIB).

-LIBES3 = $(GISLIB) $(BTREELIB) $(G3DLIB) $(READLINELIBPATH) $(READLINELIB) $(HISTORYLIB)
+LIBES3 = $(G3DLIB) $(GISLIB) $(BTREELIB) $(READLINELIBPATH) $(READLINELIB) $(HISTORYLIB)

Fixed in CVS.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list