[GRASS5] trouble copiling 5.1

Moritz Lennert mlennert at club.worldonline.be
Thu Nov 28 10:04:05 EST 2002


Radim Blazek wrote:
> On Thursday 28 November 2002 03:35 pm, Moritz Lennert wrote:
> 
>>make[2]: *** No rule to make target `settings.tcl', needed by
>>`/home/mlennert/SRC/grass51/dist.i686-pc-linux-gnu/etc/v.digit/settings.tcl
>>'. Stop.
>>
>>I actually don't have a settings.tcl, nor the incons directory also
>>mentioned in the Makefile. Is this a a problem in the
>>vector/v.digit/Makefile, or am I missing files (cvs update does not get
>>anything else) ?
> 
> 
> Sorry, I added  EXTRA_CFLAGS to my Makefile and commited the Makefile
> only and forgot that it is completely changed, no it is reverted to older
> version +  EXTRA_CFLAGS.
> 
> Radim
> 

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 `}


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

Moritz




More information about the grass-dev mailing list