Hello all, after a full SVN of develbranch, I'm getting errors in r.drain:
- Errors in: /home/guano/pessoal/tmp_install/gis/grass6_devel/raster/r.drain -- In case of errors please change into the directory with error and run 'make'. If you get multiple errors, you need to deal with them in the order they appear in the error log. If you get an error building a library, you will also get errors from anything which uses the library. -- Finished compilation: Mon Apr 6 14:10:58 BRT 2009 make: *** [default] Error 1 guano[grass6_devel]$ cd raster/r.drain/ guano[r.drain]$ make gcc -I/home/guano/pessoal/tmp_install/gis/grass6_devel/dist.i686-pc-linux-gnu/include -mt une=nocona -minline-all-stringops -O2 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include/gdal -DPACKAGE=\""grassmods"\" -I/home/guano/pessoal/tmp_install/gis/grass6_devel/dist.i686 -pc-linux-gnu/include -o OBJ.i686-pc-linux-gnu/main.o -c main.c main.c: In function ‘main’: main.c:174: warning: format not a string literal and no format arguments main.c:178: warning: format not a string literal and no format arguments main.c:183: warning: format not a string literal and no format arguments main.c:204: warning: format not a string literal and no format arguments main.c:228: warning: format not a string literal and no format arguments main.c:242: warning: the address of ‘vect’ will always evaluate as ‘true’ main.c:251: warning: format not a string literal and no format arguments main.c:270: warning: format not a string literal and no format arguments main.c:291: warning: format not a string literal and no format arguments main.c:311: warning: format not a string literal and no format arguments main.c:323: warning: format not a string literal and no format arguments main.c:398: warning: format not a string literal and no format arguments main.c:103: warning: unused variable ‘vect_mapset’ main.c:379: warning: ignoring return value of ‘write’, declared with attribute warn_unused _result main.c:391: warning: ignoring return value of ‘write’, declared with attribute warn_unused _result main.c:497: warning: ignoring return value of ‘read’, declared with attribute warn_unused_ result main.c: In function ‘drain’: main.c:611: warning: ignoring return value of ‘read’, declared with attribute warn_unused_ result main.c: In function ‘drain_cost’: main.c:664: warning: unused variable ‘col’ main.c:664: warning: unused variable ‘row’ main.c:681: warning: ignoring return value of ‘read’, declared with attribute warn_unused_ result main.c: In function ‘main’: main.c:73: warning: ‘dir_mapset’ may be used uninitialized in this function main.c:84: warning: ‘dir_buf’ may be used uninitialized in this function main.c:74: warning: ‘tempfile3’ may be used uninitialized in this function main.c:66: warning: ‘dir_fd’ may be used uninitialized in this function In function ‘open’, inlined from ‘main’ at main.c:387: /usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribut e error: open with O_CREAT in second argument needs 3 arguments make: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1 guano[r.drain]$ any hints appreciated :) Carlos -- Carlos Henrique Grohmann - Geologist D.Sc. a.k.a. Guano - Linux User #89721 ResearcherID: A-9030-2008 carlos dot grohmann at gmail dot com http://www.igc.usp.br/pessoais/guano/ _________________ "Good morning, doctors. I have taken the liberty of removing Windows 95 from my hard drive." --The winning entry in a "What were HAL's first words" contest judged by 2001: A SPACE ODYSSEY creator Arthur C. Clarke Can’t stop the signal. _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user