Hi,<br><br><div class="gmail_quote">2009/9/1 Soeren Gebbert <span dir="ltr"><<a href="mailto:soerengebbert@googlemail.com">soerengebbert@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Hamish,<br><br><div class="gmail_quote">2009/9/1 Hamish <span dir="ltr"><<a href="mailto:hamish_b@yahoo.com" target="_blank">hamish_b@yahoo.com</a>></span><div class="im"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I get two errors compiling 6.5svn.<br>
<br>
The first is because lib/gmath G_math_solvps() fails to return anything<br>
when it should return int.<br>
<br>
I think I fixed it with r38939, but please check to see if that is correct.<br>
<a href="https://trac.osgeo.org/grass/changeset/38939" target="_blank">https://trac.osgeo.org/grass/changeset/38939</a></blockquote></div><div><br>Thanks, thats absolutely correct.<br></div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
The second is in lib/external/ccmath, eigen() is used but not declared.<br>
I suppose it needs to be added to lib/external/ccmath/ccmath_grass.h, ??<br>
</blockquote></div><div><br>I will have a look at it this evening. </div></div></blockquote><div><br>Hmmm, the files ccmath.h and ccmath_grass.h should be identical, but they aren't.<br>Sorry, i did not checked that .... there is still "debug" code present in ccmath_grass.h.<br>
The correct way would be to remove ccmath_grass.h from lib/external/ccmath and<br>copy the ccmath.h header file while compiling the library<br>to the dist include/grass directory naming the file ccmath_grass.h.<br><br>i.e.: <br>
Makefile change <br>$(ARCH_INCDIR)/ccmath_grass.h: ccmath_grass.h<br> $(INSTALL_DATA) ccmath_grass.h $(ARCH_INCDIR)/ccmath_grass.h<br>To <br><br>$(ARCH_INCDIR)/ccmath_grass.h: ccmath.h<br> $(INSTALL_DATA) ccmath.h $(ARCH_INCDIR)/ccmath_grass.h<br>
<br>I hope this will work.<br>I will check and test this in the next days, i have no GRASS SVN access at work<br>so i need to wait till evening to commit a fix. :/<br><br>cheers<br>Soeren<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote"><div><br></div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
This can be caught if you add -Werror-implicit-function-declaration to<br>
your CFLAGS.</blockquote></div><div><br>Oh, i forgot this. <br><br>Thanks,<br>Soeren<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
<br>
cheers,<br>
<font color="#888888">Hamish<br>
<br>
<br>
<br>
<br>
<br>
</font></blockquote></div><br>
</blockquote></div><br>