[GRASS5] Problem compiling Grass51

Paul Kelly 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
> version.
>
> 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).
So
make mixclean
cvs update -d -P
make mix
seems to have fixed it, thank you. I didn't know about make mixclean
before.

And now for the next error....

make[2]: Entering directory `/indigo-disk2/grass/grass51/lib/gis'
cc -I/indigo-disk2/grass/doom.ee.qub.ac.uk/include -g
-I/indigo-disk2/grass/doom.ee.qub.ac.uk/include
-I/indigo-disk2/grass/grass51/include
-I/indigo-disk2/grass/grass51/dist.mips-sgi-irix6.2/include
-I/indigo-disk2/grass/grass51/include
-I/indigo-disk2/grass/grass51/dist.mips-sgi-irix6.2/include \
        -o OBJ.mips-sgi-irix6.2/debug.o -c debug.c
cfe: Error: debug.c, line 52: 'buffer' undefined; reoccurrences will not
be reported.
        fprintf (fd, "D%d/%d: %s\n", level, grass_debug_level, buffer);
        -------------------------------------------------------^
make[2]: *** [OBJ.mips-sgi-irix6.2/debug.o] Error 1
make[2]: Leaving directory `/indigo-disk2/grass/grass51/lib/gis'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/indigo-disk2/grass/grass51/lib'
make: *** [default] Error 1







More information about the grass-dev mailing list