[GRASS-user] LSMetrics - addon development

Markus Neteler neteler at osgeo.org
Thu Feb 15 08:57:47 PST 2018

On Thu, Feb 15, 2018 at 5:43 PM, Moritz Lennert
<mlennert at club.worldonline.be> wrote:
> On 12/02/18 18:01, Bernardo Santos wrote:
>> Regarding the comparison with the other GRASS tools, LSMetrics is
>> complementary to many of the functions the r.li suite offers. I still could
>> not test r.pi since I had some trouble installing it, but I'll try it again
>> so that I can compare both packages. I believe they are also somehow
>> complementary in many of the functions.
> Yes, r.pi installation is still an issue.

I have probably fixed it in r72243. Please try.

But: I get this compilation error (probably easy to fix but I have no
time right now):

[mneteler at oboe r.pi.library ]$ make MODULE_TOPDIR=~/software/grass74
gcc -shared -o /home/mneteler/software/grass74/dist.x86_64-pc-linux-gnu/lib/libgrass_rpi.7.4.1svn.so
-Wl,--no-undefined -Wl,-z,now -Wl,--export-dynamic
-Wl,-soname,libgrass_rpi.7.4.1svn.so OBJ.x86_64-pc-linux-gnu/draw.o
OBJ.x86_64-pc-linux-gnu/frag.o OBJ.x86_64-pc-linux-gnu/helpers.o
OBJ.x86_64-pc-linux-gnu/stat_method.o  -lgrass_gis.7.4.1svn -lm  -lm
OBJ.x86_64-pc-linux-gnu/draw.o: In function `draw_line':
undefined reference to `swap'
undefined reference to `swap'
undefined reference to `swap'
undefined reference to `swap'
collect2: error: ld returned 1 exit status
make: *** [/home/mneteler/software/grass74/include/Make/Shlib.make:10:
Error 1

Then g.extension will probably work with r.pi.


More information about the grass-user mailing list