[GRASS-user] make.c error

Chethan S chethanuniversal at gmail.com
Thu Dec 2 23:55:05 EST 2010


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?

Regards,

Chethan S.

-- 
Chethan S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20101203/211ada34/attachment-0001.html


More information about the grass-user mailing list