AW: [postgis-users] PostGIS 0.7 another compilation error

Düster Horst Horst.Duester at bd.so.ch
Tue May 7 04:13:58 PDT 2002


With USE_PG72=1 you are able to compile.

Horst

-----Ursprüngliche Nachricht-----
Von: Oliver Heimann [mailto:Oliver.Heimann at vodafone.de]
Gesendet am: Dienstag, 7. Mai 2002 08:33
An: postgis
Betreff: [postgis-users] PostGIS 0.7 another compilation error

Hi,

i also tried to compile PostGIS 0.7 against PostgreSQL 7.2 and 7.2.1 but
i got errors too.
I tried to compile it under SuSE Linux 8.0 and Sun Solaris 8.

When i compile PostGIS 0.7 against PostgreSQL 7.1.3 (USE_PG72=0) all
works fine.

It seems to be a problem with GIST.?


Greetings

Oliver



####################
Solaris 8 (SPARC)
PostgreSQL 7.2
USE_PG72=1
####################

gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -fPIC -g  -I.
-I../../src/include  -DFRONTEND
-DSYSCONFDIR='"/export/free/uopt/postgresql/aktuell/etc"'   -c -o
postgis_gist_72.o postgis_gist_72.c
postgis_gist_72.c:189: warning: no previous prototype for
`rtree_decompress'
postgis_gist_72.c: In function `gbox_picksplit':
postgis_gist_72.c:370: `pos' undeclared (first use in this function)
postgis_gist_72.c:370: (Each undeclared identifier is reported only once
postgis_gist_72.c:370: for each function it appears in.)
postgis_gist_72.c:370: stray '\' in program
postgis_gist_72.c:371: `unionD' undeclared (first use in this function)
postgis_gist_72.c:371: stray '\' in program
postgis_gist_72.c:372: stray '\' in program
postgis_gist_72.c:373: stray '\' in program
postgis_gist_72.c:374: stray '\' in program
postgis_gist_72.c:375: stray '\' in program
postgis_gist_72.c:376: stray '\' in program
postgis_gist_72.c:377: stray '\' in program
postgis_gist_72.c:378: `list' undeclared (first use in this function)
postgis_gist_72.c:378: stray '\' in program
postgis_gist_72.c:379: stray '\' in program
postgis_gist_72.c:286: warning: unused variable `direction'
postgis_gist_72.c:380: warning: control reaches end of non-void function
postgis_gist_72.c: At top level:
postgis_gist_72.c:380: parse error before `while'
postgis_gist_72.c:382: warning: type defaults to `int' in declaration of
`i'
postgis_gist_72.c:382: initializer element is not constant
postgis_gist_72.c:382: parse error before `)'
postgis_gist_72.c:386: stray '\' in program
postgis_gist_72.c:388: stray '\' in program
postgis_gist_72.c:390: stray '\' in program
postgis_gist_72.c:392: stray '\' in program
postgis_gist_72.c:407: `unionB' undeclared here (not in a function)
postgis_gist_72.c:408: `unionT' undeclared here (not in a function)
postgis_gist_72.c:408: initializer element is not constant
postgis_gist_72.c:412: warning: type defaults to `int' in declaration of
`sizeLR'
postgis_gist_72.c:412: conflicting types for `sizeLR'
postgis_gist_72.c:409: previous declaration of `sizeLR'
postgis_gist_72.c:412: `interLR' undeclared here (not in a function)
postgis_gist_72.c:412: initializer element is not constant
postgis_gist_72.c:412: warning: data definition has no type or storage
class
postgis_gist_72.c:413: warning: type defaults to `int' in declaration of
`sizeBT'
postgis_gist_72.c:413: conflicting types for `sizeBT'
postgis_gist_72.c:410: previous declaration of `sizeBT'
postgis_gist_72.c:413: initializer element is not constant
postgis_gist_72.c:413: warning: data definition has no type or storage
class
postgis_gist_72.c:415: parse error before `if'
postgis_gist_72.c:424: warning: type defaults to `int' in declaration of
`pfree'
postgis_gist_72.c:424: warning: parameter names (without types) in
function declaration
postgis_gist_72.c:424: conflicting types for `pfree'
../../src/include/utils/palloc.h:52: previous declaration of `pfree'
postgis_gist_72.c:424: warning: data definition has no type or storage
class
postgis_gist_72.c:425: warning: type defaults to `int' in declaration of
`pfree'
postgis_gist_72.c:425: warning: parameter names (without types) in
function declaration
postgis_gist_72.c:425: warning: data definition has no type or storage
class
postgis_gist_72.c:426: warning: type defaults to `int' in declaration of
`pfree'
postgis_gist_72.c:426: warning: parameter names (without types) in
function declaration
postgis_gist_72.c:426: warning: data definition has no type or storage
class
postgis_gist_72.c:428: parse error before `->'
postgis_gist_72.c:438: warning: type defaults to `int' in declaration of
`pfree'
postgis_gist_72.c:438: warning: parameter names (without types) in
function declaration
postgis_gist_72.c:438: warning: data definition has no type or storage
class
postgis_gist_72.c:439: warning: type defaults to `int' in declaration of
`pfree'
postgis_gist_72.c:439: warning: parameter names (without types) in
function declaration
postgis_gist_72.c:439: warning: data definition has no type or storage
class
postgis_gist_72.c:440: warning: type defaults to `int' in declaration of
`pfree'
postgis_gist_72.c:440: warning: parameter names (without types) in
function declaration
postgis_gist_72.c:440: warning: data definition has no type or storage
class
postgis_gist_72.c:442: parse error before `->'
postgis_gist_72.c:482: warning: `gbox_leaf_consistent' defined but not
used
gmake: *** [postgis_gist_72.o] Error 1

_______________________________________________
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