[postgis-users] Compile errors with the latest SVN
Michael Fuhr
mike at fuhr.org
Sat Sep 9 17:09:12 PDT 2006
On Sat, Sep 09, 2006 at 05:44:36PM -0600, Bruce Rindahl wrote:
> I grabbed the latest SVN of PostGIS. I ran configure under MINGW with no
> errors. I then ran make and received the following errors:
> make -C lwgeom
> make[1]: Entering directory
> `/home/Bruce/pgsql/contrib/postgis-svn/trunk/lwgeom'
> gcc -DUSE_VERSION=82 -DPOSTGIS_LIB_VERSION='"1.1.4CVS"'
What version(s) of PostgreSQL do you have installed? What does
"pg_config --version" show? I wonder if Makefile.config couldn't
figure out what version you have and thus set USE_VERSION=82 after
failing all other version tests.
> lwgeom_gist.c:552:10: macro "gistentryinit" requires 7 arguments, but only 6
> given
This error suggests that your PostgreSQL header files are from a
version earlier than 8.2 (which is still in development). The
offending code in lwgeom_gist.c passes six arguments to gistentryinit()
if USE_VERSION >= 82 and seven arguments otherwise, so we have to
figure out why USE_VERSION is set to 82 if you really have an earlier
version.
--
Michael Fuhr
More information about the postgis-users
mailing list