<div dir="ltr"><div>On Mon, Oct 5, 2015 at 3:44 AM, Martin Landa <<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>> wrote:<br>><br>> Hi,<br>><br>> 2015-10-05 9:41 GMT+02:00 Martin Landa <<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>>:<br>> > compilation was simply failing on build server (Debian stable):<br><br></div>It is working on Ubuntu and probably Fedora as well. Perhaps it is a local issue.<br><div><br>> ><br>> >> In file included from main.c:47:0:<br>> >> global.h:28:29: error: unknown type name ‘vec_struct’<br>> >> global.h:28:43: error: unknown type name ‘vec_struct’<br>> >> global.h:31:8: error: unknown type name ‘mat_struct’<br>> > ...<br>><br>> even GRASS is compiled with lapack and blas support. I checked config.h again:<br>><br>> /* define if LAPACK exists */<br>> #define HAVE_LIBLAPACK 1<br>><br>> /* define if BLAS exists */<br>> #define HAVE_LIBBLAS 1<br><br></div><div>Then la.h should be included in gmath.h. Including it in modules in a workaround, not the solution. There are three possible solutions:<br><br>1) remove la.h from gmath.h and declare that modules must include it (I don't see a reason for this)<br><br></div><div>2) change la.h include in gmath.h to something else; perhaps #if defined(...) && defined(...) is wrong (but I don't think so, seems to fit with the standard)<br></div><div><br></div><div>3) find out why it is different on that server and think about the proper fix afterwards (ideal)<br><br></div><div>I can't test it since I can't reproduce it.<br><br></div><div>Sorry for being -pedantic but I don't think we should leave the code messy.<br></div></div>