[postgis-users] long list of error and warning messages at installation

Michael Mallete mrmallete at yahoo.com
Mon Aug 9 06:02:23 PDT 2004


i'm really sorry for my endless installation problems.
anyway, so i've installed my postgresql 7.4.3 from
source. the source tree is at /home/postgres. so it
was a successful installation. then i extracted the
postgis tarball at /home/postgres/contrib (which i
previously had a hard time understanding). so i go to
/home/postgres/contrib/postgis-0.8.2 then executed
make. after some gcc processes, here are some warnings
and errors i got:

.
.
(gcc something here...)
.
.
postgis_transform.c:58:22: projects.h: No such file or
directory
postgis_transform.c:61: error: syntax error before '*'
token
postgis_transform.c:61: warning: type defaults to
`int' in declaration of `make_project'
postgis_transform.c:61: warning: data definition has
no type or storage class
postgis_transform.c:65: error: syntax error before '*'
token
postgis_transform.c:70: error: syntax error before '*'
token
postgis_transform.c:73: warning: no previous prototype
for `pj_transform_nodatum'
postgis_transform.c: In function
`pj_transform_nodatum':
postgis_transform.c:77: error: `pj_errno' undeclared
(first use in this function)
postgis_transform.c:77: error: (Each undeclared
identifier is reported only once
postgis_transform.c:77: error: for each function it
appears in.)
postgis_transform.c:79: error: `point_offset'
undeclared (first use in this function)
postgis_transform.c:82: error: `srcdefn' undeclared
(first use in this function)
postgis_transform.c:84: error: `point_count'
undeclared (first use in this function)
postgis_transform.c:86: error: `XY' undeclared (first
use in this function)
postgis_transform.c:86: error: syntax error before
"projected_loc"
postgis_transform.c:87: error: `LP' undeclared (first
use in this function)
postgis_transform.c:89: error: `projected_loc'
undeclared (first use in this function)
postgis_transform.c:89: error: `x' undeclared (first
use in this function)
postgis_transform.c:90: error: `y' undeclared (first
use in this function)
postgis_transform.c:92: error: `geodetic_loc'
undeclared (first use in this function)
postgis_transform.c:92: warning: implicit declaration
of function `pj_inv'
postgis_transform.c:101: error: `dstdefn' undeclared
(first use in this function)
postgis_transform.c:105: error: syntax error before
"projected_loc"
postgis_transform.c:111: warning: implicit declaration
of function `pj_fwd'
postgis_transform.c: In function `to_rad':
postgis_transform.c:131: error: `PI' undeclared (first
use in this function)
postgis_transform.c: In function `to_dec':
postgis_transform.c:142: error: `PI' undeclared (first
use in this function)
postgis_transform.c: At top level:
postgis_transform.c:149: error: syntax error before
'*' token
postgis_transform.c:150: warning: return type defaults
to `int'
postgis_transform.c: In function `make_project':
postgis_transform.c:155: error: `PJ' undeclared (first
use in this function)
postgis_transform.c:155: error: `result' undeclared
(first use in this function)
postgis_transform.c:185: warning: implicit declaration
of function `pj_init'
postgis_transform.c: In function `transform_geom':
postgis_transform.c:203: error: `PJ' undeclared (first
use in this function)
postgis_transform.c:203: error: `input_pj' undeclared
(first use in this function)
postgis_transform.c:203: error: `output_pj' undeclared
(first use in this function)
postgis_transform.c:203: warning: left-hand operand of
comma expression has no effect
postgis_transform.c:256: error: `pj_errno' undeclared
(first use in this function)
postgis_transform.c:267: warning: implicit declaration
of function `pj_free'
postgis_transform.c:293: warning: implicit declaration
of function `pj_transform'
postgis_transform.c:308: warning: implicit declaration
of function `pj_strerrno'
postgis_transform.c:308: warning: format argument is
not a pointer (arg 4)
postgis_transform.c:349: warning: format argument is
not a pointer (arg 4)
make: *** [postgis_transform.o] Error 1

please help! thanx! :)

-Myk


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 



More information about the postgis-users mailing list