[postgis-users] compile error

Hubert Fröhlich hubert.froehlich at bvv.bayern.de
Thu Oct 28 09:06:03 PDT 2004


Hi list,

I tried to compile postgis 0.9.0 with postgres 8.0 beta4 and geos 2.0.1 
(USE_GEOS=1) . I am working on a 2x Xeon box with SuSE Linux 8.1.

When compiling Postgis, I get the error:

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels 
-fno-strict-aliasing -g -fexceptions  -I. -DFRONTEND 
-DSYSCONFDIR='"/opt/verm80/etc/postgresql"'  -DUSE_VERSION=80 
-DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"' 
-I/opt/verm80/include -DUSE_GEOS -DUSE_STATS -fpic -I../../src/include 
-D_GNU_SOURCE  -I/opt/verm/include  -c -o postgis_estimate.o 
postgis_estimate.c
postgis_estimate.c: In function `build_histogram2d':
postgis_estimate.c:515: error: too few arguments to function 
`SPI_cursor_open'

Can anybody help me?

Thanks,
Hubert

-- 
-------------------------------------------------------------------------------
Dr.-Ing. Hubert Fröhlich			
Bezirksfinanzdirektion München 			
Alexandrastr. 3, D-80538 München, GERMANY
Tel. :+49 (0)89 / 2190 - 2980
Fax  :+49 (0)89 / 2190 - 2997
hubert dot froehlich at bvv dot bayern dot de




More information about the postgis-users mailing list