[postgis-users] Complie Problems

A.J. Haigh C9803392 C9803392 at hud.ac.uk
Thu Apr 11 07:41:05 PDT 2002


I'm attempting to build postgis-0.6.2 on Solaris 2.6 with CC instead of gcc
because our version is out of date. It is not possible to upgrade our
version of gcc so i'd like to complie postgis with cc.

i'm doing:
setenv CC cc
gmake

And I get the following


xl5{c9803392}17: gmake
cc -Xa -v -KPIC -g  -I. -I../../src/include  -DFRONTEND
-DSYSCONFDIR='"/spare/c9803392/pgsql/etc"'  -c postgis_debug.c -o
postgis_debug.o
"postgis_debug.c", line 17: warning: invalid white space character in
directive
"postgis_debug.c", line 20: warning: invalid white space character in
directive
"postgis_debug.c", line 21: warning: invalid white space character in
directive
"postgis_debug.c", line 22: warning: invalid white space character in
directive
"postgis_debug.c", line 23: warning: invalid white space character in
directive
"postgis_debug.c", line 24: warning: invalid white space character in
directive
"postgis_debug.c", line 26: warning: invalid white space character in
directive
"postgis_debug.c", line 27: warning: invalid white space character in
directive
"postgis_debug.c", line 28: warning: invalid white space character in
directive
"postgis_debug.c", line 31: warning: invalid white space character in
directive
"postgis_debug.c", line 34: warning: invalid white space character in
directive
"./postgis.h", line 1: syntax error before or at: /
"./postgis.h", line 1: undefined or not a type: Geometric
"./postgis.h", line 1: undefined or not a type: types
"./postgis.h", line 2: undefined or not a type: Postgis
"./postgis.h", line 3: warning: old-style declaration or incorrect type for:
point3d
"./postgis.h", line 3: warning: old-style declaration or incorrect type for:
line3d
"./postgis.h", line 3: warning: old-style declaration or incorrect type for:
and
"./postgis.h", line 3: syntax error before or at: polygon3d
"./postgis.h", line 3: undefined or not a type: polygon3d
"./postgis.h", line 3: undefined or not a type: are
"./postgis.h", line 3: undefined or not a type: the
"./postgis.h", line 3: undefined or not a type: base
"./postgis.h", line 3: undefined or not a type: types
"./postgis.h", line 5: undefined or not a type: Everything
"./postgis.h", line 5: undefined or not a type: is
"./postgis.h", line 5: undefined or not a type: stored
"./postgis.h", line 5: undefined or not a type: in
"./postgis.h", line 5: undefined or not a type: a
"./postgis.h", line 5: warning: old-style declaration or incorrect type for:
geometry3d
"./postgis.h", line 5: warning: old-style declaration or incorrect type for:
which
"./postgis.h", line 5: syntax error before or at: is
"./postgis.h", line 5: undefined or not a type: is
"./postgis.h", line 5: undefined or not a type: just
"./postgis.h", line 5: undefined or not a type: a
"./postgis.h", line 6: undefined or not a type: conglomeration
"./postgis.h", line 6: undefined or not a type: of
"./postgis.h", line 6: undefined or not a type: the
"./postgis.h", line 6: undefined or not a type: base
"./postgis.h", line 6: syntax error before or at: a
"./postgis.h", line 6: warning: undefined or missing type for: a
"./postgis.h", line 6: identifier redefined: types
	current : function() returning int
	previous: function() returning int : "./postgis.h", line 3
"./postgis.h", line 10: warning: invalid white space character in directive
"../../src/include/utils/geo_decls.h", line 60: cannot recover from previous
errors
cc: acomp failed for postgis_debug.c
gmake: *** [postgis_debug.o] Error 2
xl5{c9803392}18:

Thanks in advance

Andrew




More information about the postgis-users mailing list