5.0beta4 compile error: d.area

Markus Neteler neteler at geog.uni-hannover.de
Wed Oct 27 11:19:42 EDT 1999


> Malcolm Williamson wrote:
> 
> > Any thoughts on the following? Compiled under Solaris2.6, gcc, Sun
> > Enterprise 5000.
> > Thanks,
> > /proj/grass4.1/grass5.0beta/src/libes/LIB.sparc-sun-solaris2.6/libgis.a
> > -lm
> > Undefined                       first referenced
> >  symbol                             in file
> > xdrmem_create
> > /proj/grass4.1/grass5.0beta/src/libes/LIB.sparc-sun-solaris2.6/libgis.a(opencell.o)
> > xdr_float
> > /proj/grass4.1/grass5.0beta/src/libes/LIB.sparc-sun-solaris2.6/libgis.a(init_map.o)
> > xdr_double
> > /proj/grass4.1/grass5.0beta/src/libes/LIB.sparc-sun-solaris2.6/libgis.a(range.o)
> > ld: fatal: Symbol referencing errors. No output written to
> > /proj/grass4.1/grass5.0/etc/bin/contrib/cmd/d.area
> > *** Error code 1
> > make: Fatal error: Command failed for target
> > `/proj/grass4.1/grass5.0/etc/bin/contrib/cmd/d.area'

Hi,

this is easy to fix (sorry, we missed it):

Gmakefile of d.area:

Change
LIBES     = $(DISPLAYLIB) $(RASTERLIB) $(VECTLIB) $(GISLIB)

to
LIBES     = $(DISPLAYLIB) $(RASTERLIB) $(VECTLIB) $(GISLIB) $(XDRLIB)

Then it should compile.

Greetings
  Markus



More information about the grass-user mailing list