On Thu, 18 Aug 2022 10:13:43 -0700 (PDT), Caiden Kehrer wrote:
> So I have done ./configure which seemed to make it through with no
> issues.
>
> However, when I run make I get this error.
> rl2auxgeom.c:861:24: error: 'GAIA_TINYPOINT_LITTLE_ENDIAN' undeclared
>
Hi Caiden,
I've just tested it on both Fedora and Debian and it builds nicely
without any error.
going in further depth:
the constant GAIA_TINYPOINT_LITTLE_ENDIAN is defined into the
"gg_const.h" header of libspatialite, and if you look at the
very beginning of the "rl2auxgeom.c" source you'll find this
declaration:
#include <spatialite/gg_const.h>
from your error log I dont't see any complaints about missing
"gg_cost.h", so I presume that it exists but it's not the
latest version.
> I ran make clean and then re-ran make -j8 and still get the above
> error.
>
"make clean" simply cleans all the objects files (*.o) and alike
(static and dynamic libraries, binary executables).
in order to completely clean the configuration including any
Makefile you should use instead "make distclean" first and
then re-run again "./configure"
a more general approach: try the following command from the
shell (possibly with root permissions):
find / -name gg_const.h -print
so to check if there are multiple copies of the header file
causing unwanted interferences.
bye Sandro