[postgis-users] postgis build problem

dkittler at customerportfolios.com dkittler at customerportfolios.com
Tue Apr 6 18:57:33 PDT 2004


i am building postgis (latest cvs tarball) on SuSE 9 professional with
postgres 7.4.2 and i am getting the following error when running 'make'.

postgis_transform.c:55:22: projects.h: No such file or directory
postgis_transform.c:58: error: parse error before '*' token
postgis_transform.c:58: warning: type defaults to `int' in declaration
of `make_project'
postgis_transform.c:58: warning: data definition has no type or storage
class
postgis_transform.c:62: error: parse error before '*' token
postgis_transform.c:67: error: parse error before '*' token
postgis_transform.c:70: warning: no previous prototype for
`pj_transform_nodatum'
postgis_transform.c: In function `pj_transform_nodatum':
postgis_transform.c:74: error: `pj_errno' undeclared (first use in this
function)
postgis_transform.c:74: error: (Each undeclared identifier is reported
only once
postgis_transform.c:74: error: for each function it appears in.)
postgis_transform.c:76: error: `point_offset' undeclared (first use in
this function)
postgis_transform.c:79: error: `srcdefn' undeclared (first use in this
function)
postgis_transform.c:81: error: `point_count' undeclared (first use in
this function)
postgis_transform.c:83: error: `XY' undeclared (first use in this
function)
postgis_transform.c:83: error: parse error before "projected_loc"
postgis_transform.c:84: error: `LP' undeclared (first use in this
function)
postgis_transform.c:86: error: `projected_loc' undeclared (first use in
this function)
postgis_transform.c:86: error: `x' undeclared (first use in this
function)
postgis_transform.c:87: error: `y' undeclared (first use in this
function)
postgis_transform.c:89: error: `geodetic_loc' undeclared (first use in
this function)
postgis_transform.c:89: warning: implicit declaration of function
`pj_inv'
postgis_transform.c:98: error: `dstdefn' undeclared (first use in this
function)
postgis_transform.c:102: error: parse error before "projected_loc"
postgis_transform.c:108: warning: implicit declaration of function
`pj_fwd'
postgis_transform.c: In function `to_rad':
postgis_transform.c:128: error: `PI' undeclared (first use in this
function)
postgis_transform.c: In function `to_dec':
postgis_transform.c:139: error: `PI' undeclared (first use in this
function)
postgis_transform.c: At top level:
postgis_transform.c:146: error: parse error before '*' token
postgis_transform.c:147: warning: return type defaults to `int'
postgis_transform.c: In function `make_project':
postgis_transform.c:152: error: `PJ' undeclared (first use in this
function)
postgis_transform.c:152: error: `result' undeclared (first use in this
function)
postgis_transform.c:182: warning: implicit declaration of function
`pj_init'
postgis_transform.c: In function `transform_geom':
postgis_transform.c:200: error: `PJ' undeclared (first use in this
function)
postgis_transform.c:200: error: `input_pj' undeclared (first use in this
function)
postgis_transform.c:200: error: `output_pj' undeclared (first use in
this function)
postgis_transform.c:200: warning: left-hand operand of comma expression
has no effect
postgis_transform.c:253: error: `pj_errno' undeclared (first use in this
function)
postgis_transform.c:264: warning: implicit declaration of function
`pj_free'
postgis_transform.c:290: warning: implicit declaration of function
`pj_transform'
postgis_transform.c:305: warning: implicit declaration of function
`pj_strerrno'
postgis_transform.c:305: warning: format argument is not a pointer (arg
4)
postgis_transform.c:346: warning: format argument is not a pointer (arg
4)
make: *** [postgis_transform.o] Error 1


any help on this matter is greatly appreciated.

-derrick




More information about the postgis-users mailing list