[GRASS-user] make.c error
Markus Metz
markus.metz.giswork at googlemail.com
Fri Dec 3 03:33:56 EST 2010
Chethan S wrote:
> Hello everyone!
>
> I use GRASS GIS 6.4.1 SVN version for my work. I keep the code in a
> directory inside my home directory. As I needed i.atcorr module I configured
> it with "with-cxx". I used the following configure script
>
> ./configure --with-tcltk-includes=/usr/include/tcl8.5
> --with-proj-share=/usr/share/proj --with-gdal=/usr/bin/gdal-config
> --with-cxx --enable-64bit --with-python=/usr/bin/python2.6-config
>
> However I got one error in the make process in d.rast module. Therefore, as
> instructed I changed to that directory and ran make command. Now I get the
> following bunch of errors.
>
> chethan at chethan-desktop:~/Applications/grass64_release/display/d.rast$ make
> gcc
> -I/home/chethan/Applications/grass64_release/dist.x86_64-unknown-linux-gnu/include
> -g -O2 -DPACKAGE=\""grassmods"\"
> -I/home/chethan/Applications/grass64_release/dist.x86_64-unknown-linux-gnu/include
> -o OBJ.x86_64-unknown-linux-gnu/main.o -c main.c
> main.c: In function ‘main’:
> main.c:89: error: ‘flag_n’ undeclared (first use in this function)
> main.c:89: error: (Each undeclared identifier is reported only once
> main.c:89: error: for each function it appears in.)
> make: *** [OBJ.x86_64-unknown-linux-gnu/main.o] Error 1
>
> I have no clue as to why these errors arise. What should I do now?
>
Fixed in r44531, update your local copy and compile again, that should
do the trick.
Markus M
More information about the grass-user
mailing list