On Wed, Mar 13, 2013 at 12:14 PM, Margherita Di Leo <[email protected]> wrote: > Hi devs, > > I was checking the status of the availability of addons [1] and I am > surprised to find out that some addons compile on windows but not on linux > (GRASS 6), I'm talking about some r.stream.*, particularly r.stream.stats, > which is a dependency of r.basin. Checking the log [2] it seems a problem in > the variable declaration,
Yes, it was not done in a way satisfying current gcc compiler versions: ... /home/neteler/grass-addons/grass6/raster/r.stream.stats/print_stats.c:8: multiple definition of `fifo_outlet' OBJ.x86_64-unknown-linux-gnu/io.o:/home/neteler/grass-addons/grass6/raster/r.stream.stats/io.c:5: first defined here OBJ.x86_64-unknown-linux-gnu/print_stats.o: In function `print_stats': /home/neteler/grass-addons/grass6/raster/r.stream.stats/print_stats.c:8: multiple definition of `tail' OBJ.x86_64-unknown-linux-gnu/io.o:/home/neteler/grass-addons/grass6/raster/r.stream.stats/io.c:5: first defined here OBJ.x86_64-unknown-linux-gnu/print_stats.o: In function `print_stats': /home/neteler/grass-addons/grass6/raster/r.stream.stats/print_stats.c:12: multiple definition of `head' OBJ.x86_64-unknown-linux-gnu/io.o:/home/neteler/grass-addons/grass6/raster/r.stream.stats/io.c:5: first defined here OBJ.x86_64-unknown-linux-gnu/print_stats.o: In function `print_stats': ... The author(s) or a volunteer needs to fix that. My last attempts were suboptimal, not really my domain :-) Markus _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
