[GRASS5] Problem compiling Grass51
paul-grass at stjohnspoint.co.uk
Wed Apr 30 09:41:11 EDT 2003
On Wed, 30 Apr 2003, Markus Neteler wrote:
> On Wed, Apr 30, 2003 at 02:09:08PM +0100, Paul Kelly wrote:
> > On Wed, 30 Apr 2003, Radim Blazek wrote:
> > > Are there G_setenv2/G__getenv2 realy available in libgrass_gis.a
> > > (nm libgrass_gis.a)?
> > No they aren't there, and I can't find any definition for them in the
> > source code either, just several places where they are called.
> > Some output below:
> I assume that you are using env.c from 5.0 instead of the 5.1
> What does
> cvs up lib/gis/env.c
It said to move that file away, it is in the way. So that fixed it! CVS
wouldn't update while it was still linked to GRASS5 (from an old run of
make mix I suppose before there was a GRASS5.1 copy of the file).
cvs update -d -P
seems to have fixed it, thank you. I didn't know about make mixclean
And now for the next error....
make: Entering directory `/indigo-disk2/grass/grass51/lib/gis'
cc -I/indigo-disk2/grass/doom.ee.qub.ac.uk/include -g
-o OBJ.mips-sgi-irix6.2/debug.o -c debug.c
cfe: Error: debug.c, line 52: 'buffer' undefined; reoccurrences will not
fprintf (fd, "D%d/%d: %s\n", level, grass_debug_level, buffer);
make: *** [OBJ.mips-sgi-irix6.2/debug.o] Error 1
make: Leaving directory `/indigo-disk2/grass/grass51/lib/gis'
make: *** [subdirs] Error 1
make: Leaving directory `/indigo-disk2/grass/grass51/lib'
make: *** [default] Error 1
More information about the grass-dev