[GRASS5] [bug #4021] (grass) error compiling r.le.setup in cvs

Request Tracker grass-bugs at intevation.de
Thu Jan 19 11:25:38 EST 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=4021
-------------------------------------------------------------------------

Subject: error compiling r.le.setup in cvs

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: CVS checked out at 20060119

compiled from CVS with the following configure line

CFLAGS="-O3 -mtune=pentium-m -Wall" LDFLAGS="-s" ./configure --with-tcltk-includes=/usr/include/tcl8.3 --with-postgres-includes=/usr/include/postgresql --with-sqlite --with-cxx --with-fftw --with-freetype-includes=/usr/includes/freetype2/

after make:

Generating HTML manual pages index (help system)...
Generated HTML docs in ../dist.i686-pc-linux-gnu/docs/html/index.html
----------------------------------------------------------------------
Following modules are missing the 'description.html' file in src code:
g.pnmcomp
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: gio gen 19 16:56:41 CET 2006
--
Errors in:
/home/steko/src/grass6/raster/r.le/r.le.setup
--
Finished compilation: gio gen 19 17:13:48 CET 2006
(In case of errors please change into the directory with error and run 'make')


then I followed the instructions but the make in the subdir didn't go well:

steko at cycnus:~/src/grass6/raster/r.le/r.le.setup$ make
Makefile:16: warning: overriding commands for target `clean'
../../../include/Make/Rules.make:34: warning: ignoring old commands for target `clean'
gcc -I/home/steko/src/grass6/include -I/home/steko/src/grass6/dist.i686-pc-linux-gnu/include/grass  -O3 -mtune=pentium-m -Wall  -Wall -Wconversion -Wno-implicit-int   -I/usr/local/include     -DPACKAGE=\""grassmods"\"  -I/home/steko/src/grass6/include -I/home/steko/src/grass6/dist.i686-pc-linux-gnu/include/grass \
        -o OBJ.i686-pc-linux-gnu/sample.o -c sample.c
sample.c: In function ‘sample’:
sample.c:39: warning: unused variable ‘btn’
sample.c: In function ‘man_unit’:
sample.c:554: warning: passing argument 1 of ‘G_calloc’ as unsigned due to prototype
sample.c:555: warning: passing argument 1 of ‘G_calloc’ as unsigned due to prototype
sample.c:121: warning: unused variable ‘wind’
sample.c:120: warning: unused variable ‘sites_mapset’
sample.c:117: warning: unused variable ‘au_l’
sample.c:117: warning: unused variable ‘au_w’
sample.c:117: warning: unused variable ‘ab’
sample.c:117: warning: unused variable ‘at’
sample.c:117: warning: unused variable ‘ar’
sample.c:117: warning: unused variable ‘al’
sample.c:115: warning: unused variable ‘itmp’
sample.c:114: warning: unused variable ‘randflag’
sample.c:114: warning: unused variable ‘t0’
sample.c:114: warning: unused variable ‘l0’
sample.c:113: warning: unused variable ‘dy’
sample.c:113: warning: unused variable ‘dx’
sample.c: In function ‘draw_grid’:
sample.c:653: warning: unused variable ‘tmp’
sample.c:653: warning: unused variable ‘itmp’
sample.c:653: warning: unused variable ‘k’
sample.c: In function ‘calc_unit_loc’:
sample.c:821: warning: suggest parentheses around assignment used as truth value
sample.c:730: warning: unused variable ‘tmp’
sample.c:729: warning: unused variable ‘k’
sample.c:727: warning: unused variable ‘region’
sample.c: In function ‘graph_unit’:
sample.c:1052: warning: unused variable ‘tmpl’
sample.c:1052: warning: unused variable ‘tmpw’
sample.c: In function ‘draw_circle’:
sample.c:1487: warning: unused variable ‘yr’
sample.c:1487: warning: unused variable ‘x2’
sample.c: In function ‘numtrap’:
sample.c:1537: warning: unused variable ‘j’
sample.c: In function ‘calc_num’:
sample.c:1013: warning: ‘max’ may be used uninitialized in this function
sample.c: In function ‘calc_unit_loc’:
sample.c:865: internal compiler error: in fold_convert, at fold-const.c:1922
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
make: *** [OBJ.i686-pc-linux-gnu/sample.o] Error 1
steko at cycnus:~/src/grass6/raster/r.le/r.le.setup$

HTH, regards

Stefano

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list