[GRASS5] trouble copiling 5.1

Radim Blazek blazek at itc.it
Thu Nov 28 10:21:19 EST 2002


On Thursday 28 November 2002 04:04 pm, Moritz Lennert wrote:
> Now I get two more errors:
>
> 1) a simple typo (missing ;):
>
> make[2]: Entering directory `/home/mlennert/SRC/grass51/vector/v.mapcalc'
> gcc -O2 -Wall -Werror -rdynamic -o mapcalc.o -c mapcalc.c
> bison -d v.mapcalc.y
> gcc -O2 -Wall -Werror -rdynamic -o yylex.o -c yylex.c
> gcc -O2 -Wall -Werror -rdynamic -o v.mapcalc.o -c v.mapcalc.tab.c
> v.mapcalc.y: In function `yyparse':
> v.mapcalc.y:72: parse error before `}

v.mapcalc does almost nothing now, so I removed it from vector/Makefile.

> 2) I don"t know how to fix this:
>
> OBJ.i686-pc-linux-gnu/query_postgr.o(.text+0x17d): In function
> `query_postgr':
> /home/mlennert/SRC/grass51/visualization/nviz/src/query_postgr.c:59:
> undefined reference to `runInfxQry'
> OBJ.i686-pc-linux-gnu/query_postgr.o(.text+0x2c8): In function
> `query_pg_site':
> /home/mlennert/SRC/grass51/visualization/nviz/src/query_postgr.c:102:
> undefined reference to `runqry'
> collect2: ld returned 1 exit status

I don't know.

Radim




More information about the grass-dev mailing list