[postgis-users] postgis support for 7.4 betas
Mike Leahy
mgleahy at fes.uwaterloo.ca
Thu Sep 25 13:15:05 PDT 2003
If it's the same problem I had, then open cost.h in the PostgreSQL source,
and change the following line:
extern double cpu_index_tuple_cost;
to:
extern DLLIMPORT double cpu_index_tuple_cost;
Then run 'make clean' before you re-make PostgreSQL/PostGIS.
Mike
-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Jeff
Hoffmann
Sent: September 25, 2003 4:09 PM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] postgis support for 7.4 betas
Is there any version of PostGIS that supports PostgreSQL 7.4? I tried
to compile version 0.7.5 against beta3, but it gave me the following
error compiling postgis_estimate.c:
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -g
-I/usr/local/include -I. -I../../src/include -DFRONTEND
-DSYSCONFDIR='"/usr/local/pgsql/etc"' -DUSE_PROJ -DUSE_VERSION=73
-DUSE_STATS -c -o postgis_estimate.o postgis_estimate.c
postgis_estimate.c: In function `get_restriction_var':
postgis_estimate.c:543: warning: assignment from incompatible pointer type
postgis_estimate.c:545: warning: assignment from incompatible pointer type
postgis_estimate.c: In function `genericcostestimate2':
postgis_estimate.c:752: structure has no member named `elem'
postgis_estimate.c:752: too few arguments to function
`clauselist_selectivity'
postgis_estimate.c:810: warning: passing arg 1 of `cost_qual_eval' from
incompatible pointer type
postgis_estimate.c:810: too few arguments to function `cost_qual_eval'
postgis_estimate.c:810: void value not ignored as it ought to be
make: *** [postgis_estimate.o] Error 1
I would assume this means some of the functions changed from 7.3 to 7.4.
--
Jeff Hoffmann
PropertyKey.com
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list