[GRASS5] Problem compiling Grass51

Paul Kelly paul-grass at stjohnspoint.co.uk
Wed Apr 30 11:16:11 EDT 2003


On Wed, 30 Apr 2003, Radim Blazek wrote:

> On Wednesday 30 April 2003 03:41 pm, Paul Kelly wrote:
> > 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);
>
> Sorry, hopefully fixed in CVS now
>
> Radim

Right, here's the next one

make[3]: Entering directory `/indigo-disk2/grass/grass51/db/drivers/dbf'
cc -I/indigo-disk2/grass/doom.ee.qub.ac.uk/include -fullwarn -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/dbfexe.o -c dbfexe.c
cfe: Warning 835: dbfexe.c, line 53: No prototype for the call to yyparse
     if (yyparse() != 0) {
 ---------------^
To achieve better type-checking, there should be a full prototype for
the function being called.
cfe: Error: dbfexe.c, line 448: This expression is not an lvalue.
            (double) condition = dleval + dreval;
        -----------------------^
cfe: Error: dbfexe.c, line 451: This expression is not an lvalue.
            (double) condition = dleval - dreval;
        -----------------------^
cfe: Error: dbfexe.c, line 454: This expression is not an lvalue.
            (double) condition = dleval * dreval;
        -----------------------^
cfe: Error: dbfexe.c, line 457: This expression is not an lvalue.
            if (dreval != 0.0) (double) condition = dleval / dreval;
        ------------------------------------------^
make[3]: *** [OBJ.mips-sgi-irix6.2/dbfexe.o] Error 1
make[3]: Leaving directory `/indigo-disk2/grass/grass51/db/drivers/dbf'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/indigo-disk2/grass/grass51/db/drivers'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/indigo-disk2/grass/grass51/db'
make: *** [default] Error 1





More information about the grass-dev mailing list